/* ==========================================================================
   A. Silva Construtora — Main stylesheet (Morph-inspired)
   Mobile-first | PHP/LAMP Home
   ========================================================================== */

:root {
  /* Marca A. Silva — bordô oficial do site atual (#600 / #660000) */
  --primary-color: #660000;
  --primary-hover-color: #4d0000;
  --primary-rgb: 102, 0, 0;
  --primary-light: rgba(102, 0, 0, 0.1);
  --brand-deep: #200401;

  --secondary-color: #1C2430;
  --dark-surface: #242D3B;
  --dark-surface-border: #323E50;
  --dark-card-bg: #242D3B;
  --dark-card-darker: #151C26;

  --light-bg: #F7F7F7;
  --light-surface: #FFFFFF;
  --light-card-bg: #F6F8FA;
  --light-surface-alt: #ECEFF3;
  --border-color: #E7E7E7;

  --text-dark: #1C2430;
  --text-heading: #1C2430;
  --text-body: #555555;
  --text-muted: #6B7787;
  --text-light: #FFFFFF;
  --text-light-desc: #D1D5DB;
  --text-light-muted: #9AA6B8;
  --text-light-body: #C5D0DE;

  --font-heading: 'Inter', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 15px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 21px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 25px;
  --radius-pill: 50px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.12);
  --shadow-brand: 0 12px 30px rgba(102, 0, 0, 0.28);

  --transition-fast: all 0.25s ease-in-out;
  --transition-normal: all 0.35s ease;
  --container: 1200px;
  --section-space: 80px;
}

/* ----- Reset / Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-body);
  background: #fff;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: var(--fw-extrabold);
  margin: 0 0 16px;
}
p { margin: 0 0 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary-color);
  color: #fff; padding: 10px 16px; z-index: 9999;
}
.skip-link:focus { left: 16px; top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: var(--section-space) 0; }
.section-dark {
  background: linear-gradient(180deg, #1C2430 0%, #151B24 100%);
  color: var(--text-light-body);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-light { background: var(--light-bg); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--primary-color);
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 18ch;
}
.section-lead {
  max-width: 54ch;
  color: var(--text-muted);
  font-size: var(--fs-md);
}
.section-dark .section-lead { color: var(--text-light-muted); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}
.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  border: 0;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1.2;
}
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--primary-hover-color); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover { border-color: var(--primary-color); color: var(--primary-color); }
.btn-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-grid; place-items: center;
}
.btn-arrow .btn-icon { background: rgba(255,255,255,0.2); }

/* ----- Header ----- */
.site-header {
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition-normal);
}
.site-header.is-scrolled {
  position: fixed;
  background: rgba(28, 36, 48, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
}
.logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.logo-img-footer {
  height: 60px;
  max-width: 220px;
  background: #fff;
  padding: 4px;
}
.logo-mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--primary-color);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-reg { color: var(--primary-color); font-size: 0.7em; vertical-align: super; }
.nav-desktop { display: none; align-items: center; gap: 26px; }
.nav-desktop a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.nav-desktop a.active,
.nav-desktop a:hover { color: #fff; }
.nav-desktop a.active::after,
.nav-desktop a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: #fff;
}
.nav-desktop a.active::after {
  background: var(--primary-color);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.35);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-cta { display: none; }
