/* ============================================
   3P SISTEMAS DE ARMAZENAGEM — Design System
   Conceito: linguagem de desenho técnico/industrial
   (linhas de cota, marcadores de medida) aplicada
   à identidade já existente do cliente (laranja/azul/cinza)
   ============================================ */

:root {
  --cream: #FFFFFF;
  --cream-alt: #F6F6F7;
  --ink: #14171B;
  --ink-soft: #4A4F58;
  --navy: #16234F;
  --blue: #2247C4;
  --blue-light: #4E6BDB;
  --orange: #EA5B24;
  --orange-light: #F3844F;
  --steel: #8992A3;
  --white: #FFFFFF;
  --line: rgba(20, 23, 27, 0.14);

  --font-display: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-mono: 'Montserrat', sans-serif;

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

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---------- Utility: dimension-line motif ---------- */
.dim-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--steel);
  text-transform: uppercase;
}
.dim-line::before,
.dim-line::after {
  content: "";
  height: 1px;
  background: var(--steel);
  flex: 1;
}
.dim-line .tick {
  color: var(--orange);
}

/* ---------- Top utility bar ---------- */
.top-bar {
  background: #1a4fd6;
  color: rgba(255,255,255,0.92);
  padding: 8px 0;
}
.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.top-bar-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.top-bar a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.top-bar a:hover { color: var(--orange-light); }
.top-bar .top-bar-hours {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 620px) {
  .top-bar .top-bar-hours { display: none; }
  .top-bar-links { gap: 14px; }
}

.top-bar-social { display: flex; gap: 12px; align-items: center; }
.top-bar-social a {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.top-bar-social a:hover { background: rgba(255,255,255,0.3); }
.top-bar-social svg { width: 13px; height: 13px; fill: white; }


/* ---------- Casos de sucesso (Home) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,23,27,0.08); }
.case-card .thumb { aspect-ratio: 16/11; overflow: hidden; background: var(--steel); }
.case-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-card .body { padding: 22px; }
.case-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.case-card h3 { font-family: var(--font-display); font-size: 17px; color: var(--navy); margin-bottom: 8px; line-height: 1.35; }
.case-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.case-card .read-more { font-family: var(--font-mono); font-size: 12px; color: var(--blue); text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 34px; height: 34px;
  position: relative;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
}

nav.main-nav { display: flex; gap: 4px; align-items: center; }
nav.main-nav a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 16px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}
nav.main-nav a:hover { color: var(--ink); background: var(--cream-alt); }
nav.main-nav a.active { color: var(--orange); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--orange);
}

.btn-cta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--orange);
  color: var(--white) !important;
  padding: 11px 20px;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { background: #d4501d; transform: translateY(-1px); }
.btn-cta.btn-cta-green { background: #25D366; }
.btn-cta.btn-cta-green:hover { background: #1eb658; }
.nav-dropdown-arrow { font-size: 10px; margin-left: 4px; opacity: 0.6; }
.btn-cta.outline {
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid var(--navy);
}
.btn-cta.outline:hover { background: var(--navy); color: var(--white) !important; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 70px;
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--orange);
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h1 span { color: var(--orange); }
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 22px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 46px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.hero-stats div { flex: 1; padding-right: 20px; }
.hero-stats .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
}
.hero-stats .label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.hero-visual .frame-tag {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(20,23,27,0.82);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
}
.corner-brackets {
  position: absolute; inset: 10px;
  pointer-events: none;
}
.corner-brackets span {
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--orange);
}
.corner-brackets span:nth-child(1) { top:0; left:0; border-right:none; border-bottom:none; }
.corner-brackets span:nth-child(2) { top:0; right:0; border-left:none; border-bottom:none; }
.corner-brackets span:nth-child(3) { bottom:0; left:0; border-right:none; border-top:none; }
.corner-brackets span:nth-child(4) { bottom:0; right:0; border-left:none; border-top:none; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--cream-alt); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .dim-line, .section-navy .dim-line::before, .section-navy .dim-line::after { color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.4); }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 12px;
  color: var(--navy);
}
.section-navy .section-head h2 { color: var(--white); }
.section-head p { color: var(--ink-soft); margin-top: 14px; font-size: 16.5px; }
.section-navy .section-head p { color: rgba(255,255,255,0.72); }

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--cream);
  padding: 36px 30px;
  position: relative;
}
.service-card .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.08em;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 14px 0 12px;
  color: var(--navy);
}
.service-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.service-card ul li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  margin-bottom: 7px;
}
.service-card ul li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--orange);
}

/* ---------- Process / steps ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item .step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
}
.process-item h4 { font-family: var(--font-display); font-size: 19px; color: var(--navy); margin-bottom: 6px; }
.process-item p { color: var(--ink-soft); font-size: 15px; max-width: 60ch; }

/* ---------- Gallery ---------- */
.gallery-filter {
  display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap;
}
.gallery-filter button {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 16px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.gallery-filter button.active,
.gallery-filter button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--steel);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(20,23,27,0.75);
  color: var(--white);
  padding: 5px 9px;
  border-radius: var(--radius);
}

