@charset "UTF-8";
/* ════════════════════════════════════════════════════════════
   index.css — WilkyMatos
   Cobre todas as seções do index.html:
   Hero · Sobre · Projetos · Serviços · Contato
════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════
   1. HERO
════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 100px clamp(20px, 6vw, 80px) 60px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 65% at 60% 35%, rgba(139,0,0,0.45) 0%, transparent 68%),
    radial-gradient(ellipse 45% 45% at 15% 85%, rgba(139,0,0,0.22) 0%, transparent 60%),
    var(--black);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(185,28,28,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.hero__inner {
  position: relative;
  max-width: 860px;
  width: 100%;
  z-index: 1;
}

/* ── Visual flutuante no hero (desktop) ── */
.hero__visual {
  position: absolute;
  right: clamp(40px, 6vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  display: none;
}

@media (min-width: 1100px) {
  .hero__visual { display: block; }
  .hero__inner { max-width: 600px; }
}

.hero__visual-browser {
  width: 420px;
  background: var(--surface);
  border: 1px solid rgba(185,28,28,.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(185,28,28,.08),
    0 32px 80px rgba(0,0,0,.7),
    0 0 60px rgba(185,28,28,.12);
}
.hero__visual-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero__visual-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
}
.hero__visual-bar span:nth-child(1) { background: #ff5f57; }
.hero__visual-bar span:nth-child(2) { background: #febc2e; }
.hero__visual-bar span:nth-child(3) { background: #28c840; }
.hero__visual-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top;
  display: block;
  opacity: .9;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--red-soft);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
}
.hero__label::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--red-soft);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
}
.hero__title .highlight {
  color: var(--red-soft);
  position: relative;
  display: inline-block;
}
.hero__title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: var(--red-soft);
  opacity: .4;
  border-radius: 2px;
}

.hero__sub {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0;
}
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-soft);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid var(--red-soft);
  box-shadow: 0 0 28px rgba(185,28,28,.4);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.cta-primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 0 44px rgba(185,28,28,.6);
  transform: translateY(-2px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: transparent;
  transition: border-color .2s, background .2s, transform .15s;
}
.cta-secondary:hover {
  border-color: var(--border-red);
  background: rgba(185,28,28,0.05);
  transform: translateY(-2px);
}

.hero__stats {
  display: flex;
  align-items: center;
  margin-top: 40px;
  flex-wrap: nowrap;
  gap: 0;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid var(--border);
}
.hero__stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__stat-num span { color: var(--red-soft); }

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__tags {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.hero__tag {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-red);
  background: rgba(185,28,28,0.05);
  color: rgba(185,28,28,0.7);
  animation: floatTag 4s ease-in-out infinite;
}
.hero__tag:nth-child(2) { animation-delay: .6s; }
.hero__tag:nth-child(3) { animation-delay: 1.2s; }
.hero__tag:nth-child(4) { animation-delay: 1.8s; }

.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  z-index: 1;
}
.hero__scroll span {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--red-soft), transparent);
  animation: scrollPulse 2s 1.5s infinite;
}

/* ── Hero Mobile ── */
@media (max-width: 900px) {
  .hero { align-items: stretch; }
  .hero__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 64px;
    padding-bottom: 24px;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 0 20px;
    align-items: stretch;
    min-height: 100svh;
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 72px;
    padding-bottom: 24px;
    flex: 1;
  }
  .hero__label      { margin-bottom: 12px; font-size: .68rem; }
  .hero__title      { font-size: clamp(2.4rem, 11vw, 3rem); margin-bottom: 14px; line-height: 1.08; }
  .hero__sub        { font-size: .95rem; margin-bottom: 24px; line-height: 1.65; }
  .hero__ctas       { gap: 10px; margin-bottom: 0; }
  .cta-primary,
  .cta-secondary    { padding: 11px 18px; font-size: .86rem; }
  .hero__stats      { margin-top: 22px; flex-wrap: nowrap; }
  .hero__stat       { padding-right: 14px; margin-right: 14px; }
  .hero__stat-num   { font-size: 1.2rem; }
  .hero__stat-label { font-size: .54rem; }
  .hero__tags       { display: none; }
  .hero__scroll     { display: none; }
}

