/* ============================================================
   RHEMA — Design System
   Light corporate · navy primary · green accent
   ============================================================ */

:root {
  /* Surfaces (light theme with cool undertone) */
  --bg-0: #F8FAFC;          /* main page bg — soft cool off-white */
  --bg-1: #EDF1F7;          /* alt band — visibly different */
  --bg-2: #FFFFFF;          /* cards (pop on bg-0) */
  --bg-3: #E5EAF2;          /* hover / elevated */

  /* Dark navy surfaces (hero, footer, CTA band) */
  --navy-deepest: #0B1638;
  --navy-dark: #142E6E;
  --navy: #1E3F8F;

  /* Lines / muted */
  --line: #D5DBE6;
  --line-soft: #E2E7EF;
  --muted: #6E7891;
  --muted-2: #8893AB;

  /* Text */
  --ink: #0F1A3E;           /* headers / deep navy */
  --ink-2: #2A3550;         /* body */
  --ink-3: #4E5876;

  /* Brand (Rhema) — names kept as --yellow* for compatibility */
  --yellow: #1E3F8F;        /* primary — navy from logo */
  --yellow-deep: #142E6E;
  --yellow-soft: rgba(30, 63, 143, 0.08);
  --accent: #4DB853;        /* accent — green from logo */
  --accent-deep: #3D9B43;
  --accent-soft: rgba(77, 184, 83, 0.10);

  /* States */
  --danger: #E55353;

  /* Type scale */
  --f-display: 'Archivo', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Container */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);

  /* Radius */
  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
}

/* ============================================================
   RESET
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink-2);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.display {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
  color: var(--ink);
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--yellow);
}
.eyebrow.no-bar::before { display: none; }

.sec-num {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   LAYOUT
   ============================================================ */

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