/* ---------- Cards (blog, testimonials) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,23,27,0.08); }
.post-card .thumb { aspect-ratio: 16/10; background: var(--steel); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px; }
.post-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.post-card h3 { font-family: var(--font-display); font-size: 18px; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.post-card p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Testimonial ---------- */
.quote-block {
  border-left: 3px solid var(--orange);
  padding-left: 28px;
  max-width: 720px;
}
.quote-block p { font-family: var(--font-display); font-size: 24px; color: var(--navy); line-height: 1.4; }
.quote-block .who { font-family: var(--font-mono); font-size: 12px; color: var(--steel); margin-top: 16px; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band .stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-35deg, transparent, transparent 58px, rgba(234,91,36,0.08) 58px, rgba(234,91,36,0.08) 60px, transparent 60px, transparent 118px, rgba(34,71,196,0.10) 118px, rgba(34,71,196,0.10) 120px);
  pointer-events: none;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
}
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(24px,3vw,34px); max-width: 20ch; }

/* ---------- Form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
textarea { resize: vertical; min-height: 110px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #16234f;
  color: rgba(255,255,255,0.65);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid p { font-size: 14px; display: block; margin-bottom: 10px; color: rgba(255,255,255,0.72); }
.footer-grid a:hover { color: var(--orange-light); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp floating button (single, FB Montagens style) ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25D366;
  color: var(--white) !important;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }


/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Breadcrumb / page hero (inner pages) ---------- */
.page-hero {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(32px, 4vw, 46px); }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--steel);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--steel); }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Popup modal ---------- */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,23,27,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.open { opacity: 1; visibility: visible; }
.popup-card {
  background: var(--cream);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 40px 36px 32px;
  transform: translateY(16px);
  transition: transform 0.3s ease;
  border-top: 3px solid var(--orange);
}
.popup-overlay.open .popup-card { transform: translateY(0); }
.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: none;
  font-size: 18px;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.popup-close:hover { background: var(--line); }
.popup-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
  padding-right: 30px;
}
.popup-card p.popup-sub {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin-bottom: 22px;
}
@media (max-width: 620px) {
  .popup-card { padding: 32px 22px 26px; }
}