@media (min-width: 541px) and (max-width: 900px) {
  .hero { padding: 88px 32px 44px; }
  .hero__tags { display: none; }
  .hero__sub  { font-size: .95rem; }
  .hero__stats { margin-top: 30px; }
}


/* ════════════════════════════════════════════════════════════
   2. SOBRE
════════════════════════════════════════════════════════════ */
#sobre {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
#sobre::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,0,0,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.sobre-statement {
  max-width: 1100px;
  margin: 0 auto 64px;
}
.sobre-statement__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.sobre-statement__title em {
  font-style: italic;
  color: var(--red-soft);
}
.sobre-statement__sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

.sobre-main-grid {
  max-width: 1100px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* texto + botao lado a lado */
.sobre-text-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .sobre-text-row { grid-template-columns: 1fr; gap: 24px; }
}

.sobre-approach__text { margin-bottom: 32px; }
.sobre-approach__text p {
  font-size: 1rem;
  color: rgba(240,240,240,.78);
  line-height: 1.85;
  margin-bottom: 14px;
}
.sobre-approach__text p:last-child { margin-bottom: 0; }
.sobre-approach__text strong { color: var(--text); font-weight: 600; }

.sobre-diffs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .sobre-diffs { grid-template-columns: 1fr; }
}

.sobre-diff {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--red-soft);
  border-radius: 10px;
  transition: border-color .25s, background .25s, transform .2s;
}
.sobre-diff:hover {
  border-color: var(--border-red);
  border-left-color: var(--red-bright);
  background: rgba(185,28,28,0.04);
  transform: translateX(4px);
}
.sobre-diff__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.sobre-diff__text { display: flex; flex-direction: column; gap: 3px; }
.sobre-diff__text strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  display: block;
}
.sobre-diff__text span {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}

.sobre-cta {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-shrink: 0;
}
.sobre-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 32px;
  border-radius: 100px;
  border: 1px solid rgba(185,28,28,.35);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, color .3s, box-shadow .3s, transform .3s;
}
.sobre-cta__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  z-index: 0;
}
.sobre-cta__btn:hover::before { transform: scaleX(1); }
.sobre-cta__btn:hover {
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 36px rgba(185,28,28,.3), 0 8px 24px rgba(0,0,0,.4);
  transform: translateY(-2px);
}
.sobre-cta__btn-text { position: relative; z-index: 1; }
.sobre-cta__btn-arrow {
  position: relative;
  z-index: 1;
  font-style: normal;
  display: inline-block;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.sobre-cta__btn:hover .sobre-cta__btn-arrow { transform: translateX(5px); }

@media (max-width: 640px) {
  .sobre-statement__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .sobre-cta { justify-content: flex-start; }
  .sobre-cta__btn { width: 100%; justify-content: center; }
}


/* ════════════════════════════════════════════════════════════
   3. PROJETOS — Carrossel
════════════════════════════════════════════════════════════ */
#projetos {
  background: var(--black);
  position: relative;
}
#projetos::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185,28,28,.4), transparent);
}

.projetos-carousel {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

.projetos-grid {
  display: flex;
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.projetos-grid:active { cursor: grabbing; }

.projeto-card {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, box-shadow .3s;
  position: relative;
}
.projeto-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-soft), transparent);
  opacity: 0.25;
  transition: opacity .3s;
}
.projeto-card:hover::before { opacity: 1; }
.projeto-card:hover {
  border-color: var(--border-red);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 40px rgba(185,28,28,.12);
}

.projeto-card__thumb {
  width: 100%;
  height: 220px;
  background: var(--surface2);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.projeto-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform .4s;
}
.projeto-card:hover .projeto-card__thumb img { transform: scale(1.05); }

.projeto-card__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(10,10,10,.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.projeto-card__body {
  padding: 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
@media (max-width: 480px) { .projeto-card__body { padding: 20px 56px; } }

.projeto-card__num {
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--red-soft);
  letter-spacing: .1em;
}
.projeto-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.projeto-card__desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.projeto-card__techs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.projeto-card__tech {
  font-family: var(--font-mono);
  font-size: .6rem;
  color: var(--red-soft);
  background: rgba(185,28,28,0.33);
  border: 1px solid rgba(185,28,28,.18);
  border-radius: 4px;
  padding: 3px 8px;
  letter-spacing: .06em;
}

.projeto-card__footer { padding: 0 24px 24px; }
.projeto-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  width: 100%;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s;
}
.projeto-card__link:hover {
  border-color: var(--red-soft);
  background: rgba(185,28,28,.06);
  color: var(--red-soft);
  transform: translateY(-1px);
}
.projeto-card__link svg { width: 14px; height: 14px; transition: transform .2s; }
.projeto-card__link:hover svg { transform: translate(2px,-2px); }

