/* =========================================================
   BR Isolamentos — Design System
   Cores da marca: navy #060035 · amarelo #FBC819 · verde #078B41
   Tipografia: Montserrat (Google Fonts)
   ========================================================= */

:root {
  --navy: #060035;
  --navy-2: #0c0a52;
  --navy-3: #120f6e;
  --yellow: #FBC819;
  --yellow-dark: #e0ac00;
  --green: #078B41;
  --green-600: #067237;
  --green-700: #055c2c;
  --white: #ffffff;
  --gray-50: #f6f7fb;
  --gray-100: #eef0f6;
  --gray-200: #dfe2ee;
  --gray-300: #c3c7db;
  --gray-500: #7a7f9a;
  --gray-600: #5a5f78;
  --gray-800: #262a42;
  --text: #16172b;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 16px -8px rgba(6, 0, 53, 0.25);
  --shadow: 0 20px 45px -22px rgba(6, 0, 53, 0.4);
  --shadow-lg: 0 30px 70px -25px rgba(6, 0, 53, 0.5);
  --container: 1200px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; }

html, body { overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

section { position: relative; }

.section-pad { padding-block: clamp(64px, 9vw, 112px); }
.section-pad-sm { padding-block: clamp(48px, 6vw, 72px); }

.bg-navy { background: var(--navy); color: var(--white); }
.bg-gray { background: var(--gray-50); }
.bg-white { background: var(--white); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { color: var(--gray-600); }
.bg-navy p { color: rgba(255,255,255,0.78); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--gray-600);
  max-width: 62ch;
}
.bg-navy .lede { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  display: inline-block;
}
.bg-navy .eyebrow { color: var(--yellow); }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 30px -12px rgba(7, 139, 65, 0.55);
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(7, 139, 65, 0.6); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.btn-dark-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-dark-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 14px 30px -12px rgba(251, 200, 25, 0.55);
}
.btn-yellow:hover { transform: translateY(-2px); background: var(--yellow-dark); }

.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  padding-block: 20px;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.site-header.is-scrolled {
  background: rgba(6, 0, 53, 0.92);
  backdrop-filter: blur(10px);
  padding-block: 12px;
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}

.page-header .site-header { background: rgba(6, 0, 53, 0.96); padding-block: 14px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand .mark { width: 40px; height: auto; flex-shrink: 0; }
.brand .word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand .word b {
  font-weight: 900;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand .word span {
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
  margin-top: 3px;
}

.nav-desktop { display: flex; align-items: center; gap: 6px; }
.nav-desktop a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-desktop a:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.nav-desktop a.active { color: var(--white); background: rgba(255,255,255,0.12); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.header-phone svg { width: 17px; height: 17px; color: var(--yellow); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 490;
  background: var(--navy);
  padding: 110px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-nav a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav .btn { margin-top: 24px; }
.mobile-nav .header-phone { margin-top: 16px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,0,53,0.88) 0%, rgba(6,0,53,0.82) 35%, rgba(6,0,53,0.94) 100%),
    linear-gradient(100deg, rgba(6,0,53,0.55) 0%, rgba(6,0,53,0.1) 55%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 26px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--yellow); font-style: normal; }
.hero .lede { color: rgba(255,255,255,0.85); margin-bottom: 36px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }

.hero-pillars {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 12px;
}
.hero-pillar {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(6px);
}
.hero-pillar svg { width: 22px; height: 22px; color: var(--yellow); flex-shrink: 0; }
.hero-pillar span { font-size: 0.82rem; font-weight: 700; color: var(--white); line-height: 1.25; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--yellow), transparent); animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { opacity: 0.2; } 50% { opacity: 1; } 100% { opacity: 0.2; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 180px 0 90px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(251,200,25,0.16) 0%, transparent 70%);
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(7,139,65,0.22) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero .lede { max-width: 640px; margin-top: 18px; }

/* ---------- Pillars strip (home, below hero) ---------- */
.pillars-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pillar-item {
  background: var(--white);
  padding: 26px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background .25s var(--ease);
}
.pillar-item:hover { background: var(--gray-50); }
.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-icon svg { width: 22px; height: 22px; color: var(--yellow); }
.pillar-item h4 { margin-bottom: 2px; font-size: 0.98rem; }
.pillar-item p { font-size: 0.82rem; margin: 0; color: var(--gray-500); }

/* ---------- Grid helpers ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }

/* ---------- About preview / split sections ---------- */
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 480px; object-fit: cover; }
.about-media .badge-float {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.badge-float .ico { width: 44px; height: 44px; border-radius: 10px; background: rgba(7,139,65,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-float .ico svg { width: 22px; height: 22px; color: var(--green); }
.badge-float strong { display: block; font-size: 0.92rem; color: var(--navy); }
.badge-float span { font-size: 0.78rem; color: var(--gray-500); }

.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--gray-800); font-weight: 500; font-size: 0.97rem; }
.check-list svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ---------- Cards: services ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green), var(--green-700));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--white); }
.service-card.alt .service-icon { background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); }
.service-card.alt .service-icon svg { color: var(--navy); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; margin-bottom: 16px; }
.service-card ul { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.service-card ul li {
  font-size: 0.85rem;
  color: var(--gray-600);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.service-card ul li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  margin-top: 6px;
  flex-shrink: 0;
}
.service-card .tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(7,139,65,0.1);
  color: var(--green-700);
  margin-bottom: 14px;
}

