/* ============================================================
   SERVMAQ – style.css  v2
   Paleta: laranja #F57C00 / laranja escuro #E65100 / preto #111 / cinza #F5F5F5
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #F57C00;
  --orange-dark:  #E65100;
  --orange-light: #FFF3E0;
  --black:        #111111;
  --dark:         #1A1A1A;
  --gray-bg:      #F5F5F5;
  --gray-mid:     #E8E8E8;
  --gray-text:    #555555;
  --white:        #FFFFFF;
  --radius:       12px;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --transition:   0.3s ease;
  --font-head:    'Segoe UI', 'Arial Black', sans-serif;
  --font-body:    'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

/* Botão fantasma: contorno laranja, fundo transparente */
.btn--ghost {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn--ghost:hover {
  background: var(--orange);
  color: var(--white);
}

/* Botão branco: para fundos laranja */
.btn--white {
  background: var(--white);
  color: var(--orange-dark);
  border-color: var(--white);
}
.btn--white:hover { background: var(--orange-light); }

.btn--large {
  padding: 1.05rem 2.4rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Botão com ícone WhatsApp */
.btn--wa svg { flex-shrink: 0; }

.link-orange { color: var(--orange); font-weight: 600; }
.link-orange:hover { text-decoration: underline; }

/* ================================================================
   SECTION COMMONS
   ================================================================ */
.section-header { text-align: center; margin-bottom: 3rem; }

.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
}
.section-sub {
  margin-top: 0.75rem;
  color: var(--gray-text);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-header--light .section-title,
.section-header--light .section-sub  { color: var(--white); }
.section-header--light .section-eyebrow { color: var(--orange-light); }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.4); }

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar__logo { display: flex; align-items: center; gap: 0.6rem; }
.navbar__logo img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}
.navbar__logo span {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.06em;
}

.navbar__menu ul { display: flex; gap: 2rem; }
.navbar__menu a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition);
  position: relative;
}
.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.navbar__menu a:hover { color: var(--white); }
.navbar__menu a:hover::after { width: 100%; }

.navbar__cta { font-size: 0.85rem; padding: 0.55rem 1.25rem; }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ================================================================
   HERO — imagem esquerda | texto direita
   ================================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 70px;
}

.hero__image-side { position: relative; overflow: hidden; }
.hero__img-wrap   { width: 100%; height: 100%; position: relative; }
.hero__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(245,124,0,0.15) 0%,
    rgba(245,124,0,0.35) 60%,
    rgba(245,124,0,0.85) 85%,
    #ffffff 100%
  );
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}

.hero__image-side::after {
  content: '';
  position: absolute;
  top: 0; right: -1px; bottom: 0;
  width: 120px;
  background: var(--white);
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

.hero__content-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem 4rem 3rem;
  background: var(--white);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__eyebrow-line {
  display: inline-block;
  width: 40px; height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--orange); }

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.hero__question {
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 1.75rem;
}

/* Grupo de 2 CTAs no hero */
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* ================================================================
   FAIXA DE MARCAS
   ================================================================ */
.marcas {
  background: #EEEEEE;
  padding: 1.75rem 0;
  border-top: 1px solid #D8D8D8;
  border-bottom: 1px solid #D8D8D8;
  /* overflow fica aqui, NÃO em nenhum filho */
  overflow: hidden;
}

.marcas__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.25rem;
}

/* wrapper sem largura máxima nem padding — ocupa a tela toda */
.marcas__wrapper {
  overflow: hidden;      /* corta o scroll */
  width: 100%;
}

/*
  O track tem 16 itens (8 + 8 clones).
  A animação move -50% → equivale a exatamente 8 itens.
  Quando reinicia volta ao ponto inicial que é idêntico visualmente.
*/
.marcas__track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  /* padding nas pontas para a primeira/última logo não colar na borda */
  padding: 0 36px;
  animation: marquee-logos 20s linear infinite;
  will-change: transform;
}

.marcas:hover .marcas__track {
  animation-play-state: paused;
}

@keyframes marquee-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Cada item */
.marca-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.marca-item img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
  /* grayscale + opacidade discreta */
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.marca-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* ================================================================
   SOBRE
   ================================================================ */
.sobre {
  padding: 6rem 0;
  background: var(--gray-bg);
}

.sobre__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.sobre__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1rem;
  max-width: 600px;
}

.sobre__text {
  color: var(--gray-text);
  max-width: 680px;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 3rem;
}

.sobre__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.sobre__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition);
}
.sobre__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(245,124,0,0.15);
}

/* Ícone SVG outline laranja */
.sobre__card-icon {
  width: 52px; height: 52px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--orange);
}
.sobre__card-icon svg { width: 26px; height: 26px; }

.sobre__card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.sobre__card p  { color: var(--gray-text); font-size: 0.92rem; line-height: 1.6; }

/* ================================================================
   PRODUTOS
   ================================================================ */
.produtos {
  padding: 6rem 0;
  background: var(--white);
}