/* Card CTA */
.projeto-card--cta {
  border-color: rgba(185,28,28,.28);
  background: var(--black);
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 72px;
  min-height: 420px;
  box-shadow:
    0 0 80px rgba(185,28,28,.10) inset,
    0 0 0 1px rgba(185,28,28,.06) inset;
  cursor: default;
}
@media (max-width: 480px) { .projeto-card--cta { padding: 48px 56px; } }

.projeto-card--cta::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(185,28,28,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,28,28,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}
.projeto-card--cta::before {
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(185,28,28,.16) 0%, transparent 70%);
  height: 100%;
  opacity: 1;
  z-index: 0;
}
.projeto-card--cta:hover {
  border-color: rgba(185,28,28,.55);
  box-shadow:
    0 0 100px rgba(185,28,28,.16) inset,
    0 0 0 1px rgba(185,28,28,.1) inset;
}

.projeto-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.projeto-cta__label {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-soft);
  opacity: .8;
}
.projeto-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text);
}
.projeto-cta__title span { color: var(--red); }
.projeto-cta__sub {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}
.projeto-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  margin-top: 8px;
  box-shadow: 0 0 40px rgba(185,28,28,.94), 0 8px 24px rgba(0,0,0,.4);
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
  position: relative;
}
.projeto-cta__btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left .5s ease;
}
.projeto-cta__btn:hover::before { left: 160%; }
.projeto-cta__btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 65px rgba(185,28,28,.55), 0 12px 32px rgba(0,0,0,.5);
}
.projeto-cta__btn em {
  font-style: normal;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  display: inline-block;
}
.projeto-cta__btn:hover em { transform: translateX(5px); }

/* Navegação */
.projetos-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10,10,10,.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: border-color .25s, background .25s, transform .25s;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
.projetos-nav:hover {
  border-color: rgba(185,28,28,.6);
  background: rgba(185,28,28,.15);
  transform: translateY(-50%) scale(1.1);
}
.projetos-nav--prev { left: 12px; }
.projetos-nav--next { right: 12px; }

.projetos-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.projetos-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background .3s, width .3s;
  padding: 0;
}
.projetos-dot.active {
  background: var(--red);
  width: 22px;
  border-radius: 100px;
}

.projetos-counter {
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: .65rem;
  color: var(--muted);
  letter-spacing: .12em;
}
.projetos-counter span { color: var(--red-soft); }


/* ════════════════════════════════════════════════════════════
   4. SERVIÇOS
════════════════════════════════════════════════════════════ */
#servicos {
  background: linear-gradient(180deg, var(--black) 0%, var(--surface) 100%);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}

.servico-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
  position: relative;
}
.servico-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.servico-card:has(.servico-card__toggle[aria-expanded="true"])::before,
.servico-card:hover::before { transform: scaleX(1); }
.servico-card:hover,
.servico-card:has(.servico-card__toggle[aria-expanded="true"]) {
  border-color: var(--border-red);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 30px rgba(185,28,28,.08);
}

.servico-card__toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: var(--text);
}
.servico-card__num {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--red-soft);
  letter-spacing: .1em;
  flex-shrink: 0;
}
.servico-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  flex: 1;
  margin: 0;
  transition: color .25s;
}
.servico-card__toggle:hover .servico-card__title,
.servico-card__toggle[aria-expanded="true"] .servico-card__title { color: #fff; }

.servico-card__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-style: normal;
  color: var(--muted);
  line-height: 1;
  transition: border-color .25s, color .25s, transform .35s cubic-bezier(.34,1.56,.64,1), background .25s;
}
.servico-card__toggle:hover .servico-card__icon {
  border-color: var(--border-red);
  color: var(--red-soft);
}
.servico-card__toggle[aria-expanded="true"] .servico-card__icon {
  transform: rotate(45deg);
  border-color: var(--red);
  background: rgba(185,28,28,.12);
  color: var(--red-soft);
}

