/* ================================================================
   LEGO MONTAGEM DE MÓVEIS — style.css
   CSS Secundario: tudo ABAIXO da dobra inicial (header + hero
   ja estao inlined no <head> do index.html para max performance)
   ================================================================ */

/* === MARCAS ATENDIDAS === */
.brands {
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
}
.brands__label {
  font-size: 11px;
  font-weight: 700;
  color: #767676;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 12px;
}
.brands__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.brands__list span {
  font-size: 13.5px;
  font-weight: 700;
  color: #888888;
  letter-spacing: .4px;
  white-space: nowrap;
}

/* === SECTION HEADER (compartilhado) === */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag--light {
  background: rgba(255,255,255,.25);
  color: white;
}
.section-title {
  font-size: clamp(25px, 3.2vw, 40px);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.9px;
  line-height: 1.18;
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.72;
}

/* === DIFERENCIAIS === */
.diferenciais {
  padding: 88px 0;
  background: var(--white);
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.07);
  border-color: var(--orange);
}
.card--featured {
  background: var(--orange);
  border-color: var(--orange);
}
.card--featured .card__text { color: white; }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 13px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--orange);
}
.card--featured .card__icon {
  background: rgba(255,255,255,.2);
  color: white;
}
.card__title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
  color: var(--text);
}
.card--featured .card__title { color: white; }
.card__text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === SERVIÇOS === */
.servicos {
  padding: 88px 0;
  background: var(--bg-soft);
}
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.serv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.serv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 42px rgba(0,0,0,.06);
  border-color: var(--orange);
}
.serv-card__icon {
  width: 58px; height: 58px;
  background: var(--orange-light);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.serv-card__body h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}
.serv-card__body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.serv-card__body li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.serv-card__body li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
}

/* === AVALIAÇÕES / CARROSSEL === */
.avaliacoes {
  padding: 88px 0;
  background: var(--white);
}
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.carousel__viewport {
  overflow: hidden;
  flex: 1;
  border-radius: var(--r);
}
.carousel__track {
  display: flex;
  gap: 22px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.dep {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
  flex: 0 0 calc((100% - 44px) / 3);
  min-width: 0;
}
.dep:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.06);
}
.dep__stars {
  font-size: 17px;
  letter-spacing: 2px;
  color: #F5A623;
}
.dep__text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.72;
  font-style: italic;
  flex: 1;
}
.dep__author {
  display: flex;
  align-items: center;
  gap: 11px;
}
.dep__avatar {
  width: 42px; height: 42px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.dep__author strong { display: block; font-size: 13.5px; color: var(--text); }
.dep__author span   { font-size: 12px; color: var(--text-muted); }

/* Carousel buttons */
.carousel__btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.carousel__btn:hover {
  background: var(--orange-light);
  border-color: var(--orange);
  color: var(--orange);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(240,113,32,.18);
}
.carousel__btn:active { transform: scale(.96); }

/* Carousel dots */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.carousel__dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background .25s, transform .2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel__dot::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background .25s, transform .2s;
}
.carousel__dot--active::after {
  background: var(--orange);
  transform: scale(1.25);
}
.carousel__dot:hover:not(.carousel__dot--active)::after {
  background: #ccc;
}

/* === SECTION CTA (botão ao final de cada seção) === */
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* === CTA SECTION FINAL === */
.cta-sec {
  padding: 100px 0;
  background: linear-gradient(135deg, #2B2B2B 0%, #1c1c1c 55%, #3D2B1F 100%);
  position: relative;
  overflow: hidden;
}
.cta-sec::before {
  content: "";
  position: absolute;
  top: -40%; right: -8%;
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(240,113,32,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-sec::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(240,113,32,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-sec__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
}
.cta-sec__title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  color: white;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 14px 0 16px;
}
.cta-sec__sub {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-bottom: 26px;
  line-height: 1.7;
}
.cta-feats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 38px;
}
.cta-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.cta-feat svg { color: var(--orange); flex-shrink: 0; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--green-wa);
  color: white;
  font-family: var(--font);
  font-weight: 800;
  font-size: 16.5px;
  padding: 17px 30px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(37,211,102,.4);
}
.btn-cta:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.55);
}

.cta-sec__stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.cta-stat { text-align: right; }
.cta-stat__n {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -1.5px;
  line-height: 1;
}
.cta-stat__l {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

/* === FOOTER === */
.footer {
  background: #171717;
  padding: 64px 0 0;
  color: rgba(255,255,255,.85);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer__logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  /* Inverte as cores para o logo ficar visível no fundo escuro */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer__col h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: 14px; line-height: 1.5; }
.footer__col a  { color: rgba(255,255,255,.75); transition: color .2s; }
.footer__col a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,.8);
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom a { color: rgba(255,255,255,.8); transition: color .2s; }
.footer__bottom a:hover { color: var(--orange); }

/* === WHATSAPP FLUTUANTE === */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-wa);
  color: white;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 4px 22px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  animation: wa-pulse 2.8s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.6);
  animation: none;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 22px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.7), 0 0 0 9px rgba(37,211,102,.1); }
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
  .cards-grid,
  .servicos__grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .dep {
    flex: 0 0 calc((100% - 22px) / 2);
  }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta-sec__inner { grid-template-columns: 1fr; }
  .cta-sec__stats { flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .cta-stat { text-align: center; }
}

@media (max-width: 640px) {
  .cards-grid,
  .servicos__grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
  .avaliacoes, .diferenciais, .servicos, .cta-sec { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .dep {
    flex: 0 0 100%;
  }
  .carousel { gap: 10px; }
  .carousel__btn { width: 38px; height: 38px; }
  .carousel__btn svg { width: 16px; height: 16px; }
  .carousel__track { gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .wa-float__label { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; width: 60px; height: 60px; justify-content: center; }
  .cta-sec__title { font-size: 28px; }
  .cta-stat__n { font-size: 32px; }
  .section-cta { display: flex; justify-content: center; }
  .section-cta .btn-primary { width: 100%; max-width: 340px; justify-content: center; }
}
