/* ============================================================
   SERRALHERIA ART DA VILA — Tema industrial escuro + âmbar
   ============================================================ */

:root {
  --bg: #101214;
  --bg-alt: #0c0e10;
  --surface: #1a1d20;
  --surface-2: #202429;
  --border: #2a2e33;
  --muted: #a1a1aa;
  --text: #f4f4f5;
  --white: #ffffff;
  --brand: #f59e0b;
  --brand-hover: #d97706;
  --brand-soft: rgba(245, 158, 11, 0.12);
  --wa: #25d366;
  --wa-dark: #1eb958;
  --font-display: "Oswald", sans-serif;
  --font-body: "Barlow", sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand); color: #000; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- SVG base ---------- */
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.wa-icon { fill: currentColor; stroke: none; }
.socialbar__stars svg { fill: var(--brand); stroke: none; }

/* ---------- Topbar ---------- */
.topbar {
  background: #0a0b0c;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--brand); }
.topbar__link:hover { color: var(--brand); }
.topbar__item--hide { margin-left: auto; }
.topbar__link { margin-left: auto; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 18, 20, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--brand), var(--brand-hover));
  border-radius: 10px; color: #0a0b0c; flex-shrink: 0;
}
.brand__mark svg { width: 26px; height: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: 0.5px; }
.brand__sub { font-size: 12px; color: var(--muted); letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--text); opacity: 0.85; transition: color 0.15s; }
.nav a:hover { color: var(--brand); opacity: 1; }

.header__actions { display: flex; align-items: center; gap: 12px; margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.4px;
  font-size: 15px; padding: 14px 26px; border-radius: var(--radius-sm);
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s; cursor: pointer; border: 0;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: var(--brand); color: #141414; }
.btn--primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(245, 158, 11, 0.7); }
.btn--whatsapp { background: var(--wa); color: #04130a; }
.btn--whatsapp:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(37, 211, 102, 0.7); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 17px 32px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(245, 158, 11, 0.14), transparent 60%),
    radial-gradient(800px 500px at 90% 20%, rgba(245, 158, 11, 0.08), transparent 60%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.3px;
}
.badge svg { width: 15px; height: 15px; }

.hero__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08; text-transform: uppercase; margin: 20px 0 18px; letter-spacing: 0.2px;
}
.text-brand { color: var(--brand); }

.hero__subtitle { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 28px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__metrics { display: grid; grid-template-columns: repeat(4, auto); gap: 28px; padding-top: 28px; border-top: 1px solid var(--border); }
.metric { display: flex; flex-direction: column; }
.metric__value { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--white); }
.metric__star { color: var(--brand); }
.metric__label { font-size: 13px; color: var(--muted); }

.hero__media { position: relative; }
.hero__frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); background: var(--surface);
}
.hero__frame img { width: 100%; height: 480px; object-fit: cover; }
.hero__card {
  position: absolute; left: -22px; bottom: 24px; display: flex; align-items: center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 18px; box-shadow: var(--shadow); max-width: 280px;
}
.hero__card svg { width: 28px; height: 28px; color: var(--brand); flex-shrink: 0; }
.hero__card strong { display: block; font-family: var(--font-display); font-size: 15px; letter-spacing: 0.3px; }
.hero__card span { font-size: 13px; color: var(--muted); }

/* ---------- Social bar ---------- */
.socialbar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.socialbar__inner { display: flex; align-items: center; gap: 40px; padding: 22px 24px; flex-wrap: wrap; }
.socialbar__rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.socialbar__stars { display: flex; gap: 2px; }
.socialbar__stars svg { width: 22px; height: 22px; }
.socialbar__rating strong { font-family: var(--font-display); font-size: 20px; }
.socialbar__count { color: var(--muted); font-size: 14px; border-left: 1px solid var(--border); padding-left: 14px; }
.socialbar__tick { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; margin-left: auto; }
.socialbar__tick li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.socialbar__tick svg { width: 17px; height: 17px; color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kicker {
  display: inline-block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 3px;
  color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.kicker--dark { color: #0a0b0c; }
.section__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: 0.2px; margin-bottom: 14px;
}
.section__subtitle { font-size: 17px; color: var(--muted); }

.section__cta { text-align: center; margin-top: 44px; }

/* ---------- Grid services ---------- */
.grid { display: grid; gap: 20px; }
.grid--services { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, 0.5); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--font-display); font-size: 19px; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }
.card--featured { border-color: rgba(245, 158, 11, 0.45); background: linear-gradient(160deg, var(--surface), rgba(245, 158, 11, 0.06)); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gallery__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.gallery__item img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.35s; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; font-size: 13px; font-weight: 600;
  color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,0.85)); letter-spacing: 0.2px;
}

