/* ============= Grupo Croácia — Design Tokens ============= */
:root {
  --red: #C8102E;
  --red-dark: #A50D24;
  --blue-dark: #1B2A4A;
  --blue-deep: #0F1D36;
  --yellow: #FFD100;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #F0F0F0;
  --gray-border: #E5E7EB;
  --gray-mid: #6B7280;
  --black-soft: #1D1D1D;

  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  font-family: var(--font-body);
  color: var(--black-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 13px;
  color: var(--blue-dark);
  text-transform: uppercase; letter-spacing: 3px;
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 32px;
  color: var(--black-soft); letter-spacing: 0.5px; margin-top: 8px;
}
.title-rule { width: 60px; height: 4px; background: var(--red); margin: 18px auto 0; }

/* ============= Buttons ============= */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 6px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--blue-dark); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,29,54,.28); }
.btn-outline-light { border-color: rgba(255,255,255,.85); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--blue-dark); }
.btn-outline-red { border-color: var(--blue-dark); color: var(--blue-dark); background: transparent; }
.btn-outline-red:hover { background: var(--blue-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue-dark); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }
.btn-dark { background: var(--blue-deep); color: white; }
.btn-dark:hover { background: black; transform: translateY(-2px); }
/* WhatsApp — sempre verde com ícone */
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ebd5a; color: white; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.35); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ============= Header ============= */
.top-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--red); z-index: 101; }
.header {
  position: fixed; top: 3px; left: 0; right: 0; height: 80px;
  background: var(--blue-dark); z-index: 100;
  transition: box-shadow .25s ease, background .25s ease;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.header-inner {
  max-width: 1280px; height: 100%; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.logo-img { height: 44px; width: auto; max-height: 44px; display: block; }
.header { overflow: visible; }
.header .logo { max-height: 90px; overflow: hidden; }
/* Logo tradicional (texto escuro) sobre fundo escuro → chip branco */
.header .logo-img,
.footer .logo-img {
  background: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.header .logo-img { height: 60px; max-height: 60px; }
.footer .logo-img { height: 52px; max-height: 52px; }
.admin-side .logo-img { height: 48px; max-height: 48px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.login-card .logo-img { height: 72px; max-height: 72px; margin: 0 auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-family: var(--font-body); font-size: 13px; color: var(--white);
  text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600;
  padding: 28px 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--red); }
.nav a.active { border-bottom-color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { display: none; align-items: center; gap: 8px; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; }
@media (min-width: 1100px) { .phone-link { display: inline-flex; } }
.menu-toggle { display: none; color: var(--white); }
@media (max-width: 960px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
}

/* ============= Hero ============= */
.hero {
  position: relative; min-height: 100vh; padding-top: 83px;
  display: flex; align-items: center; overflow: hidden; background: var(--blue-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(15,29,54,.92) 0%, rgba(15,29,54,.78) 55%, rgba(15,29,54,.45) 100%),
    url('../img/hero-croacia.png') center/cover no-repeat,
    var(--blue-deep);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 80% 60%, rgba(200,16,46,.18), transparent 60%),
    radial-gradient(600px 600px at 95% 30%, rgba(255,255,255,.04), transparent 70%);
}
.hero-silhouette {
  position: absolute; right: -40px; bottom: 0; width: 55%; height: 75%;
  background:
    linear-gradient(transparent 60%, rgba(0,0,0,.45) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 80px);
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 30%, #000 100%);
          mask: linear-gradient(180deg, transparent 0, #000 30%, #000 100%);
  pointer-events: none;
}
.hero-silhouette::before {
  content: ''; position: absolute; right: 18%; bottom: 20%;
  width: 4px; height: 60%; background: rgba(255,255,255,.06);
  box-shadow: -180px -8px 0 4px rgba(255,255,255,.06);
  transform-origin: bottom; transform: rotate(8deg);
}
.hero-silhouette::after {
  content: ''; position: absolute; right: 8%; bottom: 0;
  width: 320px; height: 24%;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.08));
  clip-path: polygon(0 100%, 8% 30%, 28% 30%, 35% 0, 65% 0, 72% 30%, 92% 30%, 100% 100%);
}

.hero-grid {
  position: relative; z-index: 2;
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 80px 32px 120px;
  display: grid; grid-template-columns: 55% 1fr; gap: 48px; align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding: 60px 24px 100px; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,16,46,.15); color: #FF6076;
  border: 1px solid rgba(200,16,46,.45);
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 20px; border-radius: 999px;
}
.hero h1 {
  font-family: var(--font-heading); font-weight: 800; color: var(--white);
  font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; letter-spacing: -0.4px;
  margin-top: 24px; text-wrap: balance;
}
.hero h1 .accent { color: var(--white); }
.hero p.lead { margin-top: 24px; color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.6; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, auto); gap: 40px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); max-width: 540px;
}
.hero-stat strong { display: block; font-family: var(--font-heading); font-weight: 800; color: var(--white); font-size: 32px; letter-spacing: -0.5px; }
.hero-stat span { color: rgba(255,255,255,.6); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin-top: 4px; display: block; }