section {
  position: relative;
  padding-block: clamp(48px, 6vw, 88px);
}
section.tight { padding-block: clamp(32px, 4vw, 64px); }
section + section { padding-block-start: clamp(40px, 5vw, 80px); }
.band-1 { background: var(--bg-1); }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--r);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
  text-transform: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--yellow);
  color: #FFFFFF;
  font-weight: 700;
}
.btn-primary:hover { background: var(--yellow-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-wa {
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 700;
}
.btn-wa:hover { background: var(--accent-deep); }

.btn-text {
  color: var(--yellow);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.btn-text:hover { border-color: var(--yellow); }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand .logo {
  width: 52px;
  height: 52px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand .logo img { width: 100%; height: 100%; object-fit: contain; }
.brand .wordmark {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1;
  font-size: 22px;
}
.brand .wordmark .infra {
  color: var(--yellow);
  margin-left: 2px;
}
.brand .tag {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--yellow); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--r);
  align-items: center;
  justify-content: center;
}
.hamburger svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 980px) {
  .nav { display: none; }
  .header-cta .btn:not(.btn-wa) { display: none; }
  .hamburger { display: inline-flex; }
}

/* On narrow mobile, hide the WhatsApp button from the header as well,
   so the hamburger has room. WhatsApp is still reachable via the
   floating FAB and from inside the mobile drawer. */
@media (max-width: 640px) {
  .header-cta .btn-wa { display: none; }
  .header-cta { gap: 6px; }
}

/* Mobile menu drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg-0);
  padding: 80px 24px 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: var(--r);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav .close svg { width: 22px; height: 22px; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  display: block;
  padding: 18px 20px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a.active { color: var(--yellow); }
.mobile-nav .ctas {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  padding-block: clamp(80px, 12vw, 180px);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deepest) 0%, var(--navy-dark) 60%, var(--navy) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/hero-desktop.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 0;
}
@media (max-width: 820px) {
  .hero::before { background-image: url('img/hero-mobile.webp'); }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,22,56,0.92) 0%, rgba(20,46,110,0.78) 40%, rgba(30,63,143,0.45) 75%, rgba(30,63,143,0.18) 100%),
    linear-gradient(180deg, transparent 65%, rgba(11,22,56,0.6) 100%);
  z-index: 1;
}
.hero > .container { position: relative; z-index: 2; }

.hero .inner { max-width: 820px; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-top: 20px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--yellow); }

.hero .sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-3);
  max-width: 640px;
  line-height: 1.55;
}
.hero .ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(11, 22, 56, 0.78);
  backdrop-filter: saturate(130%) blur(10px);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
}
.hero-meta .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-meta .cell {
  padding: 24px var(--gutter);
  border-right: 1px solid var(--line-soft);
}
.hero-meta .cell:last-child { border-right: none; }
.hero-meta .k {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.hero-meta .v {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 19px;
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.hero-meta .v .acc { color: var(--yellow); }

@media (max-width: 760px) {
  .hero-meta .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-meta .cell { border-bottom: 1px solid var(--line-soft); padding: 18px var(--gutter); }
  .hero-meta .cell:nth-child(odd) { border-right: 1px solid var(--line-soft); }
}

/* ============================================================
   SECTION HEAD
   ============================================================ */

.sec-head {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sec-head .title-block .eyebrow { margin-bottom: 16px; }
.sec-head h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.sec-head .lede {
  color: var(--ink-3);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  max-width: 540px;
}
@media (max-width: 820px) {
  .sec-head { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.svc-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease;
}
.svc-card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.svc-card .img {
  aspect-ratio: 16 / 11;
  background: #000;
  overflow: hidden;
  position: relative;
}
.svc-card .img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-card:hover .img img { transform: scale(1.04); }
.svc-card .body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.svc-card .n {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.svc-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.svc-card p {
  color: var(--ink-3);
  font-size: 15px;
  margin-bottom: 20px;
  flex: 1;
  text-wrap: pretty;
}
.svc-card .more {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

.diff {
  background: var(--bg-0);
  padding: 36px 30px;
  transition: background .2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.diff:hover { background: var(--bg-2); }
.diff .ico {
  width: 44px; height: 44px;
  border: 1px solid var(--yellow);
  border-radius: var(--r);
  background: var(--yellow-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.diff .ico svg { width: 22px; height: 22px; stroke: var(--yellow); fill: none; stroke-width: 1.8; }
.diff h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.diff p { color: var(--ink-3); font-size: 14.5px; line-height: 1.55; }

/* ============================================================
   EQUIPMENT CARDS
   ============================================================ */

.eq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.eq-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.eq-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.eq-card .img {
  aspect-ratio: 4 / 3;
  background: #000;
  overflow: hidden;
}
.eq-card .img img { width: 100%; height: 100%; object-fit: cover; }
.eq-card .body { padding: 20px 22px 22px; }
.eq-card .cat {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.eq-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 10px;
}
.eq-card .desc {
  color: var(--ink-3);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.eq-card .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.eq-card .foot .btn-text { font-size: 12px; }

/* "Novo na frota" highlighted cards */
.eq-card.novo {
  border: 1px solid var(--yellow);
  box-shadow: 0 0 0 1px rgba(255, 199, 44, 0.18), 0 14px 40px rgba(0,0,0,.35);
  position: relative;
}
.eq-card.novo:hover { transform: translateY(-3px); }
.eq-card.novo .img { aspect-ratio: 4 / 3; }
.badge-novo {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(15, 26, 62, 0.18);
}

/* ============================================================
   ÁREA DE ATUAÇÃO
   ============================================================ */

.area-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; gap: 32px; } }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tag {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
  background: var(--bg-2);
  white-space: nowrap;
}
.tag.yellow { border-color: var(--yellow); color: var(--yellow); background: var(--yellow-soft); }

.area-list {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.area-list .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.area-list .row:last-child { border-bottom: none; }
.area-list .row .label {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.area-list .row .meta {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deepest) 0%, var(--navy-dark) 100%);
  padding-block: clamp(64px, 8vw, 120px);
  overflow: hidden;
  border-block: none;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/hero-desktop.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.20;
  z-index: 0;
}
@media (max-width: 820px) {
  .cta-band::before { background-image: url('img/hero-mobile.webp'); }
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,22,56,0.92) 0%, rgba(20,46,110,0.85) 50%, rgba(30,63,143,0.55) 100%);
  z-index: 1;
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band .inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) { .cta-band .inner { grid-template-columns: 1fr; gap: 24px; } }
.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.cta-band h2 .accent { color: var(--yellow); }
.cta-band p { color: var(--ink-3); font-size: 17px; max-width: 540px; }
.cta-band .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 820px) { .cta-band .ctas { justify-content: flex-start; } }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--bg-0);
  padding-top: 80px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .site-footer .grid { grid-template-columns: 1fr; gap: 24px; } }

.site-footer .col h4 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.site-footer .col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer .col a, .site-footer .col p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.5;
  transition: color .15s;
}
.site-footer .col a:hover { color: var(--yellow); }

.site-footer .lead p {
  color: var(--ink-3);
  font-size: 14.5px;
  margin: 16px 0 24px;
  max-width: 320px;
  line-height: 1.55;
}
.site-footer .copy {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer .copy .small {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */

.fab-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(77, 184, 83, .35), 0 0 0 1px rgba(0,0,0,.05);
  transition: transform .2s;
  animation: fab-pulse 2.4s ease-in-out infinite;
}
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 28px; height: 28px; }

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .35); }
  50%      { box-shadow: 0 10px 30px rgba(37, 211, 102, .55), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============================================================
   PAGE HEADERS (interior)
   ============================================================ */

.page-hero {
  position: relative;
  padding-block: clamp(72px, 10vw, 140px) clamp(48px, 6vw, 88px);
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, transparent 40%, var(--yellow-soft) 100%);
  opacity: .6;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .crumbs {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero .crumbs a:hover { color: var(--yellow); }
.page-hero .crumbs .sep { margin-inline: 10px; color: var(--line); }
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 880px;
}
.page-hero .sub {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: clamp(15px, 1.5vw, 18px);
  max-width: 720px;
  line-height: 1.55;
}

/* ============================================================
   CONTENT BLOCKS (interior pages)
   ============================================================ */

.prose {
  max-width: 720px;
}
.prose p {
  color: var(--ink-3);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 18px;
  text-wrap: pretty;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.two-col.flip > *:first-child { order: 2; }
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col.flip > *:first-child { order: 0; }
}

.frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 4 / 3;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.list-checked {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-checked li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.list-checked li:last-child { border-bottom: none; }
.list-checked li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 20px; height: 20px;
  background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23000' d='M9 16.17l-3.88-3.88-1.41 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23000' d='M9 16.17l-3.88-3.88-1.41 1.41L9 19 21 7l-1.41-1.41z'/></svg>") center/contain no-repeat;
}
.list-checked li strong { color: var(--ink); font-weight: 600; margin-right: 4px; }

/* ============================================================
   FORM (Contato)
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
}
.form h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 8px;
}
.form p.help {
  color: var(--ink-3);
  font-size: 14.5px;
  margin-bottom: 24px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--f-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--r);
  outline: none;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--yellow);
}
.field textarea { resize: vertical; min-height: 120px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.info-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.info-card .ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--yellow-soft);
  border: 1px solid var(--yellow);
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-card .ico svg { width: 22px; height: 22px; stroke: var(--yellow); fill: none; stroke-width: 1.8; }
.info-card .label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.info-card .val {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.info-card .val a:hover { color: var(--yellow); }
.info-card .sub {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 4px;
}

/* ============================================================
   UTILS
   ============================================================ */

.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Yellow corner stripe decoration */
.stripe-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 8px;
  background: var(--accent);
}