/* ---------- Footer lead strip ---------- */
.footer-lead {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.footer-lead .stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-35deg, transparent, transparent 58px, rgba(234,91,36,0.07) 58px, rgba(234,91,36,0.07) 60px, transparent 60px, transparent 118px, rgba(78,107,219,0.09) 118px, rgba(78,107,219,0.09) 120px);
  pointer-events: none;
}
.footer-lead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.footer-lead-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 4px;
}
.footer-lead-text p {
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}
.footer-lead-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  max-width: 560px;
  min-width: 280px;
}
.footer-lead-form input {
  flex: 1;
  min-width: 140px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.footer-lead-form input::placeholder { color: rgba(255,255,255,0.45); }
.footer-lead-form input:focus { outline: 2px solid var(--orange); }
.footer-lead-form button {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .footer-lead-inner { flex-direction: column; align-items: flex-start; }
  .footer-lead-form { max-width: 100%; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; }
  .services-grid, .card-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(20,23,27,0.12);
    padding: 8px 0;
    z-index: 150;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    padding: 14px 24px;
    width: 100%;
    text-align: left;
  }
  nav.main-nav a.active::after { display: none; }

  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    width: 40px; height: 40px;
    font-size: 18px;
    color: var(--navy);
    cursor: pointer;
  }
  .header-inner .btn-cta { display: none; }
}
@media (max-width: 620px) {
  .services-grid, .card-grid, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  .header-inner { padding: 16px 20px; }
  .wrap { padding: 0 20px; }
  .process-item { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .channels-widget { bottom: 16px; right: 16px; }
  .video-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .brand small { display: none; }
  .brand { font-size: 15px; }
  .top-bar-links a:nth-child(3) { display: none; }
}

/* ---------- Color variety pass ---------- */
.section-alt {
  background: var(--cream-alt);
}
.gallery-item .tag.tag-montagem { background: rgba(234,91,36,0.9); }
.gallery-item .tag.tag-manutencao { background: rgba(34,71,196,0.9); }
.gallery-item .tag.tag-inspecao { background: rgba(22,35,79,0.92); }
.service-card:nth-child(3n+2) .idx { color: var(--blue) !important; }
.service-card:nth-child(3n+2) { border-left: 2px solid var(--blue); }
.case-card:nth-child(2) .meta { color: var(--blue); }
.case-card:nth-child(2) { border-top: 2px solid var(--blue); }
.case-card:nth-child(1) { border-top: 2px solid var(--orange); }
.case-card:nth-child(3) { border-top: 2px solid var(--navy); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(22,35,79,0.35) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item { position: relative; }


/* ---------- Full-bleed hero variant ---------- */
.hero-full {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-full .hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-full .hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,23,27,0.86) 0%, rgba(20,23,27,0.55) 55%, rgba(20,23,27,0.25) 100%);
}
.hero-full .wrap { position: relative; z-index: 2; }
.hero-full .eyebrow { color: var(--orange-light); }
.hero-full h1 { color: var(--white); max-width: 16ch; }
.hero-full h1 span { color: var(--orange-light); }
.hero-full p.lead { color: rgba(255,255,255,0.82); }
.hero-full .hero-stats { border-top-color: rgba(255,255,255,0.2); }
.hero-full .hero-stats .num { color: var(--white); }
.hero-full .hero-stats .label { color: rgba(255,255,255,0.6); }
@media (max-width: 900px) {
  .hero-full { min-height: 520px; }
  .hero-full .hero-scrim { background: linear-gradient(180deg, rgba(20,23,27,0.5) 0%, rgba(20,23,27,0.88) 100%); }
}