.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: var(--transition-fast);
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; top: 0; right: 0; width: min(340px, 88vw); height: 100%;
  background: var(--secondary-color); z-index: 1200;
  transform: translateX(100%); transition: var(--transition-normal);
  padding: 28px 24px;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav[hidden], .mobile-nav-overlay[hidden] { display: none !important; }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 1100;
}
.mobile-nav-close {
  background: none; border: 0; color: #fff; font-size: 32px;
  cursor: pointer; margin-left: auto; display: block; line-height: 1;
}
.mobile-nav ul { margin: 28px 0; }
.mobile-nav li + li { margin-top: 8px; }
.mobile-nav a {
  display: block; color: #fff; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
}
.mobile-nav a.active { color: var(--primary-color); }
.link-deposito {
  display: inline-block; margin-top: 18px; color: var(--text-light-muted);
  font-size: 13px; text-decoration: underline;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 130px 0 90px;
  background: #151C26;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(21,28,38,0.92) 0%, rgba(28,36,48,0.78) 42%, rgba(28,36,48,0.55) 100%),
    radial-gradient(circle at 70% 40%, rgba(102,0,0,0.22), transparent 45%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.08; pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 32px 28px;
  max-width: 360px;
  animation: fadeUp 0.8s ease both;
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.hero-stat-value span { color: var(--primary-color); font-size: 0.45em; }
.hero-stat-card h2 {
  color: #fff;
  font-size: 1.15rem;
  margin: 12px 0 10px;
}
.hero-stat-card p { color: var(--text-light-desc); margin-bottom: 22px; font-size: 14px; }
.hero-avatars { display: flex; align-items: center; }
.hero-avatars span {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  margin-left: -10px;
  background: var(--dark-surface);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #fff;
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-avatars .plus {
  background: var(--primary-color);
  border-color: var(--primary-color);
  margin-left: 8px;
}
.hero-content { animation: fadeUp 0.9s ease 0.1s both; }
.hero-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 0.95;
  margin-bottom: 18px;
  color: #fff;
}
.hero-brand em {
  font-style: normal;
  color: #fff;
}
.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4.8vw, 3.4rem);
  max-width: 12ch;
  margin-bottom: 24px;
}
.hero-text {
  color: var(--text-light-desc);
  max-width: 42ch;
  margin: 28px 0 0;
  font-size: 15px;
}

/* ----- Precision / Quote ----- */
.precision {
  background: var(--light-bg);
  padding: 70px 0;
}
.precision-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.precision-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  background: #1C2430;
}
.precision-media > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.precision-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  max-width: 240px;
  box-shadow: var(--shadow-md);
}
.precision-badge .stars { color: var(--primary-color); font-weight: 700; margin-bottom: 6px; }
.precision-badge p { margin: 0; font-size: 13px; color: var(--text-body); }
.precision-badge strong { display: block; margin-top: 10px; color: var(--text-dark); font-size: 13px; }
.precision-copy .label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.precision-copy blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin: 0 0 18px;
}
.precision-copy .author {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.precision-copy .body { color: var(--text-body); }

/* ----- About / Why ----- */
.about-why { padding: var(--section-space) 0; }
.about-why-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: #1C2430;
  position: relative;
}
.about-media > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(21,28,38,0.82));
  pointer-events: none;
}
.about-media-caption {
  position: absolute;
  left: 24px; bottom: 24px; right: 24px;
  color: #fff;
  font-weight: 600;
  z-index: 1;
}
.stats-list { display: grid; gap: 22px; margin: 28px 0; }
.stat-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}
.stat-item:last-child { border-bottom: 0; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}
.stat-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.stat-item p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ----- Values strip ----- */
.values {
  background: var(--secondary-color);
  padding: 40px 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  color: var(--text-light-body);
}
.value-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}
.value-card p { margin: 0; font-size: 13px; }

/* ----- Services ----- */
.services { background: var(--light-bg); }
.services-grid {
  display: grid;
  gap: 20px;
}
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: var(--dark-card-darker);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15,20,28,0.92));
  z-index: 1;
}
.service-card-content {
  position: relative;
  z-index: 2;
  padding: 28px;
}
.service-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.service-card p { color: var(--text-light-desc); font-size: 14px; margin-bottom: 16px; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: 14px;
}
.service-link:hover { color: var(--primary-color); }

/* ----- Projects ----- */
.projects-grid {
  display: grid;
  gap: 20px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-thumb {
  aspect-ratio: 4/3;
  background: #1C2430;
  position: relative;
  overflow: hidden;
}
.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-body { padding: 22px; }
.project-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.project-cat {
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.project-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.project-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-link:hover { color: var(--primary-color); }

/* ----- Differentials / Authority ----- */
.authority {
  background: var(--light-bg);
}
.authority-grid {
  display: grid;
  gap: 18px;
}
.authority-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  height: 100%;
}
.authority-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.authority-card p { margin: 0; font-size: 14px; color: var(--text-muted); }
.authority-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-weight: 800;
}

/* ----- FAQ ----- */
.faq-list { max-width: 820px; }
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq-question::after {
  content: "+";
  font-size: 22px;
  color: var(--primary-color);
  flex-shrink: 0;
}
.faq-item.is-open .faq-question::after { content: "–"; }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--text-muted);
  font-size: 14px;
}
.faq-item.is-open .faq-answer { display: block; }