/* Pulse */
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  margin-right: 8px;
  animation: blink 1.4s infinite;
}


/* Larger logo — responsive trim */
@media (max-width: 560px) {
  .brand .logo { width: 44px; height: 44px; padding: 5px; border-radius: 5px; }
  .brand .wordmark { font-size: 18px; }
  .brand .tag { font-size: 8.5px; }
}


/* Footer phone CTA — replaces the green WhatsApp button.
   Two-tone block: dark surface with yellow border, bright yellow number. */
.phone-cta {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 18px rgba(15, 26, 62, .08), 0 0 0 1px rgba(77, 184, 83, 0.08);
  max-width: 320px;
}
.phone-cta:hover {
  transform: translateY(-1px);
  background: #F7FBF7;
  box-shadow: 0 10px 24px rgba(15, 26, 62, .12), 0 0 0 1px rgba(77, 184, 83, 0.18);
}
.phone-cta__ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.phone-cta__ico svg { width: 22px; height: 22px; }
.phone-cta__txt { display: flex; flex-direction: column; min-width: 0; }
.phone-cta__label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 2px;
}
.phone-cta__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}


/* ============================================================
   LIGHT THEME REFINEMENTS — component-level
   ============================================================ */

/* Page bg with subtle cool tint already set in --bg-0 */