.servico-card__body {
  display: block !important;
  overflow: hidden;
  max-height: 0;
  padding: 0 28px;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), padding .35s;
}
.servico-card__body.open {
  max-height: 300px;
  padding: 0 28px 28px;
}
.servico-card__desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* CTA Interações */
.servicos-cta {
  position: relative;
  max-width: 1100px;
  margin: 72px auto 0;
  border-radius: 28px;
  overflow: hidden;
  padding: 72px 40px 64px;
  text-align: center;
  background: var(--black);
  border: 1px solid rgba(185,28,28,.28);
  box-shadow:
    0 0 0 1px rgba(185,28,28,.06) inset,
    0 0 80px rgba(185,28,28,.10),
    0 40px 80px rgba(0,0,0,.5);
  isolation: isolate;
}
.servicos-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(185,28,28,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185,28,28,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.servicos-cta::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70%; height: 60%;
  background: radial-gradient(ellipse, rgba(185,28,28,.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.servicos-cta__corner {
  position: absolute;
  width: 22px; height: 22px;
  pointer-events: none;
  z-index: 2;
}
.servicos-cta__corner--tl { top: 18px; left: 18px;   border-top: 1.5px solid rgba(185,28,28,.6); border-left: 1.5px solid rgba(185,28,28,.6);   border-radius: 6px 0 0 0; }
.servicos-cta__corner--tr { top: 18px; right: 18px;  border-top: 1.5px solid rgba(185,28,28,.6); border-right: 1.5px solid rgba(185,28,28,.6);  border-radius: 0 6px 0 0; }
.servicos-cta__corner--bl { bottom: 18px; left: 18px;  border-bottom: 1.5px solid rgba(185,28,28,.6); border-left: 1.5px solid rgba(185,28,28,.6);   border-radius: 0 0 0 6px; }
.servicos-cta__corner--br { bottom: 18px; right: 18px; border-bottom: 1.5px solid rgba(185,28,28,.6); border-right: 1.5px solid rgba(185,28,28,.6);  border-radius: 0 0 6px 0; }

.servicos-cta__live {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(185,28,28,.1);
  border: 1px solid rgba(185,28,28,.3);
  color: var(--red-soft);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.servicos-cta__live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  animation: cta-pulse 1.8s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { opacity: 1;  transform: scale(1); }
  50%       { opacity: .4; transform: scale(.65); }
}

.servicos-cta__title {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 18px;
}
.servicos-cta__title em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.servicos-cta__title em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-soft), transparent);
  border-radius: 2px;
  animation: underline-grow 3s ease-in-out infinite;
  transform-origin: left;
}
@keyframes underline-grow {
  0%, 100% { transform: scaleX(1);   opacity: .7; }
  50%       { transform: scaleX(.6); opacity: .3; }
}

.servicos-cta__sub {
  position: relative; z-index: 1;
  font-size: .97rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 40px;
}

.servicos-cta__chips {
  position: relative; z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}
.servicos-cta__chip {
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  transition: border-color .25s, color .25s, transform .25s;
  cursor: default;
  white-space: nowrap;
}
.servicos-cta__chip:hover {
  border-color: rgba(185,28,28,.5);
  color: var(--text);
  transform: translateY(-2px);
}

.servicos-cta__btn {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px 48px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 40px rgba(185,28,28,.35);
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.servicos-cta__btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transition: left .5s ease;
}
.servicos-cta__btn:hover::before { left: 160%; }
.servicos-cta__btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 0 0 6px rgba(185,28,28,.12),
    0 16px 48px rgba(0,0,0,.5),
    0 0 70px rgba(185,28,28,.55);
}
.servicos-cta__btn-arrow {
  display: inline-block;
  font-style: normal;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.servicos-cta__btn:hover .servicos-cta__btn-arrow { transform: translateX(6px); }

@media (max-width: 640px) {
  .servicos-cta { padding: 52px 24px 48px; border-radius: 20px; }
  .servicos-cta__btn { padding: 16px 32px; font-size: .95rem; width: 100%; justify-content: center; }
  .servicos-cta__chips { gap: 6px; }
  .servicos-cta__chip  { font-size: .6rem; padding: 5px 11px; }
}


/* ════════════════════════════════════════════════════════════
   5. CONTATO
════════════════════════════════════════════════════════════ */
#contato { background: var(--black); }

.contato-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.contato-card {
  background: var(--surface);
  border: 1px solid var(--border-red);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 56px);
  margin-top: 40px;
  width: 100%;
}
.contato-card > p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.form-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 40px);
  text-align: left;
  width: 100%;
}
.form-card__header { margin-bottom: 24px; }
.form-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.form-card__sub { font-size: .88rem; color: var(--muted); line-height: 1.6; }