/* Checklist do hero — destaca diferenciais com ✓ amarelo */
.hero-checklist {
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  list-style: none; display: grid;
  grid-template-columns: repeat(2, auto); gap: 14px 32px;
  max-width: 540px;
}
.hero-checklist li {
  position: relative; padding-left: 28px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  color: var(--white); line-height: 1.3;
}
.hero-checklist li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--yellow); font-weight: 800; font-size: 18px;
}
@media (max-width: 540px) { .hero-checklist { grid-template-columns: 1fr; gap: 10px; } }

/* Botão outline-hero — transparente, fica preenchido só no hover */
.btn-outline-hero {
  background: transparent;
  border: 2px solid rgba(255,255,255,.45);
  color: rgba(255,255,255,.85);
}
.btn-outline-hero:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.hero-card-stack { position: relative; height: 460px; display: none; }
@media (min-width: 900px) { .hero-card-stack { display: block; } }
.hero-card {
  position: absolute; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 12px; padding: 22px; width: 280px; color: var(--white);
}
.hero-card h4 { font-family: var(--font-heading); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.6); font-weight: 600; }
.hero-card .label { margin-top: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 18px; }
.hero-card .meta { margin-top: 16px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; }
.hero-card-stack .c1 { top: 20px; right: 0; }
.hero-card-stack .c2 { top: 170px; right: 80px; border-color: rgba(200,16,46,.4); background: rgba(200,16,46,.08); }
.hero-card-stack .c3 { top: 320px; right: 20px; }

.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-indicator .line { width: 1px; height: 36px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.5)); animation: scrollPulse 1.8s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{ opacity:.35; transform:scaleY(.7); } 50%{ opacity:1; transform:scaleY(1); } }

/* ============= Sections ============= */
.section { padding: 96px 0; }
.section--gray { background: var(--gray-100); }
.section--dark {
  background: var(--blue-dark); color: var(--white); position: relative;
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  margin: -40px 0; padding: 140px 0;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow.eyebrow--dark { color: rgba(255,255,255,.7); }
.section-head .section-title { color: inherit; }
.section-head--dark .section-title { color: var(--white); }
.section-head p.kicker { margin-top: 14px; color: var(--gray-mid); font-size: 16px; }
.section-head--dark p.kicker { color: rgba(255,255,255,.65); }

/* ============= Unidades ============= */
.unidades { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .unidades { grid-template-columns: 1fr; } }
.unidade-card { position: relative; height: 480px; border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.unidade-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.unidade-bg { position: absolute; inset: 0; transition: transform .6s ease; }
.unidade-card:hover .unidade-bg { transform: scale(1.06); }
.unidade-bg.eq {
  background:
    linear-gradient(180deg, rgba(15,29,54,.35) 0%, transparent 35%, rgba(15,29,54,.95) 100%),
    url('../img/equipamentos-leves.png') center/cover no-repeat,
    var(--blue-deep);
}
.unidade-bg.gd {
  background:
    linear-gradient(180deg, rgba(15,29,54,.35) 0%, transparent 35%, rgba(15,29,54,.95) 100%),
    url('../img/linha-md.avif') center/cover no-repeat,
    var(--blue-deep);
}
.unidade-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 40px 36px; color: var(--white); z-index: 2; }
.unidade-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); padding: 7px 14px; border-radius: 4px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(200,16,46,.4);
}
.unidade-tag.gd { background: var(--yellow); color: var(--blue-deep); box-shadow: 0 4px 12px rgba(255,209,0,.4); }
.unidade-content h3 { font-family: var(--font-heading); font-weight: 800; font-size: 30px; letter-spacing: -0.3px; }
.unidade-content p { margin-top: 12px; color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.55; max-width: 440px; }
.unidade-actions { margin-top: 26px; display: flex; align-items: center; gap: 16px; }
.unidade-actions .btn {
  background: var(--white); color: var(--blue-dark);
  padding: 14px 22px; font-weight: 700; font-size: 14px;
  letter-spacing: .5px; text-transform: uppercase;
  border-radius: 6px; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.unidade-card:hover .unidade-actions .btn { background: var(--yellow); color: var(--blue-deep); box-shadow: 0 10px 24px rgba(255,209,0,.4); }
.unidade-card:hover .unidade-arrow { transform: translateX(6px); }
.unidade-arrow { transition: transform .25s; display: inline-block; }

/* ============= Equipamentos grid ============= */
.equip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .equip-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .equip-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .equip-grid { grid-template-columns: 1fr; } }

.equip-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: 8px;
  overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; display: flex; flex-direction: column;
}
.equip-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.equip-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,29,54,.12); }
.equip-card:hover::before { transform: scaleX(1); }
.equip-img {
  aspect-ratio: 1/1;
  background: repeating-linear-gradient(45deg, #f0f0f0 0 12px, #e9e9e9 12px 24px);
  position: relative; display: grid; place-items: center;
  color: #b9b9b9; font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 1px;
  overflow: hidden;
}
.equip-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 10px; }
.equip-img .placeholder-mark {
  width: 56px; height: 56px; border: 2px dashed #c9c9c9; border-radius: 8px;
  display: grid; place-items: center; background: rgba(255,255,255,.5);
}
.equip-img > span { position: absolute; bottom: 12px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; color: #aaa; }
.equip-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.equip-cat {
  display: inline-block; background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px;
  padding: 4px 9px; border-radius: 4px; align-self: flex-start;
}
.equip-cat.type-locação, .equip-cat.type-locacao { background: var(--red); }
.equip-cat.type-venda { background: #1B2A4A; }
.equip-cat.type-locação-e-venda, .equip-cat.type-ambos { background: #10b981; }
.equip-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--black-soft); line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px;
}
.equip-meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray-mid); padding: 12px 0 4px; border-top: 1px solid var(--gray-border); margin-top: 4px; }
.equip-meta b { color: var(--black-soft); font-weight: 600; }