.hero-dots {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-dots span {
  width: 22px; height: 3px;
  background: rgba(255,255,255,0.35);
}
.hero-dots span.active { background: var(--orange); }
.hero-side-arrow {
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  z-index: 3;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
@media (max-width: 620px) {
  .hero-side-arrow { display: none; }
}


/* ---------- Video gallery placeholder ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(255,255,255,0.25);
}
.video-card .play-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
}
.video-card .soon-label {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ bars (full-width accordion) ---------- */
.faq-bars .faq-item {
  border: none;
  margin-bottom: 10px;
}
.faq-bars .faq-q {
  background: var(--orange);
  color: var(--white);
  padding: 18px 22px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
}
.faq-bars .faq-q::after { content: "▾"; color: var(--white); font-size: 16px; }
.faq-bars .faq-item.open .faq-q::after { content: "▴"; }
.faq-bars .faq-a { padding: 0 22px; }
.faq-bars .faq-item.open .faq-a { padding: 16px 22px 4px; }


/* ---------- Institutional collage (Home) ---------- */
.institutional-collage {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin: 0 auto;
}
.institutional-collage .photo {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--cream);
  box-shadow: 0 12px 30px rgba(20,23,27,0.15);
}
.institutional-collage .photo img { width: 100%; height: 100%; object-fit: cover; }
.institutional-collage .photo-1 { width: 62%; height: 62%; top: 0; left: 0; z-index: 2; }
.institutional-collage .photo-2 { width: 46%; height: 46%; bottom: 6%; right: 0; z-index: 3; }
.institutional-collage .photo-3 { width: 34%; height: 34%; top: 8%; right: 4%; z-index: 1; }
.institutional-collage .badge {
  position: absolute;
  bottom: 0; left: 14%;
  width: 44%; height: 44%;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 4;
  padding: 10px;
  box-shadow: 0 10px 26px rgba(22,35,79,0.35);
}
.institutional-collage .badge strong {
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.2;
}
.institutional-collage .badge span {
  font-size: 10.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .institutional-collage { max-width: 320px; }
}

.diferenciais-list { margin-top: 18px; }
.diferenciais-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-soft);
}
.diferenciais-list li strong { color: var(--navy); }
.diferenciais-list .check {
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- CTA band decorative circles variant ---------- */
.cta-band.circles .stripes { display: none; }
.cta-band .deco-circles {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta-band .deco-circles span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-band .deco-circles span:nth-child(1) { width: 260px; height: 260px; top: -80px; left: -60px; }
.cta-band .deco-circles span:nth-child(2) { width: 160px; height: 160px; bottom: -60px; right: 8%; background: rgba(234,91,36,0.12); }
.cta-band .deco-circles span:nth-child(3) { width: 90px; height: 90px; top: 20%; right: 20%; background: rgba(255,255,255,0.08); }


/* ---------- Services carousel (FB Montagens model) ---------- */
.services-carousel-wrap { position: relative; }
.services-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.services-carousel::-webkit-scrollbar { display: none; }
.services-carousel .service-card {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
}
.carousel-arrows { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.carousel-arrows button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.carousel-arrows button:hover { background: #1a4fd6; color: var(--white); border-color: #1a4fd6; }
.service-card .saiba-mais-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  border: 1px solid var(--navy);
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s ease, color 0.2s ease;
}
.service-card .saiba-mais-btn:hover { background: var(--navy); color: white; }
@media (max-width: 900px) {
  .services-carousel .service-card { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 620px) {
  .services-carousel .service-card { flex: 0 0 85%; }
}

/* ---------- Orange decorative CTA banner ---------- */
.cta-band.orange-banner {
  background: linear-gradient(120deg, var(--orange) 0%, #f3844f 100%);
}
.cta-band.orange-banner .deco-circles span { background: rgba(255,255,255,0.12) !important; }
.cta-band.orange-banner h2 { color: white; }
.cta-band.orange-banner .btn-cta { background: var(--navy); }
.cta-band.orange-banner .btn-cta:hover { background: #0f1a3a; }

/* ---------- Blog cards (Leituras importantes style) ---------- */
.post-card .meta-fb {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--steel);
  margin-bottom: 8px;
}
.post-card .meta-fb strong { color: var(--navy); }

/* ---------- Depoimentos cards ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}
.testimonial-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cream-alt);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--steel);
}
.testimonial-card .name { font-family: var(--font-display); font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.testimonial-card .stars { color: #f5a623; letter-spacing: 2px; margin-top: 10px; }


/* ---------- Responsive ---------- */

/* ============================================
   Blog (cards + post) — adicionado na conversão PHP
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20,23,27,0.1);
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.blog-card-body { padding: 18px 20px 22px; }
.blog-card-date {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}
.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  margin: 8px 0 8px;
}
.blog-card-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.blog-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.blog-post-content h2, .blog-post-content h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 28px 0 12px;
}
.blog-post-content p { margin-bottom: 16px; }
.blog-post-content img { width: 100%; border-radius: 4px; margin: 16px 0; }
.blog-post-content ul, .blog-post-content ol { margin: 0 0 16px 20px; }

/* ---------- Services grid (novo modelo, estilo card limpo) ---------- */
.services-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .services-grid-new { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid-new { grid-template-columns: 1fr; }
}
.service-card-new {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 18px rgba(20,23,27,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(20,23,27,0.12);
}
.service-card-new .photo,
.service-card-new .placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  display: block;
}
.service-card-new .photo { object-fit: cover; }
.service-card-new .placeholder {
  border-bottom: 1.5px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-size: 13px;
  background: var(--cream-alt);
}
.service-card-new .body { padding: 22px 24px 26px; }
.service-card-new .cat-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.service-card-new h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card-new p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.service-card-new .saiba-mais-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border: 1.5px solid var(--orange);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  transition: background 0.2s ease, color 0.2s ease;
}
.service-card-new .saiba-mais-btn:hover { background: var(--orange); color: white; }

/* ---------- Foto única em moldura circular (Sobre) ---------- */
.sobre-circle {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 460px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20,23,27,0.18);
  background: var(--cream-alt);
}
.sobre-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .sobre-circle { max-width: 340px; }
}