/* ---------- Differentials ---------- */
.grid--differentials { grid-template-columns: repeat(3, 1fr); }
.diff {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; transition: transform 0.18s, border-color 0.18s;
}
.diff:hover { transform: translateY(-4px); border-color: rgba(245, 158, 11, 0.5); }
.diff__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); margin-bottom: 20px; }
.diff__icon svg { width: 27px; height: 27px; }
.diff h3 { font-family: var(--font-display); font-size: 19px; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 8px; }
.diff p { font-size: 15px; color: var(--muted); }
.diff--featured { border-color: rgba(245, 158, 11, 0.5); background: linear-gradient(160deg, var(--surface), rgba(245, 158, 11, 0.08)); }

/* ---------- Atendimento ---------- */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.area__card { display: flex; flex-direction: column; gap: 22px; }
.area__block {
  display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.area__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: var(--brand-soft); color: var(--brand); flex-shrink: 0; }
.area__icon svg { width: 22px; height: 22px; }
.area__block h3 { font-family: var(--font-display); font-size: 17px; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px; }
.area__block p { font-size: 15px; color: var(--muted); }
.area__block .muted { font-size: 13px; margin-top: 4px; }
.area__block .btn { margin-top: 12px; }
.link { color: var(--brand); font-weight: 600; display: inline-block; margin-top: 4px; }
.link:hover { text-decoration: underline; }

.area__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 380px; }
.area__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(0.2) contrast(1.05); }

.coverage { margin-top: 34px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.coverage__label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; color: var(--muted); }
.coverage__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; font-weight: 500; color: var(--text);
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--font-display);
  font-size: 17px; font-weight: 500; letter-spacing: 0.2px; transition: color 0.15s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__item summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform 0.2s; flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA final ---------- */
.cta { background: linear-gradient(135deg, var(--brand), var(--brand-hover)); padding: 88px 0; }
.cta__inner { text-align: center; }
.cta__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(30px, 4vw, 46px); color: #141414; line-height: 1.1; margin: 8px 0 14px; }
.cta__subtitle { font-size: 18px; color: rgba(20, 20, 20, 0.8); max-width: 560px; margin: 0 auto 30px; }
.cta .btn--whatsapp { background: #141414; color: #fff; }
.cta .btn--whatsapp:hover { background: #000; box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5); }
.cta__note { margin-top: 18px; font-size: 13px; color: rgba(20, 20, 20, 0.7); }

/* ---------- Footer ---------- */
.footer { background: #0a0b0c; border-top: 1px solid var(--border); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px; }
.footer__brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 360px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; color: var(--white); margin-bottom: 6px; }
.footer__col a, .footer__col span { color: var(--muted); font-size: 15px; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer__bottom p { color: var(--muted); font-size: 13px; }

/* ---------- Floating WhatsApp ---------- */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.18s; animation: pulse 2.4s infinite;
}
.float-wa svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.float-wa:hover { transform: scale(1.08); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--services, .grid--differentials { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__frame img { height: 360px; }
  .hero__card { left: 12px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery__item img { height: 200px; }
  .area { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .nav.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 24px 20px; margin: 0;
  }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .topbar__item--hide { display: none; }
  .hero { padding: 48px 0 60px; }
  .hero__metrics { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .grid--services, .grid--differentials { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .socialbar__tick { margin-left: 0; gap: 14px; }
  .btn--sm .wa-icon { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}