/* full detail block used on servicos.html */
.service-detail {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 26px;
  padding-block: 44px;
  border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail .num { font-size: 1.8rem; font-weight: 900; color: var(--gray-200); line-height: 1; }
.service-detail .service-icon { margin-bottom: 18px; }
.service-detail h3 { font-size: 1.4rem; margin-bottom: 10px; }
.service-detail p.lede-sm { color: var(--gray-600); margin-bottom: 18px; max-width: 70ch; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.service-detail-grid li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--gray-800); }
.service-detail-grid svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ---------- Differentiators ---------- */
.diff-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  height: 100%;
}
.diff-card .num-badge {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.diff-card h4 { margin-bottom: 8px; }
.diff-card p { font-size: 0.88rem; margin: 0; }

/* ---------- Methodology timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; counter-reset: step; }
.timeline-item { position: relative; padding-top: 8px; }
.timeline-item .step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--navy);
  font-weight: 900;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px -10px rgba(251,200,25,0.5);
}
.timeline-item h4 { margin-bottom: 8px; font-size: 1.02rem; }
.timeline-item p { font-size: 0.88rem; margin: 0; }
.bg-navy .timeline-item p { color: rgba(255,255,255,0.72); }

/* Versão resumida (3 passos, usada na Home) — evita o 2+1 torto em tablets */
.timeline.timeline-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .timeline.timeline-3 { grid-template-columns: 1fr; }
}

/* ---------- Portfolio gallery ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--green); color: var(--green-700); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6,0,53,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover .overlay { opacity: 1; }
.overlay .cat { font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); display: block; margin-bottom: 4px; }
.overlay .cap { color: var(--white); font-weight: 700; font-size: 0.9rem; }
.gallery-item .zoom-ico {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover .zoom-ico { opacity: 1; }
.zoom-ico svg { width: 16px; height: 16px; color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(6,0,53,0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { max-width: 1000px; width: 100%; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: var(--white); text-align: center; margin-top: 16px; font-weight: 600; }
.lightbox figcaption span { display: block; color: var(--yellow); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; font-weight: 800; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-close svg, .lightbox-prev svg, .lightbox-next svg { width: 20px; height: 20px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, #120f6e 100%);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(251,200,25,0.22), transparent 70%);
  top: -140px; right: -80px;
}
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.78); max-width: 46ch; margin: 0; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-banner .copy { position: relative; z-index: 1; max-width: 560px; }

/* ---------- Testimonial-free trust strip (compliance) ---------- */
.compliance-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.compliance-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--navy);
}
.compliance-chip svg { width: 18px; height: 18px; color: var(--green); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  position: sticky;
  top: 110px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 6px; }
.contact-info-card > p { margin-bottom: 28px; }
.contact-channel {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-block: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-channel:first-of-type { border-top: none; }
.contact-channel .ico { width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-channel .ico svg { width: 20px; height: 20px; color: var(--yellow); }
.contact-channel strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.contact-channel a, .contact-channel span.value { font-weight: 700; font-size: 1rem; }
.contact-channel a:hover { color: var(--yellow); }
.contact-info-card .social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-btn { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.09); display: flex; align-items: center; justify-content: center; }
.social-btn svg { width: 18px; height: 18px; color: var(--white); }
.social-btn:hover { background: var(--green); }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--gray-50);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.honey { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: 0.78rem; color: var(--gray-500); margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(7,139,65,0.1); color: var(--green-700); }
.form-status.err { background: rgba(220,53,69,0.1); color: #b3273f; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 28px; border: 1px solid var(--gray-100); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; font-size: 0.9rem; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-col h5 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer-col .contact-line svg { width: 17px; height: 17px; color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 400;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px -12px rgba(37,211,102,0.6);
  animation: floatpulse 2.6s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }
@keyframes floatpulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 399;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; color: var(--white); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* ---------- Misc page bits ---------- */
.divider-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gray-300); margin-inline: 8px; }
.value-quote {
  border-left: 4px solid var(--yellow);
  padding-left: 22px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 60ch;
}
.logo-strip-note { text-align: center; color: var(--gray-500); font-size: 0.85rem; }

.team-note {
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.team-note svg { width: 26px; height: 26px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.team-note p { margin: 0; font-size: 0.92rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-desktop, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail .num { display: none; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .about-media .badge-float { left: 16px; bottom: -22px; padding: 16px 18px; }
}

/* Cabeçalho: em telas estreitas, logo + botão + hamburguer não cabem juntos */
@media (max-width: 560px) {
  .header-actions .btn-primary { display: none; }
  .header-actions { gap: 10px; }
  .brand .mark { width: 34px; }
  .brand .word b { font-size: 0.86rem; }
  .brand .word span { font-size: 0.5rem; }
}
@media (max-width: 380px) {
  .brand .word span { display: none; }
}

@media (max-width: 680px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .cta-banner .actions { width: 100%; }
  .cta-banner .actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 130px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .page-hero { padding: 150px 0 70px; }
  .lightbox { padding: 90px 16px 24px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
  .back-to-top { right: 16px; bottom: 82px; }
}