/* ============= Diferenciais ============= */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-card {
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; padding: 40px 28px 36px; text-align: center;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.diff-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.diff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,209,0,.5);
  background: linear-gradient(180deg, rgba(255,209,0,.10) 0%, rgba(200,16,46,.05) 100%);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.diff-card:hover::before { transform: scaleX(1); }
.diff-icon {
  width: 72px; height: 72px; margin: 0 auto 24px;
  display: grid; place-items: center;
  color: var(--yellow);
  background: rgba(255,209,0,.12);
  border: 1px solid rgba(255,209,0,.25);
  border-radius: 16px;
  transition: transform .22s ease, background .22s ease;
}
.diff-card:hover .diff-icon { transform: scale(1.08); background: rgba(255,209,0,.18); }
.diff-icon svg { width: 32px; height: 32px; }
.diff-card h3 { font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: var(--white); letter-spacing: -0.3px; }
.diff-card p { margin-top: 12px; color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.6; }

/* ============= Serviços ============= */
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .serv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .serv-grid { grid-template-columns: 1fr; } }
.serv-card {
  background: var(--white); border: 1px solid var(--gray-border); border-radius: 8px;
  padding: 40px 32px; position: relative;
  transition: background .22s, border-color .22s, transform .22s;
  border-top: 4px solid var(--gray-border);
}
.serv-card:hover { background: var(--gray-100); border-top-color: var(--red); transform: translateY(-4px); }
.serv-icon { width: 56px; height: 56px; background: rgba(200,16,46,.1); color: var(--red); border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; }
.serv-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 22px; color: var(--black-soft); }
.serv-card p { margin-top: 12px; color: var(--gray-mid); font-size: 15px; line-height: 1.6; }
.serv-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--red); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.serv-link:hover { text-decoration: underline; }

/* Serviços — layout com fotos (estilo cases) */
.serv-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 44px;
}
.eyebrow--dot { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow--dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); display: inline-block;
}
.serv-head-title {
  font-family: var(--font-heading);
  font-weight: 800; font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12; letter-spacing: -.5px;
  color: var(--blue-dark); margin-top: 14px; max-width: 620px;
}
.serv-head-link {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  border: 1.5px solid var(--gray-200, #e3e6ec);
  color: var(--blue-dark); font-weight: 700; font-size: 14px;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.serv-head-link:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); transform: translateY(-2px); }

.serv-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .serv-photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .serv-photo-grid { grid-template-columns: 1fr; } }
.serv-photo-card {
  display: block; background: var(--white);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(15,29,54,.08);
  transition: transform .28s ease, box-shadow .28s ease;
}
.serv-photo-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(15,29,54,.16); }
.serv-photo-img {
  height: 220px; background-size: cover; background-position: center;
  transition: transform .5s ease;
}
.serv-photo-card:hover .serv-photo-img { transform: scale(1.06); }
.serv-photo-body { padding: 24px 26px 28px; }
.serv-photo-body h3 {
  font-family: var(--font-heading); font-weight: 700; font-size: 21px;
  color: var(--blue-dark);
}
.serv-photo-body p { margin-top: 10px; color: var(--gray-mid); font-size: 15px; line-height: 1.6; }
@media (max-width: 720px) {
  .serv-head { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ============= Blog ============= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid var(--gray-border); transition: transform .22s, box-shadow .22s; display: block; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(15,29,54,.10); }
.blog-cover {
  aspect-ratio: 16/9; position: relative;
  background: repeating-linear-gradient(135deg, #e9eaee 0 14px, #e0e2e8 14px 28px);
  overflow: hidden;
}
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-cover .cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700; padding: 5px 10px; border-radius: 4px; letter-spacing: 1.2px; text-transform: uppercase;
  z-index: 2;
}
.blog-cover .placeholder-tag { position: absolute; bottom: 12px; right: 14px; font-family: ui-monospace, monospace; font-size: 10px; color: #999; letter-spacing: 1px; }
.blog-body { padding: 24px; }
.blog-body .date { font-size: 12px; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 1px; }
.blog-body h3 {
  font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: var(--black-soft);
  margin-top: 8px; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-body .read { display: inline-flex; gap: 6px; margin-top: 18px; color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 0.5px; }

/* ============= CTA ============= */
.cta-strip {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 100%);
  padding: 88px 0; text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(255,255,255,.12), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(0,0,0,.18), transparent 60%);
}
.cta-strip > .container { position: relative; z-index: 1; }
.cta-strip h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 4vw, 40px); }
.cta-strip p { margin-top: 14px; font-size: 18px; opacity: .95; }
.cta-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-yellow {
  background: var(--yellow); color: var(--blue-deep);
  padding: 80px 0; text-align: center; position: relative;
}
.cta-yellow::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--blue-deep); }
.cta-yellow h2 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 4vw, 38px); text-transform: uppercase; letter-spacing: -0.5px; }
.cta-yellow p { margin-top: 12px; font-size: 17px; opacity: .85; }