.form-fields { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-mono);
  font-size: .66rem;
  color: var(--muted);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  outline: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: .6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red-soft);
  box-shadow: 0 0 0 3px rgba(185,28,28,.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group select option { background: var(--surface2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 28px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 0 28px rgba(37,211,102,.2);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.btn-whatsapp:hover {
  background: #20c95e;
  box-shadow: 0 0 44px rgba(37,211,102,.4);
  transform: translateY(-2px);
}
.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

.form-note {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .64rem;
  color: var(--muted);
  letter-spacing: .06em;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .contato-card { padding: 24px 16px; border-radius: 16px; }
  .form-card    { padding: 20px 16px; border-radius: 12px; }
}


/* ════════════════════════════════════════════════════════════
   6. PROCESSO
════════════════════════════════════════════════════════════ */
#processo {
  background: linear-gradient(180deg, var(--surface) 0%, var(--black) 100%);
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.processo-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-red), transparent);
  z-index: 0;
}

.processo-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.processo-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--red-soft);
  background: rgba(185,28,28,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--red-soft);
  letter-spacing: .06em;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(185,28,28,.2);
  transition: background .3s, border-color .3s, box-shadow .3s;
}

.processo-step:hover .processo-step__num {
  background: rgba(185,28,28,.22);
  border-color: var(--red-bright);
  box-shadow: 0 0 32px rgba(185,28,28,.4);
}

.processo-step__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.processo-step__desc {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .processo-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .processo-steps::before { display: none; }
}

@media (max-width: 540px) {
  .processo-steps { grid-template-columns: 1fr; gap: 24px; }
  .processo-step { flex-direction: row; align-items: flex-start; }
  .processo-step__num { flex-shrink: 0; }
  .processo-step__body { display: flex; flex-direction: column; gap: 6px; }
}


/* ════════════════════════════════════════════════════════════
   7. BLOG PREVIEW (teaser no index)
════════════════════════════════════════════════════════════ */
#blog-preview {
  background: linear-gradient(180deg, var(--surface) 0%, var(--black) 100%);
  position: relative;
}
#blog-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185,28,28,.3), transparent);
}

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

/* último card sozinho → span 2 colunas */
.blog-preview-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 50%;
  margin: 0 auto;
}

.blog-preview-card {
  background: var(--black);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
}

.blog-preview-card__thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--surface2);
  flex-shrink: 0;
}
.blog-preview-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
  filter: brightness(.85);
}
.blog-preview-card:hover .blog-preview-card__thumb img {
  transform: scale(1.06);
  filter: brightness(.95);
}
.blog-preview-card__body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-preview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.blog-preview-card:hover::before { transform: scaleX(1); }

.blog-preview-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}

.blog-preview-card__tag {
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red-soft);
}

.blog-preview-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  flex: 1;
}

.blog-preview-card__arrow {
  font-size: .8rem;
  color: var(--muted);
  transition: color .2s, transform .2s;
  align-self: flex-start;
  margin-top: 4px;
}

.blog-preview-card:hover .blog-preview-card__arrow {
  color: var(--red-soft);
  transform: translate(3px, -3px);
}

.blog-preview-cta {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.blog-preview-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid var(--border-red);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  transition: border-color .3s, background .3s, transform .2s;
}

.blog-preview-cta__btn:hover {
  border-color: var(--red-soft);
  background: rgba(185,28,28,.06);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .blog-preview-grid { grid-template-columns: 1fr; }
  .blog-preview-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }
}


/* ════════════════════════════════════════════════════════════
   SOBRE — 4 diferenciais em grid 2x2 (desktop)
════════════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .sobre-diffs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}