.produtos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.75rem;
}

.produto-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.produto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.produto-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-bg);
}
.produto-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.produto-card:hover .produto-card__img-wrap img { transform: scale(1.05); }

.produto-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.produto-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.6rem;
}
.produto-card__body h3 { font-size: 1.05rem; font-weight: 700; color: var(--black); }
.produto-card__body p  { color: var(--gray-text); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.produto-card__body .btn { align-self: flex-start; margin-top: 0.75rem; }

/* Card CTA laranja */
.produto-card--cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
}
.produto-card--cta .produto-card__body--center {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 2.5rem 1.75rem;
}
.produto-card__cta-icon {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.75rem;
}
.produto-card--cta h3 { color: var(--white); font-size: 1.2rem; }
.produto-card--cta p  { color: rgba(255,255,255,0.85); font-size: 0.95rem; }
.produto-card--cta .btn { margin-top: 1rem; align-self: center; }

/* ================================================================
   CATEGORIAS DE PEÇAS
   ================================================================ */
.categorias {
  padding: 6rem 0;
  background: var(--dark);
}

.categorias__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.cat-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  filter: brightness(0.55);
}
.cat-card:hover .cat-card__bg {
  transform: scale(1.06);
  filter: brightness(0.4);
}

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(230, 81, 0, 0.88) 0%,
    rgba(0,0,0,0.1) 60%
  );
  transition: opacity var(--transition);
}

.cat-card__body {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  color: var(--white);
}

.cat-card__icon {
  width: 54px; height: 54px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  backdrop-filter: blur(4px);
}

.cat-card__body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.cat-card__body p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.cat-card__cta {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
  transition: border-color var(--transition);
}
.cat-card:hover .cat-card__cta { border-color: var(--white); }

/* ================================================================
   DEPOIMENTOS
   ================================================================ */
.depoimentos {
  padding: 6rem 0;
  background: var(--gray-bg);
}

.depoimentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.dep-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.dep-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(245,124,0,0.12);
}

.dep-card__stars {
  display: flex;
  gap: 3px;
  color: var(--orange);
}

.dep-card__text {
  font-size: 0.98rem;
  color: var(--gray-text);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  position: relative;
}
.dep-card__text::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--orange-light);
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  line-height: 1;
  font-style: normal;
  font-family: Georgia, serif;
  z-index: 0;
}

.dep-card__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.dep-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dep-card__author strong { display: block; font-size: 0.95rem; color: var(--black); }
.dep-card__author span  { font-size: 0.82rem; color: var(--gray-text); }

/* ================================================================
   CONTATO
   ================================================================ */
.contato {
  padding: 6rem 0;
  background: var(--white);
}

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.contato__info { display: flex; flex-direction: column; gap: 2rem; }

.contato__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contato__item-icon {
  width: 44px; height: 44px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}

.contato__item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--black);
}
.contato__item p { color: var(--gray-text); font-size: 0.95rem; line-height: 1.6; }

.contato__map iframe {
  width: 100%; height: 350px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand { display: flex; align-items: center; gap: 0.6rem; }
.footer__brand img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}
.footer__brand span {
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.06em;
}

.footer__copy { font-size: 0.85rem; }

.footer__social { display: flex; gap: 1.25rem; }
.footer__social a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--orange); }

/* ================================================================
   WHATSAPP FLOAT
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 990;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

/* ================================================================
   RESPONSIVO
   ================================================================ */
@media (max-width: 1024px) {
  .hero__content-side { padding: 4rem 3rem 4rem 2rem; }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__image-side {
    height: 55vw;
    min-height: 280px;
    max-height: 420px;
  }
  .hero__image-side::after { display: none; }
  .hero__img-overlay {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    background: linear-gradient(
      to bottom,
      rgba(245,124,0,0.1) 0%,
      rgba(245,124,0,0.6) 70%,
      #ffffff 100%
    );
  }
  .hero__content-side {
    padding: 2.5rem 1.5rem 3.5rem;
    align-items: center;
    text-align: center;
  }
  .hero__eyebrow   { justify-content: center; }
  .hero__subtitle  { max-width: 100%; }
  .hero__cta-group { justify-content: center; }

  .contato__grid { grid-template-columns: 1fr; }

  .navbar__menu,
  .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }

  .navbar__menu.open {
    display: flex;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: rgba(17,17,17,0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
  }
  .navbar__menu.open ul {
    flex-direction: column;
    gap: 0;
  }
  .navbar__menu.open a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .sobre__cards        { grid-template-columns: 1fr; }
  .produtos__grid      { grid-template-columns: 1fr; }
  .categorias__grid    { grid-template-columns: 1fr; }
  .depoimentos__grid   { grid-template-columns: 1fr; }
  .footer__inner       { flex-direction: column; text-align: center; }
  .btn--large          { width: 100%; justify-content: center; }
  .hero__cta-group     { flex-direction: column; width: 100%; }
}