/* ============= Footer ============= */
.footer { background: var(--blue-deep); color: var(--white); position: relative; padding: 64px 0 28px; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-heading); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 18px; color: var(--white); }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a, .footer p, .footer li { color: rgba(255,255,255,.7); font-size: 14px; line-height: 1.6; }
.footer a:hover { color: var(--red); }
.footer .brand-line { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,.5); }
.footer .brand-line .palfinger { background: var(--yellow); color: var(--blue-deep); font-family: var(--font-heading); font-weight: 800; letter-spacing: 1.5px; font-size: 11px; padding: 4px 8px; border-radius: 3px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: rgba(255,255,255,.5); font-size: 13px; }

/* ============= WhatsApp floating ============= */
.whats-fab {
  position: fixed; right: 24px; bottom: 24px; width: 60px; height: 60px;
  background: #25D366; color: white; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  z-index: 60; transition: transform .2s, box-shadow .2s;
  cursor: pointer; padding: 0; border: 0;
  animation: whatsPulse 2.4s ease-in-out infinite;
}
.whats-fab:hover { transform: scale(1.08); box-shadow: 0 16px 36px rgba(37,211,102,.55); }
@keyframes whatsPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.45); }
  50%      { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}


/* ============= Mobile menu ============= */
.mobile-menu {
  position: fixed; inset: 0; background: var(--blue-deep);
  z-index: 110; display: flex; flex-direction: column;
  padding: 96px 32px 40px; gap: 8px;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-heading); font-weight: 700; font-size: 22px;
  color: white; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.mobile-close {
  position: absolute; top: 20px; right: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: white; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
  transition: background .15s, transform .15s;
}
.mobile-close:hover { background: var(--red); transform: scale(1.05); }

/* ============= Inner page hero ============= */
.inner-hero { background: var(--blue-dark); color: white; padding: 140px 0 64px; position: relative; overflow: hidden; }
.inner-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(15,29,54,.92), rgba(15,29,54,.6)),
    repeating-linear-gradient(135deg, #1a2540 0 20px, #15203a 20px 40px);
}
.inner-hero > .container { position: relative; z-index: 1; }
.inner-hero--small { padding: 120px 0 48px; }
.inner-hero--mini { background: var(--gray-100); color: var(--black-soft); padding: 110px 0 36px; }
.inner-hero--mini::before { display: none; }
.inner-hero--mini .breadcrumb a { color: var(--gray-mid); }
.inner-hero--mini .breadcrumb span.sep, .inner-hero--mini .breadcrumb .current { color: var(--black-soft); }
.breadcrumb { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .current { color: white; }
.breadcrumb .sep { color: rgba(255,255,255,.4); }
.inner-hero h1 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.5px; text-transform: uppercase; }
.inner-hero p { margin-top: 14px; color: rgba(255,255,255,.78); font-size: 17px; max-width: 640px; }
.inner-hero--mini p { color: var(--gray-mid); }

/* ============= Filter bar ============= */
.filter-bar {
  position: sticky; top: 83px; z-index: 50; background: white;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 4px 20px rgba(0,0,0,.04); padding: 16px 0;
  overflow: hidden;
}
.filter-bar-inner { display: flex; align-items: center; gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 24px; flex-wrap: wrap; min-width: 0; }
.filter-pills { display: flex; gap: 8px; overflow-x: auto; flex: 1 1 0; min-width: 0; scrollbar-width: thin; padding: 4px 0; -webkit-overflow-scrolling: touch; }
.filter-pills::-webkit-scrollbar { height: 4px; }
.filter-pills::-webkit-scrollbar-thumb { background: var(--gray-border); border-radius: 2px; }
.filter-pill {
  flex-shrink: 0; background: var(--gray-100); color: var(--blue-dark);
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  padding: 9px 16px; border-radius: 999px; border: 1px solid transparent;
  text-transform: uppercase; letter-spacing: 0.5px; transition: all .18s; cursor: pointer; display: inline-block;
}
.filter-pill:hover { color: var(--red); }
.filter-pill.active { background: var(--red); color: white; }
.search-box { position: relative; flex-shrink: 0; }
.search-box { width: 240px; max-width: 100%; }
.search-box input {
  background: var(--gray-100); border: 1px solid transparent;
  padding: 10px 16px 10px 40px; border-radius: 6px;
  font-family: inherit; font-size: 14px; width: 100%;
  transition: border-color .15s, background .15s;
}
@media (max-width: 720px) {
  .filter-bar-inner { gap: 12px; }
  .search-box { width: 100%; }
}
.search-box input:focus { outline: none; background: white; border-color: var(--red); }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-mid); }

