/* ===== Tokens ===== */
:root {
  --color-ink: #16213a;
  --color-ink-soft: #1d2c4c;
  --color-ink-2: #28395e;
  --color-yellow: #8fc1f2;
  --color-yellow-dark: #2a5fa8;
  --color-accent: #3f7fd1;
  --color-accent-dark: #2a5fa8;
  --color-blue: #2f7fd1;
  --color-text: #1b222b;
  --color-text-muted: #5b6672;
  --color-bg: #ffffff;
  --color-bg-tint: #f4f6f8;
  --color-border: #e4e8ec;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(17, 21, 26, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 21, 26, 0.12);
  --max-width: 1180px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; color: var(--color-ink); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
p { margin: 0 0 12px; color: var(--color-text-muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-yellow-dark);
  margin: 0 0 10px;
}
.eyebrow-light { color: var(--color-yellow); }

.section { padding: 84px 0; }
.section-lead { max-width: 640px; font-size: 1.05rem; }
.section-lead-light { color: #c7cdd4; }
.section-note { margin-top: 28px; font-size: .92rem; color: var(--color-text-muted); border-top: 1px solid var(--color-border); padding-top: 20px; }
.section-tint { background: var(--color-bg-tint); }
.section-dark { background: var(--color-ink); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.section-dark h2 { color: #fff; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--color-accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-outline { border-color: var(--color-ink); color: var(--color-ink); background: transparent; }
.btn-outline:hover { background: var(--color-ink); color: #fff; }

.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

.btn-whatsapp { background: #25D366; color: #06240f; }
.btn-whatsapp:hover { background: #1ebd5a; }

.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #d7dce1;
  border: 1px solid rgba(255,255,255,.18);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.icon-link:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.08); }

.btn-header { display: none; }
@media (min-width: 880px) {
  .btn-header { display: inline-flex; padding: 10px 18px; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 20px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 33, 58, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}
.logo { display: flex; align-items: center; line-height: 1; }
.logo-img { height: 44px; width: auto; border-radius: 8px; display: block; }

.main-nav { display: none; gap: 28px; }
.main-nav a { color: #d7dce1; font-weight: 600; font-size: .92rem; transition: color .15s ease; }
.main-nav a:hover { color: var(--color-yellow); }

@media (min-width: 880px) {
  .main-nav { display: flex; }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
@media (min-width: 880px) { .nav-toggle { display: none; } }

.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-open .main-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  background: var(--color-ink);
  padding: 18px 24px 26px;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(63,127,209,.22), transparent 55%),
    linear-gradient(180deg, var(--color-ink) 0%, #0f1829 100%);
  color: #fff;
  padding: 72px 0 70px;
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.1fr .9fr; } }

.hero h1 { color: #fff; }
.hero-services { color: var(--color-yellow); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }
.hero-desc { color: #c7cdd4; max-width: 520px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #e7eaed;
  border: 1px solid rgba(255,255,255,.12);
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ===== Real photo banners inside sections ===== */
.section-photo {
  margin: 28px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.section-photo img { width: 100%; display: block; }

/* ===== Carrossel de equipamentos ===== */
.carousel {
  position: relative;
  margin: 28px 0 8px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.carousel-track {
  display: flex;
  transition: transform .5s ease;
}
.carousel-slide { flex: 0 0 100%; }
.carousel-slide img { width: 100%; display: block; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22,33,58,.55);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background .15s ease;
}
.carousel-arrow:hover { background: rgba(22,33,58,.85); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(22,33,58,.45);
  border-radius: 999px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.4);
  padding: 0;
  cursor: pointer;
}
.carousel-dot.is-active { background: #fff; }

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.service-card {
  background-color: var(--color-ink);
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 26px 22px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-wide { grid-column: span 1; }
@media (min-width: 700px) {
  .service-card-wide { grid-column: span 2; }
}
.service-card h3 { color: #fff; margin-bottom: 6px; }
.service-card p { margin: 0; font-size: .92rem; color: #dfe3e8; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-amber, .icon-blue { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.3); }

/* ===== Pre-moldados ===== */
.pre-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 960px) { .pre-grid { grid-template-columns: 1.1fr .9fr; } }

.pre-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 16px; }
.pre-list li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.pre-list strong { color: #fff; font-size: 1rem; }
.pre-list span { color: #aab2ba; font-size: .9rem; }

.pre-disclaimer {
  font-size: .84rem;
  color: #9aa4ae;
  border-left: 3px solid var(--color-yellow);
  padding-left: 14px;
  margin: 18px 0 26px;
}

.pre-visual { display: flex; flex-direction: column; gap: 14px; }
.pre-visual-photo {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.pre-visual-photo img { width: 100%; display: block; }
.pre-visual-caption { text-align: center; font-size: .86rem; color: #aab2ba; }

/* ===== Produto em destaque (Construção Civil) ===== */
.pre-product { margin-top: 56px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,.1); }
.pre-product h3 { color: #fff; }
.pre-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 28px;
}
@media (min-width: 760px) { .pre-product-grid { grid-template-columns: 1fr 1fr; } }
.pre-product-figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pre-product-figure img { width: 100%; display: block; }
.pre-product-figure figcaption {
  padding: 14px 18px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--color-ink);
  background: #fff;
  text-align: center;
}

/* ===== Products chips ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.product-chip {
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 18px 16px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--color-ink);
  text-align: center;
}

/* ===== Diferenciais ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 36px;
}
.diff-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-border);
}
.diff-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-yellow);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.diff-card p { font-size: .92rem; margin: 0; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.1fr .9fr; align-items: center; } }
.about-note { font-size: .92rem; }
.about-badges { display: grid; gap: 16px; }
.about-badge {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.about-badge strong { display: block; font-size: 1.3rem; color: var(--color-ink); margin-bottom: 4px; }
.about-badge span { font-size: .86rem; color: var(--color-text-muted); }

/* ===== CTA ===== */
.section-cta {
  background: linear-gradient(135deg, var(--color-ink) 0%, #22335c 100%);
  color: #fff;
  text-align: center;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.section-cta h2 { color: #fff; }
.section-cta p { color: #c7cdd4; }
.section-cta .hero-actions { justify-content: center; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px;
  background: rgba(63,127,209,.14);
  color: var(--color-accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.contact-list strong { display: block; font-size: .95rem; color: var(--color-ink); margin-bottom: 2px; }
.contact-list a { color: var(--color-blue); font-weight: 600; }
.contact-list span { color: var(--color-text-muted); font-size: .92rem; }
.contact-note { font-size: .88rem; }

.map-wrap {
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* ===== Footer ===== */
.site-footer { background: var(--color-ink); color: #9aa4ae; padding: 36px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 700px) { .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-logo-img { height: 38px; }
.footer-inner p { margin: 2px 0 0; font-size: .85rem; }
.footer-copy { font-size: .82rem; margin: 0; }
.footer-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-right .icon-link { flex-shrink: 0; }

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #06240f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 60;
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }
