/* =========================================================
   TEMA — ESPECIALE DETAILING & CUSTOM (paleta extraída da logo: preto, dourado, prata)
   ========================================================= */
:root {
  --color-bg: #0a0a0c;
  --color-bg-alt: #131316;
  --color-surface: #19191c;
  --color-text: #f5f5f4;
  --color-text-muted: #a3a3a1;
  --color-border: #2c2c2f;

  --color-primary: #c9a227;       /* dourado da logo — CTAs e destaques */
  --color-primary-dark: #9c7d1e;
  --color-secondary: #c0c2c7;     /* prata/cromado da logo — acentos e gradientes */
  --color-accent: #c9a227;
  --color-whatsapp: #25d366;      /* verde oficial do WhatsApp — botões de conversão */
  --color-whatsapp-dark: #128c7e; /* verde-petróleo do WhatsApp — degradê dos botões */

  --font-heading: "Cinzel", "Georgia", serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1180px;
  --radius: 24px;
}

/* =========================================================
   RESET
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section {
  padding: 96px 0;
}
.section--alt { background: var(--color-bg-alt); }

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head p {
  color: var(--color-text-muted);
  margin-top: 14px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Botão CTA (verde WhatsApp — mantido por reconhecimento de conversão) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-whatsapp), var(--color-whatsapp-dark));
  color: #fff;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px rgba(37,211,102,0.25);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37,211,102,0.35); }
.btn svg { flex-shrink: 0; }
.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  box-shadow: none;
  color: var(--color-text);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}
.header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  justify-self: start;
}
.logo img { height: 72px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 32px;
  justify-self: center;
}
.nav-toggle { justify-self: end; }
.nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav a:hover { color: var(--color-primary); }

.nav-toggle { display: none; font-size: 1.6rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: #0a0a0c;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  background-color: #0a0a0c;
}
.hero-media--brand {
  background-image: url('../assets/logo-especiale.png');
  background-repeat: no-repeat;
  background-position: center 55%;
  background-size: 42%;
  opacity: 0.95;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    #0a0a0c 0%,
    #0a0a0c 40%,
    rgba(10,10,12,0.94) 52%,
    rgba(10,10,12,0.55) 66%,
    transparent 86%
  );
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,162,39,0.14), transparent 55%),
    radial-gradient(circle at 60% 90%, rgba(192,194,199,0.08), transparent 60%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  color: #fff;
  margin-bottom: 20px;
}
.hero p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.hero p strong { color: var(--color-primary); }

/* Faixa de selos de confiança */
.trust-strip {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.trust-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}
.trust-strip li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* =========================================================
   PLACEHOLDER DE MÍDIA (para espaços aguardando fotos/prints reais)
   ========================================================= */
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background:
    repeating-linear-gradient(135deg, var(--color-surface), var(--color-surface) 12px, #141417 12px, #141417 24px);
  border: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.media-placeholder svg { opacity: 0.55; width: 30px; height: 30px; }

/* =========================================================
   SERVIÇOS — cartões alternados imagem/texto
   ========================================================= */
.services-list {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(0, 1fr);
  aspect-ratio: 1.81 / 1;
  align-items: stretch;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-row:nth-child(even) { direction: rtl; }
.service-row:nth-child(even) > * { direction: ltr; }

.service-media {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.service-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 56px;
}
.service-info h3 { font-size: 1.7rem; color: #fff; }
.service-info p { color: var(--color-text-muted); }
.service-info ul { margin: 4px 0 6px; }
.service-info ul li {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
}
.service-info ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}
.service-info .btn { align-self: flex-start; }

/* =========================================================
   SOBRE
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media {
  width: 100%;
  min-height: 420px;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
}
.about-content p { color: var(--color-text-muted); margin-bottom: 20px; }
.about-content h2 { margin-bottom: 20px; }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
}
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
.testimonial-card {
  flex: 0 0 340px;
  max-width: 85vw;
  scroll-snap-align: start;
  border-radius: var(--radius);
  padding: 32px;
  min-height: 180px;
}
.testimonial-card .stars { color: var(--color-primary); letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 12px; display: block; }
.testimonial-shot {
  flex: 0 0 auto;
  width: 420px;
  max-width: 85vw;
  height: auto;
  object-fit: contain;
  scroll-snap-align: start;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}

/* =========================================================
   GALERIA
   ========================================================= */
.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
.gallery-item {
  flex: 0 0 240px;
  width: 240px;
  height: 180px;
  object-fit: cover;
  scroll-snap-align: start;
  border-radius: var(--radius);
  display: block;
}

/* =========================================================
   SETAS DE NAVEGAÇÃO DOS CARROSSÉIS (galeria e depoimentos)
   ========================================================= */
.carousel-wrap { position: relative; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10,10,12,0.75);
  border: 1px solid var(--color-border);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background .2s ease, transform .2s ease;
}
.carousel-arrow:hover { background: var(--color-primary); color: #0a0a0c; }
.carousel-arrow--prev { left: -8px; }
.carousel-arrow--next { right: -8px; }
@media (max-width: 640px) {
  .carousel-arrow { width: 36px; height: 36px; font-size: 1rem; }
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.diff-card {
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}
.diff-card .icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: #0a0a0c;
}
.diff-card h3 { font-size: 1.1rem; color: #fff; margin-bottom: 10px; }
.diff-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-weight: 600;
  color: #fff;
  text-align: left;
}
.faq-question .icon { transition: transform .25s ease; color: var(--color-primary); }
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.is-open .faq-answer {
  padding-bottom: 20px;
}

/* =========================================================
   LOCALIZAÇÃO
   ========================================================= */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.location-rating .stars { color: var(--color-primary); letter-spacing: 1px; }
.location-info h3 {
  font-size: 1.25rem;
  color: #fff;
  margin: 22px 0 10px;
}
.location-info p { color: var(--color-text-muted); }
.location-hours {
  display: flex;
  justify-content: space-between;
  max-width: 320px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.location-hours span:last-child { color: #fff; font-weight: 600; }
.location-map {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 18px;
}
.footer li { color: var(--color-text-muted); margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.footer-bottom ul { display: flex; gap: 20px; }

/* =========================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================= */
.float-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  z-index: 200;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    justify-self: stretch;
    flex-direction: column;
    gap: 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    padding: 8px 24px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav a:last-child { border-bottom: none; }
  .nav-toggle { display: block; }
  .header .container {
    display: flex;
    justify-content: space-between;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 40px;
  }
  .hero::before { display: none; }
  .hero-media {
    order: -1;
    position: static;
    width: 100%;
    height: 220px;
    margin: 0 0 28px;
    border-radius: 0;
  }
  .hero-media--brand { background-size: 55%; }
  .service-row, .about, .location { grid-template-columns: 1fr; }
  .service-row { aspect-ratio: auto; grid-template-rows: auto; }
  .service-media { height: 320px; }
  .service-row:nth-child(even) { direction: ltr; }
  .service-info { padding: 40px 24px; }
  .diff-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-card, .testimonial-shot { flex-basis: 88vw; max-width: 88vw; }
}