/* ============= Pagination ============= */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.pagination a, .pagination button, .pagination span {
  min-width: 40px; height: 40px;
  background: white; border: 1px solid var(--gray-border);
  font-family: inherit; font-weight: 600; font-size: 14px; color: var(--blue-dark);
  border-radius: 6px; padding: 0 12px; transition: all .15s;
  display: inline-flex; align-items: center; justify-content: center;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .active { background: var(--red); color: white; border-color: var(--red); }
.pagination .disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }

/* ============= Guindaste detalhe ============= */
.gd-detail-top { padding-top: 56px; padding-bottom: 56px; background: white; }
.gd-detail-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .gd-detail-grid { grid-template-columns: 1fr; gap: 32px; } }

.gd-detail-image {
  background: white; border: 1px solid var(--gray-border); border-radius: 12px;
  padding: 24px; aspect-ratio: 4/3; display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.gd-detail-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gd-image-placeholder { background: var(--blue-dark); color: rgba(255,255,255,.7); padding: 60px; border-radius: 12px; text-align: center; width: 100%; }

.gd-detail-info { display: flex; flex-direction: column; align-items: flex-start; }
.gd-detail-info .palfinger-wordmark { margin-bottom: 16px; }
.gd-name {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(28px, 4vw, 38px); color: var(--black-soft);
  letter-spacing: -0.5px; margin-bottom: 4px;
  border-bottom: 2px solid var(--gray-border); padding-bottom: 14px;
  align-self: stretch;
}
.gd-subtitle { color: var(--red); font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 12px; }

.gd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; align-self: stretch; }
.gd-stat {
  background: var(--gray-100); padding: 16px 14px; border-radius: 8px;
  border-left: 4px solid var(--red); text-align: center;
}
.gd-stat strong {
  display: block; font-family: var(--font-heading); font-weight: 800;
  font-size: 22px; color: var(--blue-dark); letter-spacing: -.3px;
}
.gd-stat span { display: block; font-size: 11px; color: var(--gray-mid); margin-top: 6px; line-height: 1.3; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 480px) { .gd-stats { grid-template-columns: 1fr; } }

.gd-lead { margin-top: 24px; font-size: 16px; line-height: 1.6; color: var(--blue-dark); font-weight: 600; }

.gd-features {
  list-style: none; margin-top: 20px; padding: 0; align-self: stretch;
  display: flex; flex-direction: column; gap: 8px;
}
.gd-features li {
  position: relative; padding-left: 24px;
  font-size: 14px; line-height: 1.55; color: var(--black-soft);
}
.gd-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; background: var(--yellow); border-radius: 2px;
}

.gd-availability { margin-top: 28px; padding: 20px 22px; background: rgba(255,209,0,.1); border-radius: 8px; border-left: 4px solid var(--yellow); align-self: stretch; }
.gd-availability h4 {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  color: var(--blue-dark); letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 10px;
}
.gd-availability ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.gd-availability li { font-size: 13px; color: var(--black-soft); padding-left: 18px; position: relative; line-height: 1.5; }
.gd-availability li::before { content: '▸'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.gd-cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; align-self: stretch; }
.gd-cta-row .btn { flex: 1; min-width: 200px; justify-content: center; padding: 14px 20px; }

/* ============= Tabs reutilizáveis (estilo Palfinger/Croácia) ============= */
.gd-tabs { background: white; border-radius: 4px; overflow: hidden; }
.gd-tabs-nav {
  display: flex; gap: 0; background: var(--red);
  flex-wrap: wrap;
}
.gd-tab {
  flex: 1; min-width: 130px; padding: 18px 20px; cursor: pointer;
  background: var(--red); border: 0; border-right: 1px solid rgba(255,255,255,.18);
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  color: rgba(255,255,255,.95); letter-spacing: 1px; text-transform: uppercase;
  transition: background .18s, color .18s;
  position: relative;
}
.gd-tab:last-child { border-right: 0; }
.gd-tab:hover { background: var(--red-dark); }
.gd-tab.active {
  background: var(--red-dark);
  color: var(--yellow);
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.gd-tab-panel { display: none; padding: 36px 40px 40px; background: white; }
.gd-tab-panel.active { display: block; }
.gd-tab-panel h3 {
  font-family: var(--font-heading); font-weight: 800; font-size: 26px;
  color: var(--red); margin-bottom: 20px;
  letter-spacing: -0.2px;
}
.gd-tab-panel p { font-size: 15px; line-height: 1.7; color: var(--black-soft); margin-bottom: 14px; }
.gd-tab-panel p:last-child { margin-bottom: 0; }

.gd-tech-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gd-tech-table tr:nth-child(odd) { background: var(--gray-100); }
.gd-tech-table td { padding: 12px 16px; }
.gd-tech-table td:first-child { color: var(--gray-mid); font-weight: 600; width: 50%; }
.gd-tech-table td:last-child { color: var(--black-soft); font-weight: 600; }

.gd-grafico { text-align: center; }
.gd-grafico img { max-width: 100%; height: auto; border-radius: 8px; }
.gd-grafico-empty {
  text-align: center; padding: 40px 24px; color: var(--gray-mid);
  background: var(--gray-100); border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.gd-grafico-empty svg { color: var(--red); opacity: .5; }
.gd-grafico-empty p { font-size: 14px; max-width: 360px; line-height: 1.6; }

/* ============= Equipamento detalhe ============= */
.eq-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 64px 0; }
@media (max-width: 900px) { .eq-detail { grid-template-columns: 1fr; gap: 32px; } }
.eq-image {
  background: white; border: 1px solid var(--gray-border); border-radius: 12px;
  padding: 24px; aspect-ratio: 1/1; display: grid; place-items: center; position: relative; overflow: hidden;
}
.eq-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.eq-image .placeholder-mark { width: 96px; height: 96px; border: 2px dashed #c9c9c9; border-radius: 12px; display: grid; place-items: center; color: #b9b9b9; }
.eq-image .placeholder-tag { position: absolute; bottom: 16px; left: 16px; font-family: ui-monospace, monospace; font-size: 11px; color: #aaa; letter-spacing: 1px; }
.eq-info h1 { font-family: var(--font-heading); font-weight: 700; font-size: 32px; color: var(--black-soft); margin-top: 16px; letter-spacing: -0.3px; }
.eq-info .desc { margin-top: 16px; font-size: 16px; line-height: 1.7; color: var(--gray-mid); }
.eq-info .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.eq-specs { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--gray-border); }
.eq-specs h3 { font-family: var(--font-heading); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 16px; }
.eq-specs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.eq-specs tr:nth-child(odd) { background: var(--gray-100); }
.eq-specs td { padding: 12px 16px; }
.eq-specs td:first-child { color: var(--gray-mid); font-weight: 600; width: 50%; }
.eq-specs td:last-child { color: var(--black-soft); font-weight: 600; }
.eq-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.eq-actions .btn { white-space: normal; padding-left: 16px; padding-right: 16px; }
@media (max-width: 480px) {
  .eq-actions .btn { font-size: 14px; letter-spacing: .5px; padding: 14px 14px; }
}

/* ============= Guindastes ============= */
.guindaste-hero {
  background: var(--blue-deep); color: white; min-height: 60vh;
  padding: 140px 0 80px; position: relative; overflow: hidden; text-align: center;
}
.guindaste-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,29,54,.85), rgba(15,29,54,.95)),
    repeating-linear-gradient(45deg, #1f2a48 0 30px, #16203a 30px 60px);
}
.guindaste-hero > .container { position: relative; z-index: 1; }
.palfinger-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--blue-deep);
  font-family: var(--font-heading); font-weight: 800; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 10px 22px; border-radius: 4px; margin-bottom: 24px;
}
.palfinger-wordmark {
  display: inline-block; background: var(--yellow); color: var(--blue-deep);
  font-family: var(--font-heading); font-weight: 800; font-size: 11px;
  letter-spacing: 2px; padding: 4px 10px; border-radius: 3px; vertical-align: middle;
}
.guindaste-hero h1 {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.5px;
  text-transform: uppercase; text-wrap: balance;
}
.guindaste-hero p { margin: 18px auto 0; max-width: 560px; color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.6; }
.linha-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .linha-grid { grid-template-columns: 1fr; } }
.linha-card { background: white; border: 1px solid var(--gray-border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.linha-cover {
  aspect-ratio: 16/10;
  background: repeating-linear-gradient(135deg, #2a3550 0 18px, #232d47 18px 36px);
  position: relative; overflow: hidden;
}
.linha-cover img { width: 100%; height: 100%; object-fit: cover; }
.linha-cover .garantia {
  position: absolute; top: 16px; right: 16px;
  background: var(--yellow); color: var(--blue-deep);
  font-weight: 800; font-size: 11px; letter-spacing: 1.5px;
  padding: 6px 12px; border-radius: 4px;
}
.linha-cover .ph-tag { position: absolute; bottom: 16px; left: 16px; font-family: ui-monospace, monospace; font-size: 11px; color: rgba(255,255,255,.5); }
.linha-body { padding: 32px; }
.linha-body h3 { font-family: var(--font-heading); font-weight: 800; font-size: 24px; color: var(--black-soft); }
.linha-body p { margin-top: 12px; color: var(--gray-mid); font-size: 15px; line-height: 1.6; }
.linha-body ul { margin-top: 20px; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.linha-body li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--black-soft); }
.linha-body li::before { content: ''; width: 8px; height: 8px; background: var(--yellow); border-radius: 2px; margin-top: 6px; flex-shrink: 0; }

/* ============= Blog page ============= */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
@media (max-width: 900px) { .blog-layout { grid-template-columns: 1fr; } }
.blog-list { display: flex; flex-direction: column; gap: 24px; }
.blog-list-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 28px;
  background: white; border: 1px solid var(--gray-border); border-radius: 8px;
  overflow: hidden; transition: transform .2s, box-shadow .2s;
}
@media (max-width: 700px) { .blog-list-card { grid-template-columns: 1fr; } }
.blog-list-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.blog-list-card .blog-cover { aspect-ratio: auto; height: 100%; min-height: 180px; }
.blog-list-card .blog-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.blog-list-card h3 { font-size: 22px; -webkit-line-clamp: 2; }
.blog-list-card .excerpt {
  margin-top: 12px; color: var(--gray-mid); font-size: 14px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.sidebar { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 110px; align-self: start; }
.sidebar-block { background: white; border: 1px solid var(--gray-border); border-radius: 8px; padding: 24px; }
.sidebar-block h4 {
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--blue-dark);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--red); display: inline-block;
}
.sidebar-block ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-block ul a {
  color: var(--black-soft); font-size: 14px; display: flex; justify-content: space-between;
  padding: 6px 0; border-bottom: 1px solid var(--gray-border); transition: color .15s;
}
.sidebar-block ul a:hover { color: var(--red); }
.sidebar-block ul a span { color: var(--gray-mid); font-size: 12px; }
.sidebar-recent { display: flex; flex-direction: column; gap: 14px; }
.sidebar-recent a { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.sidebar-recent .thumb { width: 64px; height: 64px; background: repeating-linear-gradient(135deg, #e9eaee 0 8px, #e0e2e8 8px 16px); border-radius: 6px; overflow: hidden; }
.sidebar-recent .thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent strong {
  font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--black-soft);
  line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sidebar-recent .date { font-size: 11px; color: var(--gray-mid); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ============= Post individual ============= */
.post-article { max-width: 800px; margin: 0 auto; padding: 56px 24px; }
.post-cover {
  aspect-ratio: 16/9; border-radius: 12px;
  background: repeating-linear-gradient(135deg, #e9eaee 0 14px, #e0e2e8 14px 28px);
  margin-bottom: 32px; position: relative; overflow: hidden;
}
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover .placeholder-tag { position: absolute; bottom: 16px; left: 16px; font-family: ui-monospace, monospace; font-size: 11px; color: #999; }
.post-meta { display: flex; gap: 16px; align-items: center; font-size: 13px; color: var(--gray-mid); margin-bottom: 16px; flex-wrap: wrap; }
.post-meta .cat { background: var(--red); color: white; padding: 4px 10px; border-radius: 4px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 11px; }
.post-article h1 {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(28px, 4vw, 38px); color: var(--black-soft);
  letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 24px;
}
.post-content { font-family: var(--font-body); font-size: 17px; line-height: 1.8; color: #333; }
.post-content p { margin-bottom: 20px; }
.post-content h2 { font-family: var(--font-heading); font-weight: 700; font-size: 24px; color: var(--black-soft); margin: 36px 0 16px; }
.post-content h3 { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--black-soft); margin: 28px 0 12px; }
.post-content blockquote { border-left: 4px solid var(--red); padding: 8px 24px; margin: 24px 0; font-style: italic; color: var(--blue-dark); background: var(--gray-100); }
.post-content ul, .post-content ol { margin: 0 0 20px 24px; }
.post-content img { border-radius: 8px; margin: 24px 0; }
.post-content a { color: var(--red); text-decoration: underline; }
.post-share { display: flex; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--gray-border); align-items: center; flex-wrap: wrap; }
.post-share span { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-mid); font-weight: 700; }
.post-share a { width: 36px; height: 36px; border-radius: 50%; background: var(--gray-100); color: var(--blue-dark); display: grid; place-items: center; transition: all .15s; }
.post-share a:hover { background: var(--red); color: white; }

/* ============= Sobre / Timeline ============= */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 32px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; background: var(--red); transform: translateX(-50%); }
@media (max-width: 700px) { .timeline::before { left: 24px; } }
.timeline-item { position: relative; width: 50%; padding: 24px 40px; }
.timeline-item:nth-child(odd) { margin-left: 0; padding-right: 56px; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; padding-left: 56px; }
@media (max-width: 700px) {
  .timeline-item, .timeline-item:nth-child(odd), .timeline-item:nth-child(even) {
    width: 100%; margin-left: 0; padding: 16px 0 16px 56px; text-align: left;
  }
}
.timeline-dot {
  position: absolute; width: 20px; height: 20px;
  background: var(--red); border-radius: 50%;
  border: 4px solid white; box-shadow: 0 0 0 3px var(--red);
  top: 32px; left: 50%; transform: translateX(-50%);
}
.timeline-item:nth-child(odd) .timeline-dot { right: -10px; left: auto; transform: none; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; transform: none; }
@media (max-width: 700px) {
  .timeline-dot, .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 14px; right: auto; transform: none;
  }
}
.timeline-year { font-family: var(--font-heading); font-weight: 800; font-size: 36px; color: var(--red); letter-spacing: -1px; }
.timeline-title { font-family: var(--font-heading); font-weight: 700; font-size: 18px; color: var(--black-soft); margin-top: 4px; }
.timeline-desc { margin-top: 8px; color: var(--gray-mid); font-size: 14px; line-height: 1.6; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; grid-auto-rows: 200px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery-item { background: repeating-linear-gradient(135deg, #e9eaee 0 14px, #e0e2e8 14px 28px); border-radius: 8px; position: relative; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:nth-child(1) { grid-row: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item .ph-tag { position: absolute; bottom: 12px; left: 12px; font-family: ui-monospace, monospace; font-size: 10px; color: #888; }

/* ============= Contato ============= */
.contato-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; }
@media (max-width: 900px) { .contato-grid { grid-template-columns: 1fr; } }
.form-card { background: white; border: 1px solid var(--gray-border); border-radius: 12px; padding: 40px; }
.form-card h2 { font-family: var(--font-heading); font-weight: 700; font-size: 24px; color: var(--black-soft); margin-bottom: 8px; }
.form-card .form-sub { color: var(--gray-mid); font-size: 15px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--black-soft); text-transform: uppercase; letter-spacing: 0.5px; }
.form-field input, .form-field select, .form-field textarea {
  background: white; border: 1px solid var(--gray-border); padding: 12px 14px;
  border-radius: 6px; font-family: inherit; font-size: 14px; color: var(--black-soft);
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input.invalid, .form-field textarea.invalid { border-color: var(--red); background: rgba(200,16,46,.03); }
.form-field .err { color: var(--red); font-size: 12px; margin-top: 4px; }

.unit-card { background: white; border: 1px solid var(--gray-border); border-left: 4px solid var(--red); border-radius: 8px; padding: 28px; margin-bottom: 20px; }
.unit-card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 16px; color: var(--blue-dark); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.unit-card p { font-size: 14px; line-height: 1.6; color: var(--gray-mid); margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start; }
.unit-card .map {
  margin-top: 16px; height: 180px; border-radius: 8px; overflow: hidden; position: relative;
  background:
    linear-gradient(135deg, #e3eaf5 0%, #d5e0f0 100%),
    repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.05) 0 1px, transparent 1px 30px);
  background-blend-mode: multiply;
}
.unit-card .map iframe { width: 100%; height: 100%; border: 0; }
.unit-card .map::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px;
  background: var(--red); border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 0 0 3px rgba(200,16,46,.25);
}
.unit-card .map.has-iframe::after { display: none; }
.unit-card .map-tag { position: absolute; bottom: 8px; right: 12px; font-family: ui-monospace, monospace; font-size: 10px; color: #4a5a78; }

/* ============= Form alerts ============= */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: rgba(16,185,129,.1); color: #047857; border-left: 4px solid #059669; }
.alert-error { background: rgba(200,16,46,.08); color: var(--red); border-left: 4px solid var(--red); }
.alert-info { background: rgba(27,42,74,.06); color: var(--blue-dark); border-left: 4px solid var(--blue-dark); }

/* ============= 404 ============= */
.not-found { padding: 160px 0 96px; text-align: center; }
.not-found h1 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(80px, 14vw, 140px); color: var(--red); letter-spacing: -2px; line-height: 1; }
.not-found h2 { font-family: var(--font-heading); font-weight: 700; font-size: 28px; color: var(--black-soft); margin-top: 12px; }
.not-found p { color: var(--gray-mid); margin-top: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }
.not-found .actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============= Toast ============= */
.toast {
  position: fixed; bottom: 100px; right: 24px;
  background: var(--blue-dark); color: white;
  padding: 14px 20px; border-radius: 8px; font-size: 14px;
  border-left: 3px solid var(--red);
  box-shadow: 0 12px 30px rgba(0,0,0,.25); z-index: 200;
  display: flex; gap: 10px; align-items: center;
  animation: toastIn .25s ease;
}
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============= Sobre — Texto institucional ============= */
.about-text { max-width: 800px; margin: 0 auto; text-align: center; font-size: 17px; line-height: 1.8; color: var(--gray-mid); }
.about-text strong { color: var(--black-soft); }

/* ============= Trabalhe Conosco ============= */
.work-with-us .form-card { max-width: 720px; margin: 0 auto; }

/* ============= Vitrine "À Venda" ============= */
.venda-band {
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(255,209,0,.10), transparent 70%),
    var(--gray-100);
  border-top: 1px solid var(--gray-border);
}
.venda-eyebrow { color: #B89500; }
.venda-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .venda-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .venda-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .venda-grid { grid-template-columns: 1fr; } }

.venda-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 14px; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.venda-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(184,149,0,.18); border-color: var(--yellow); }
.venda-card-img {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 180px; background: var(--gray-100); overflow: hidden;
}
.venda-card-img img { width: 100%; height: 100%; object-fit: cover; }
.venda-card-img .placeholder-mark { color: #c9b24e; }
.venda-ribbon {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--yellow); color: var(--blue-deep);
  font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; box-shadow: 0 4px 12px rgba(184,149,0,.35);
}
.venda-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.venda-card-name { font-weight: 700; font-size: 16px; color: var(--black-soft); text-decoration: none; line-height: 1.3; }
.venda-card-name:hover { color: var(--red); }
.venda-card-spec { font-size: 13px; color: var(--gray-mid); }
.venda-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; margin-top: auto; border-top: 1px solid var(--gray-border);
}
.venda-price { font-size: 13px; font-weight: 700; color: var(--blue-dark); }
.venda-card-link { font-size: 13px; font-weight: 600; color: var(--gray-mid); text-decoration: none; }
.venda-card-link:hover { color: var(--red); }
.venda-card-cta { width: 100%; justify-content: center; padding: 10px 14px; font-size: 14px; }

/* Gráfico de carga em PDF (página de detalhe do guindaste) */
.gd-grafico-pdf {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 28px; background: var(--gray-100);
  border: 1px solid var(--gray-border); border-radius: 12px;
}
.gd-grafico-pdf p { color: var(--gray-mid); font-size: 15px; max-width: 640px; margin: 0; }