/* ----- CTA Banner ----- */
.cta-banner {
  position: relative;
  padding: 90px 0;
  background: #1C2430;
  color: #fff;
  overflow: hidden;
}
.cta-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(21,28,38,0.92), rgba(28,36,48,0.78));
}
.cta-banner-content { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; max-width: 16ch; }
.cta-banner p { color: var(--text-light-desc); max-width: 48ch; margin-bottom: 24px; }

/* ----- Blog ----- */
.blog-grid {
  display: grid;
  gap: 20px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-thumb {
  aspect-ratio: 16/10;
  background: #1C2430;
  overflow: hidden;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: var(--text-muted); margin-bottom: 10px;
}
.blog-meta .cat { color: var(--primary-color); font-weight: 700; }
.blog-body h3 { font-size: 1.1rem; }
.blog-body h3 a:hover { color: var(--primary-color); }
.blog-body p { font-size: 14px; color: var(--text-muted); flex: 1; }

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  gap: 36px;
}
.contact-form-wrap {
  background: var(--light-card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-color);
}
.form-row {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fff;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102,0,0,0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group.is-invalid input,
.form-group.is-invalid textarea {
  border-color: #d93025;
}
.field-error {
  display: none;
  color: #d93025;
  font-size: 12px;
  margin-top: 6px;
}
.form-group.is-invalid .field-error { display: block; }
.form-feedback {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.2em;
}
.form-feedback.success { color: #0f7b3c; }
.form-feedback.error { color: #d93025; }

.contact-info-list { display: grid; gap: 18px; margin-top: 24px; }
.contact-info-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}
.contact-info-item .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-color);
  display: grid; place-items: center;
  font-weight: 800;
}
.contact-info-item strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.contact-info-item p { margin: 0; font-size: 14px; color: var(--text-muted); }
.map-embed {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--primary-color);
  min-height: 240px;
}
.map-embed iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
}

/* ----- Footer (bordô oficial #660000) ----- */
.site-footer { background: var(--primary-color); color: rgba(255,255,255,0.92); }
.footer-main { padding: 70px 0 40px; }
.footer-grid {
  display: grid;
  gap: 32px;
}
.logo-footer { margin-bottom: 16px; }
.footer-brand p,
.footer-address,
.footer-phone { font-size: 14px; color: rgba(255,255,255,0.88); }
.footer-address, .footer-phone { margin-top: 16px; }
.footer-links h4,
.footer-newsletter h4,
.footer-hours h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.newsletter-form {
  display: grid;
  gap: 10px;
}
.newsletter-form input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.22);
  color: #fff;
  border-radius: 12px;
  padding: 13px 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.65); }
.hours-list { margin-bottom: 14px; }
.hours-list li { font-size: 14px; color: rgba(255,255,255,0.85); margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 18px 0;
  background: var(--brand-deep);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}
.footer-bottom ul { display: flex; gap: 16px; }
.footer-bottom a { color: rgba(255,255,255,0.85); }
.footer-bottom a:hover { color: #fff; }

.whatsapp-float {
  position: fixed;
  right: 18px; bottom: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(37,211,102,0.35);
  z-index: 1300;
  transition: var(--transition-fast);
}
.whatsapp-float:hover { transform: scale(1.06); }

/* ----- Reveal animations ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ----- Sidebar (shared) ----- */
.sidebar-block {
  background: var(--light-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 18px;
}
.sidebar-list a, .sidebar-posts a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.sidebar-list a:hover, .sidebar-posts a:hover { color: var(--primary-color); }
.sidebar-posts span { display: block; font-size: 12px; color: var(--text-muted); font-weight: 400; }
.sidebar-cta {
  background: var(--secondary-color);
  color: var(--text-light-body);
  border-radius: var(--radius-md);
  padding: 22px;
}
.sidebar-cta h3 { color: #fff; }

/* ----- Responsive ----- */
@media (min-width: 640px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .authority-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  --section-space: 100px;
  .header-cta { display: inline-flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-wrap { padding: 36px; }
}

@media (min-width: 992px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
  .precision-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; }
  .about-why-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .projects-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .authority-grid { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1.1fr 0.9fr; }
}

@media (max-width: 480px) {
  .hero-stat-card { padding: 24px 20px; }
  .stat-item { grid-template-columns: 72px 1fr; }
}
