/* ============================================================
   Prumo Acetinado — Stylesheet Principal
   Azul aço (#1b6ca8) + cinzento escuro, header branco
   ============================================================ */

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: var(--font-size-base, 16px); }

body {
  font-family: var(--font-body, 'Open Sans', sans-serif);
  color: var(--color-text, #333333);
  background: var(--color-bg, #f5f5f5);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary, #1b6ca8); text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-secondary, #0d4f80); }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  color: var(--color-primary, #1b6ca8);
  line-height: 1.3;
  font-weight: 700;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary, #1b6ca8);
  color: #fff;
  border-color: var(--color-primary, #1b6ca8);
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-primary, #1b6ca8);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.8);
}
.btn-outline:hover {
  background: #fff;
  color: var(--color-primary, #1b6ca8);
  border-color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary, #1b6ca8);
  border-color: var(--color-primary, #1b6ca8);
}
.btn-secondary:hover {
  background: var(--color-primary, #1b6ca8);
  color: #fff;
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary, #1b6ca8);
  border-color: var(--color-primary, #1b6ca8);
}
.btn-outline-dark:hover {
  background: var(--color-primary, #1b6ca8);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-primary, #1b6ca8);
  border-color: #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* ---- Section ---- */
.section { padding: 80px 0; }
.section--alt { background: #fff; }
.section--grey { background: #f5f7fa; }
.section--blue {
  background: var(--color-primary, #1b6ca8);
  color: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: 55px;
}
.section__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary, #1b6ca8);
  margin-bottom: 10px;
}
.section__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #2c2c2c;
  margin-bottom: 14px;
  font-weight: 700;
}
.section__subtitle {
  font-size: 1rem;
  color: #666;
  max-width: 580px;
  margin: 0 auto;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--color-primary, #1b6ca8);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  background: var(--color-topbar-bg, #1a2332);
  padding: 7px 0;
  font-size: .82rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar__contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__item {
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.topbar__item:hover { color: #fff; }
.topbar__item i { font-size: .78rem; color: var(--color-primary, #1b6ca8); }
.topbar__schedule {
  color: rgba(255,255,255,.65);
  font-size: .78rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar__schedule i { font-size: .75rem; }

/* ============================================================
   HEADER / NAV  — fundo branco
   ============================================================ */
.site-header {
  background: var(--color-header-bg, #ffffff);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  transition: box-shadow .3s;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height, 80px);
  gap: 20px;
}

/* Logo */
.header__logo { display: flex; align-items: center; }
.logo-img {
  height: var(--logo-height, 50px);
  width: auto;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-primary, #1b6ca8);
  letter-spacing: .3px;
  line-height: 1.2;
}
.logo-text small {
  display: block;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #777;
  margin-top: 2px;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  color: var(--color-nav-link, #333333);
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 2px;
  transition: all .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 13px;
  width: 0; height: 2px;
  background: var(--color-nav-hover, #1b6ca8);
  transition: width .25s;
}
.nav-link:hover {
  color: var(--color-nav-hover, #1b6ca8);
}
.nav-link:hover::after { width: calc(100% - 26px); }
.nav-link--active { color: var(--color-nav-hover, #1b6ca8); }
.nav-link--active::after { width: calc(100% - 26px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-primary, #1b6ca8);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO / BANNER
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-primary, #1b6ca8);
}
.hero-slider { position: relative; }
.hero-slide {
  display: none;
  min-height: 600px;
  position: relative;
  align-items: center;
  justify-content: center;
}
.hero-slide.is-active { display: flex; }

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: #1a2332;
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 800px;
  margin: 0 auto;
  animation: heroFadeIn .7s ease;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-slide__title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero-slide__subtitle {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
}
.hero-slide__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Hero sem imagem */
.hero-default {
  min-height: 500px;
  background: linear-gradient(135deg, var(--color-secondary, #0d4f80) 0%, var(--color-primary, #1b6ca8) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-default::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  top: -180px; right: -80px;
}

/* Slider dots */
.hero-controls {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 7px;
}
.hero-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer;
  transition: all .3s; padding: 0;
}
.hero-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* ============================================================
   QUEM SOMOS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  position: relative;
}
.about-image img {
  width: 100%; height: 420px;
  object-fit: cover;
}
.about-image__badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--color-primary, #1b6ca8);
  color: #fff;
  width: 100px; height: 100px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--font-heading);
  text-align: center;
  box-shadow: 0 6px 20px rgba(27,108,168,.4);
}
.about-image__badge strong { font-size: 1.9rem; line-height: 1; }
.about-image__badge span  { font-size: .6rem; letter-spacing: 1px; text-transform: uppercase; opacity: .9; }

.about-content .section__label { text-align: left; display: block; }
.about-content .section__title { text-align: left; color: #2c2c2c; }
.about-content .section-divider { margin-left: 0; }
.about-text { color: #555; margin-top: 18px; font-size: .97rem; }
.about-text p + p { margin-top: 12px; }

.about-stats { display: flex; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.about-stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary, #1b6ca8);
  line-height: 1;
}
.about-stat__label {
  font-size: .78rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}

/* ============================================================
   SECÇÕES DE SERVIÇO — layout alternado (imagem + texto)
   ============================================================ */
.service-section { padding: 80px 0; }
.service-section + .service-section { border-top: 1px solid #e8ecf0; }

.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-content__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary, #1b6ca8);
  margin-bottom: 10px;
}
.service-content__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #2c2c2c;
  margin-bottom: 16px;
  font-weight: 700;
}
.service-content__divider {
  width: 40px; height: 3px;
  background: var(--color-primary, #1b6ca8);
  margin-bottom: 20px;
  border-radius: 2px;
}
.service-content__desc { color: #555; font-size: .97rem; line-height: 1.8; }
.service-content__desc p + p { margin-top: 12px; }

.service-specs-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-specs-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: #444;
}
.service-specs-item i {
  color: var(--color-primary, #1b6ca8);
  width: 16px; text-align: center;
  margin-top: 3px; flex-shrink: 0;
}

.service-image-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}
.service-image-wrap img {
  width: 100%; height: 360px;
  object-fit: contain;
  display: block;
}
.service-image-placeholder {
  width: 100%; height: 360px;
  background: linear-gradient(135deg, var(--color-secondary, #0d4f80), var(--color-primary, #1b6ca8));
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
}
.service-image-placeholder i { font-size: 4rem; color: rgba(255,255,255,.2); }

/* CTA dentro da secção */
.service-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ============================================================
   MODELOS DE CALEIRAS
   ============================================================ */
.caleira-models { margin-top: 28px; }
.caleira-models__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 14px;
}
.caleira-models__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.caleira-card[data-src] { cursor: zoom-in; }
.caleira-card__img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  margin-bottom: 8px;
}
.caleira-card__img-wrap .caleira-card__img { margin-bottom: 0; }
.caleira-card__zoom-icon {
  position: absolute;
  inset: 0;
  background: rgba(27,108,168,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  color: #fff;
  font-size: 1.1rem;
}
.caleira-card[data-src]:hover .caleira-card__zoom-icon { opacity: 1; }

.caleira-card {
  background: #f8f9fb;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 14px 10px;
  text-align: center;
  transition: all .2s;
  cursor: default;
}
.caleira-card:hover {
  border-color: var(--color-primary, #1b6ca8);
  box-shadow: 0 4px 16px rgba(27,108,168,.12);
  transform: translateY(-2px);
}
.caleira-card__img {
  width: 100%; height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 3px;
  padding: 6px;
}
.caleira-card__img-placeholder {
  width: 100%; height: 60px;
  background: #e8ecf0;
  border-radius: 3px;
  margin-bottom: 8px;
  display: flex; align-items: center; justify-content: center;
}
.caleira-card__img-placeholder i { color: #bbb; font-size: 1.2rem; }
.caleira-card__name {
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  color: #2c2c2c;
}
.caleira-card__spec { font-size: .7rem; color: #888; margin-top: 3px; }

/* ============================================================
   BANNER CTA
   ============================================================ */
.cta-section {
  background: var(--color-primary, #1b6ca8);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -150px; right: -100px;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(0,0,0,.05);
  bottom: -100px; left: -80px;
}
.cta-section__title {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
  position: relative; z-index: 1;
}
.cta-section__subtitle {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  margin-bottom: 30px;
  max-width: 540px;
  margin-left: auto; margin-right: auto;
  position: relative; z-index: 1;
}
.cta-section__actions {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* Formulário rápido CTA */
.cta-form {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 32px 36px;
  max-width: 700px;
  margin: 0 auto;
}
.cta-form .form-grid { grid-template-columns: 1fr 1fr; }
.cta-form .form-label { color: rgba(255,255,255,.9); }
.cta-form .form-control {
  background: rgba(255,255,255,.95);
}

/* ============================================================
   GALERIA (preview + página obras)
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: #ddd;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: rgba(27,108,168,.75);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
  color: #fff; text-align: center; padding: 16px;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay i { font-size: 1.8rem; margin-bottom: 8px; }
.gallery-item__title {
  font-family: var(--font-heading);
  font-size: .88rem; font-weight: 700;
}

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
.form-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  border: 1px solid #e8ecf0;
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: flex; flex-direction: column; }
.form-group--full { grid-column: 1 / -1; }
.form-label {
  font-size: .82rem; font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 6px; letter-spacing: .2px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.form-label .required { color: var(--color-primary, #1b6ca8); margin-left: 2px; }
.form-control {
  padding: 10px 13px;
  border: 1.5px solid #d8e0e8;
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: .94rem;
  color: #333;
  background: #fafbfc;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--color-primary, #1b6ca8);
  box-shadow: 0 0 0 3px rgba(27,108,168,.1);
  background: #fff;
}
.form-control::placeholder { color: #aab4be; }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-submit { margin-top: 24px; text-align: center; }
.form-submit .btn { min-width: 200px; justify-content: center; }
.form-notice { font-size: .78rem; color: #999; text-align: center; margin-top: 10px; }

/* Alertas */
.alert {
  padding: 13px 16px;
  border-radius: 3px;
  margin-bottom: 22px;
  font-size: .9rem;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert i { margin-top: 1px; flex-shrink: 0; }
.alert-success { background: #e8f5ee; color: #1a6b3a; border-left: 3px solid #27ae60; }
.alert-error   { background: #fde8e8; color: #922020; border-left: 3px solid #e74c3c; }

/* ============================================================
   CONTACTOS
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item__icon {
  width: 46px; height: 46px;
  background: var(--color-primary, #1b6ca8);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.contact-info-item__label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: #999; margin-bottom: 4px;
  font-family: var(--font-heading);
}
.contact-info-item__value { font-size: .96rem; color: #333; font-weight: 500; }
.contact-info-item__value a { color: #333; }
.contact-info-item__value a:hover { color: var(--color-primary, #1b6ca8); }

.contact-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.contact-map iframe { display: block; width: 100%; height: 380px; border: none; }
.contact-map--placeholder {
  background: linear-gradient(135deg, #1a2332, #1b6ca8);
  height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  text-align: center; gap: 10px;
}

/* ============================================================
   OBRAS PAGE
   ============================================================ */
.works-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 36px; justify-content: center;
}
.filter-btn {
  padding: 7px 18px;
  border-radius: 2px;
  border: 1.5px solid #d8e0e8;
  background: #fff;
  font-family: var(--font-heading);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .5px; cursor: pointer;
  text-transform: uppercase; color: #666;
  transition: all .2s;
}
.filter-btn:hover, .filter-btn.is-active {
  background: var(--color-primary, #1b6ca8);
  border-color: var(--color-primary, #1b6ca8);
  color: #fff;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.93);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox__inner { position: relative; max-width: 90vw; max-height: 88vh; }
.lightbox__img {
  max-width: 100%; max-height: 80vh;
  object-fit: contain; border-radius: 2px;
}
.lightbox__close {
  position: fixed; top: 16px; right: 20px;
  background: rgba(255,255,255,.12); border: none;
  color: #fff; width: 42px; height: 42px;
  border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: var(--color-primary, #1b6ca8); }
.lightbox__caption { color: rgba(255,255,255,.75); text-align: center; margin-top: 12px; font-size: .88rem; }
.lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none;
  color: #fff; width: 46px; height: 46px;
  border-radius: 50%; font-size: 1.1rem; cursor: pointer;
  transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__nav:hover { background: var(--color-primary, #1b6ca8); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-footer-bg, #1a2332); color: var(--color-footer-text, #a8b8cc); }
.footer-main { padding: 65px 0 44px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
}
.footer-grid.has-map { grid-template-columns: 1.1fr 1fr 1fr 1.2fr; }

.footer-heading {
  color: #fff;
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}
.footer-heading::after {
  content: ''; position: absolute;
  bottom: -7px; left: 0;
  width: 28px; height: 2px;
  background: var(--color-primary, #1b6ca8);
}

.footer-logo { height: 40px; width: auto; object-fit: contain; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.2rem; color: #fff; margin-bottom: 14px;
}
.footer-logo-text small {
  display: block; font-size: .55rem;
  font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-top: 2px;
}
.footer-tagline { font-size: .88rem; opacity: .65; line-height: 1.65; margin-bottom: 18px; }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); font-size: .85rem;
  transition: all .2s;
}
.footer-social a:hover {
  background: var(--color-primary, #1b6ca8);
  color: #fff; transform: translateY(-2px);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  color: var(--color-footer-text, #a8b8cc);
  font-size: .88rem; display: flex; align-items: center; gap: 7px; transition: all .2s;
}
.footer-links a i { font-size: .65rem; color: var(--color-primary, #1b6ca8); }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; }
.footer-contact-list i { color: var(--color-primary, #1b6ca8); margin-top: 3px; flex-shrink: 0; font-size: .82rem; }
.footer-contact-list a { color: var(--color-footer-text, #a8b8cc); }
.footer-contact-list a:hover { color: #fff; }
.footer-map iframe { width: 100%; height: 170px; border: none; border-radius: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
}
.footer-bottom__inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.35);
}
.footer-bottom__inner a { color: rgba(255,255,255,.4); }
.footer-bottom__inner a:hover { color: var(--color-primary, #1b6ca8); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--color-primary, #1b6ca8); color: #fff;
  border: none; border-radius: 2px;
  cursor: pointer; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 500; opacity: 0; transform: translateY(16px);
  transition: all .3s; box-shadow: 0 4px 14px rgba(27,108,168,.35);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--color-secondary, #0d4f80); }

/* ============================================================
   PAGE HERO (páginas internas)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-secondary, #0d4f80) 0%, var(--color-primary, #1b6ca8) 100%);
  padding: 65px 0; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -100px; right: -80px;
}
.page-hero__title { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 10px; }
.page-hero__subtitle { color: rgba(255,255,255,.75); font-size: 1rem; }
.breadcrumb {
  display: flex; gap: 7px; align-items: center;
  justify-content: center; margin-top: 14px;
  font-size: .82rem; color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: .65rem; }

/* ============================================================
   ANIMAÇÕES FADE-IN
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.is-visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid      { grid-template-columns: 1fr; gap: 40px; }
  .about-image     { max-width: 500px; margin: 0 auto; }
  .service-layout  { grid-template-columns: 1fr; gap: 36px; }
  .service-layout--reverse { direction: ltr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .footer-grid, .footer-grid.has-map { grid-template-columns: 1fr 1fr; }
  .caleira-models__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 55px 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; right: -100%; top: 0;
    width: 270px; height: 100vh;
    background: #fff;
    border-left: 1px solid #e8e8e8;
    padding: 80px 20px 28px;
    transition: right .3s ease;
    z-index: 900; overflow-y: auto;
    box-shadow: -6px 0 24px rgba(0,0,0,.12);
  }
  .main-nav.is-open { right: 0; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link {
    display: block; padding: 13px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: .9rem;
  }
  .nav-link::after { display: none; }

  .topbar__inner  { flex-direction: column; gap: 5px; text-align: center; }
  .topbar__contacts { justify-content: center; }
  .hero-slide { min-height: 380px; }
  .form-grid  { grid-template-columns: 1fr; }
  .form-card  { padding: 24px 18px; }
  .footer-grid, .footer-grid.has-map { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { gap: 20px; }
  .cta-form { padding: 22px 18px; }
  .cta-form .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .caleira-models__grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide__actions { flex-direction: column; align-items: center; }
  .cta-section__actions { flex-direction: column; align-items: center; }
}

/* ---- invalid form field ---- */
.form-control.is-invalid { border-color: #e74c3c; }
.form-error { display: none; color: #e74c3c; font-size: .78rem; margin-top: 4px; }