/* Eyebrow & accent text — green for visual pop on light bg */
.eyebrow { color: var(--accent-deep); }
.eyebrow::before { background: var(--accent); }

/* On dark navy sections (hero, cta-band, footer), invert eyebrow/text */
.hero .eyebrow,
.cta-band .eyebrow,
.page-hero .eyebrow {
  color: var(--accent);
}
.hero .eyebrow::before,
.cta-band .eyebrow::before,
.page-hero .eyebrow::before {
  background: var(--accent);
}

/* Hero text on navy bg */
.hero h1 { color: #FFFFFF; }
.hero h1 .accent { color: var(--accent); }
.hero .sub { color: rgba(255, 255, 255, 0.82); }
.hero-meta .k { color: rgba(255, 255, 255, 0.55); }
.hero-meta .v { color: #FFFFFF; }
.hero-meta .v .acc { color: var(--accent); }
.hero-meta .cell { border-right-color: rgba(255, 255, 255, 0.08); }
.hero-meta .cell:nth-child(odd) { border-right-color: rgba(255, 255, 255, 0.08); }

/* CTA Band text on navy bg */
.cta-band h2 { color: #FFFFFF; }
.cta-band h2 .accent { color: var(--accent); }
.cta-band p { color: rgba(255, 255, 255, 0.78); }
.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}
.cta-band .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}
.hero .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Page hero (interior pages) — navy strip */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deepest) 0%, var(--navy-dark) 60%, var(--navy) 100%);
  border-bottom: none;
  color: #FFFFFF;
}
.page-hero::before {
  background-image: linear-gradient(135deg, transparent 40%, rgba(77, 184, 83, 0.18) 100%);
  opacity: 1;
}
.page-hero h1 { color: #FFFFFF; }
.page-hero .sub { color: rgba(255, 255, 255, 0.78); }
.page-hero .crumbs { color: rgba(255, 255, 255, 0.55); }
.page-hero .crumbs a { color: rgba(255, 255, 255, 0.55); }
.page-hero .crumbs a:hover { color: var(--accent); }
.page-hero .crumbs .sep { color: rgba(255, 255, 255, 0.2); }

/* Footer — deep navy with white text */
.site-footer {
  background: var(--navy-deepest);
  border-top: none;
  color: rgba(255, 255, 255, 0.82);
  padding-top: 72px;
}
.site-footer .col h4 { color: var(--accent); }
.site-footer .col a,
.site-footer .col p {
  color: rgba(255, 255, 255, 0.72);
}
.site-footer .col a:hover { color: var(--accent); }
.site-footer .lead p { color: rgba(255, 255, 255, 0.72); }
.site-footer .brand .wordmark { color: #FFFFFF; }
.site-footer .copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer .copy .small { color: rgba(255, 255, 255, 0.45); }

/* Phone CTA inside dark footer — white card pops */
.site-footer .phone-cta {
  background: #FFFFFF;
  border-color: var(--accent);
}
.site-footer .phone-cta__num { color: var(--ink); }
.site-footer .phone-cta__label { color: var(--muted); }

/* Cards: stronger elevation on cool bg */
.svc-card, .eq-card {
  box-shadow: 0 2px 6px rgba(15, 26, 62, .04), 0 1px 2px rgba(15, 26, 62, .03);
}
.svc-card:hover, .eq-card:hover {
  box-shadow: 0 14px 36px rgba(15, 26, 62, .12);
}
.eq-card.novo {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(77, 184, 83, 0.18), 0 14px 40px rgba(15, 26, 62, .10);
}

/* Area-list rows */
.area-list { box-shadow: 0 2px 6px rgba(15, 26, 62, .04); }

/* Diff cards on bg-0 with subtle hover */
.diff:hover { background: var(--bg-1); }
.diff .ico { border-color: var(--accent); background: var(--accent-soft); }
.diff .ico svg { stroke: var(--accent-deep); }

/* Form inputs on white */
.field input, .field textarea, .field select {
  background: #FFFFFF;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(77, 184, 83, 0.12);
}

/* Info card (Contato) icon */
.info-card .ico { background: var(--accent-soft); border-color: var(--accent); }
.info-card .ico svg { stroke: var(--accent-deep); }

/* List-checked: green checkmark */
.list-checked li::before { background: var(--accent); }

/* Tag highlighted */
.tag.yellow { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }

/* Nav active — navy primary */
.nav a.active, .mobile-nav a.active { color: var(--yellow); }
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

/* Stripe corner uses green */
.stripe-corner { background: var(--accent); }



@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { padding-block: clamp(56px, 14vw, 90px) clamp(280px, 78vw, 360px); }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
  .hero .sub { font-size: 15px; }
  .hero .ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero .ctas { width: 100%; }
  .hero-meta .grid { grid-template-columns: 1fr 1fr; }
  .hero-meta .cell { padding: 14px 20px; }
  .hero-meta .v { font-size: 15px; line-height: 1.25; }
  .hero-meta .k { font-size: 9.5px; }
  section { padding-block: clamp(40px, 10vw, 64px); }
  section + section { padding-block-start: clamp(32px, 8vw, 56px); }
  .sec-head { margin-bottom: clamp(24px, 6vw, 40px); }
  .sec-head h2, .display { font-size: clamp(28px, 8vw, 40px) !important; }
  .page-hero { padding-block: clamp(56px, 14vw, 90px) clamp(32px, 8vw, 60px); }
  .page-hero h1 { font-size: clamp(30px, 8vw, 48px); }
  .cta-band h2 { font-size: clamp(26px, 7vw, 36px); }
  .fab-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .site-footer { padding-top: 48px; padding-bottom: 24px; }
  .site-footer .grid { margin-bottom: 32px; gap: 32px; }
}

/* Tablet refinements (between 641 and 980) */
@media (min-width: 641px) and (max-width: 980px) {
  .hero h1 { font-size: clamp(42px, 6vw, 60px); }
  .nav { display: none; }
}

/* Performance: image transitions + content-visibility for off-screen sections */
img { content-visibility: auto; contain-intrinsic-size: 800px 600px; }
.svc-card, .eq-card, .diff { content-visibility: auto; }

/* Prevent CLS: aspect-ratio on all framed images */
.svc-card .img { aspect-ratio: 16 / 11; }
.eq-card .img { aspect-ratio: 4 / 3; }
.frame { aspect-ratio: 4 / 3; }

/* Smoother hover transitions only when device supports it */
@media (hover: none) {
  .svc-card:hover, .eq-card:hover { transform: none; }
}
