@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

/* ══════════════════════════════════════════
   HIDAI ENGENHARIA — DESIGN SYSTEM
   Premium Industrial · 2026
══════════════════════════════════════════ */

:root {
  /* Brand */
  --brand:         #e8751a;
  --brand-dark:    #c45e0e;
  --brand-light:   #f9a85d;
  --brand-ghost:   rgba(232,117,26,.10);
  --brand-glow:    rgba(232,117,26,.22);

  /* Ink & Surface (Light) */
  --ink:           #0c111d;
  --ink-2:         #1a2233;
  --ink-3:         #374151;
  --muted:         #6b7280;
  --muted-light:   #9ca3af;
  --line:          #e5e7eb;
  --line-strong:   #d1d5db;
  --bg:            #f8fafd;
  --surface:       #ffffff;
  --surface-2:     #f3f6fa;

  /* Dark sections */
  --dark:          #07090f;
  --dark-2:        #0e1420;
  --dark-3:        #151e2e;
  --dark-border:   rgba(255,255,255,.08);
  --dark-border-2: rgba(255,255,255,.14);
  --dark-muted:    #8899b3;
  --dark-text:     #cdd5e0;

  /* Elevation */
  --shadow-xs:  0 1px 3px rgba(12,17,29,.06), 0 1px 2px rgba(12,17,29,.04);
  --shadow-sm:  0 4px 12px rgba(12,17,29,.07), 0 2px 6px rgba(12,17,29,.05);
  --shadow-md:  0 12px 32px rgba(12,17,29,.10), 0 4px 12px rgba(12,17,29,.06);
  --shadow-lg:  0 24px 56px rgba(12,17,29,.13), 0 8px 20px rgba(12,17,29,.07);
  --shadow-brand: 0 10px 32px rgba(232,117,26,.28);

  /* Geometry */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --max:       1180px;

  /* Type */
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-serif:  'DM Serif Display', Georgia, serif;

  /* Motion */
  --ease:      cubic-bezier(.16,1,.3,1);
  --ease-in:   cubic-bezier(.4,0,1,1);
  --ease-out:  cubic-bezier(0,0,.2,1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

/* ─── UTILITIES ─── */
.skip-link {
  position: absolute; left: -999px; top: 10px;
  background: var(--ink); color: #fff;
  padding: 10px 14px; border-radius: var(--radius-sm); z-index: 9999;
}
.skip-link:focus { left: 10px; }

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

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand);
}
.kicker::before {
  content: ''; width: 32px; height: 2px;
  background: currentColor; border-radius: 2px;
  flex-shrink: 0;
}

/* ─── TOP STRIP ─── */
.top-strip {
  background: var(--dark);
  color: var(--dark-muted);
  font-size: .8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.top-strip .container {
  min-height: 36px;
  display: flex; align-items: center;
  justify-content: flex-end;
  gap: 20px; flex-wrap: wrap;
}
.top-strip a { color: inherit; }
.top-strip a:hover { color: #fff; }
.top-strip span::before {
  content: '·'; margin-right: 20px; opacity: .35;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-row {
  height: 76px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

/* Brand */
.brand {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden; padding: 5px;
  flex-shrink: 0;
  transition: border-color .25s var(--ease);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand:hover .brand-mark { border-color: var(--brand); }
.brand-text strong {
  display: block;
  font-size: 1.05rem; font-weight: 900;
  letter-spacing: .15em; color: var(--ink);
  line-height: 1;
}
.brand-text span {
  display: block;
  font-size: .64rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

/* Nav */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 42px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); cursor: pointer; color: var(--ink);
  font-size: .85rem; font-weight: 700;
  transition: border-color .2s, background .2s;
}
.nav-toggle:hover { border-color: var(--ink); }

.main-nav {
  display: flex; align-items: center; gap: 2px;
}
.main-nav > a, .nav-services summary {
  display: flex; align-items: center;
  min-height: 40px; padding: 0 14px;
  border-radius: 999px;
  font-size: .88rem; font-weight: 600;
  color: var(--ink-3);
  cursor: pointer; list-style: none;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-services summary::-webkit-details-marker { display: none; }
.main-nav > a:hover, .nav-services summary:hover,
.main-nav > a[aria-current="page"] {
  color: var(--ink); background: var(--surface-2);
}

.nav-cta {
  background: var(--dark) !important;
  color: #fff !important;
  padding: 0 20px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  border-radius: 999px !important;
  box-shadow: var(--shadow-sm) !important;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s !important;
}
.nav-cta:hover {
  background: #000 !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
}

.nav-services { position: relative; }
.nav-services summary::after {
  content: '▾'; font-size: .65rem; margin-left: 5px; opacity: .6;
}
.services-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 300px; padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 2px; z-index: 90;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.nav-services[open] .services-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.services-menu a {
  display: block; padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: .87rem; font-weight: 600;
  color: var(--ink-2);
  transition: color .2s, background .2s, padding-left .2s;
}
.services-menu a:hover {
  color: var(--ink); background: var(--surface-2);
  padding-left: 18px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-size: .9rem;
  font-weight: 700; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden;
  transform: translateZ(0);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.97); }

/* Shine sweep */
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }

.btn-primary {
  background: var(--brand); color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-dark); border-color: var(--brand-dark);
  box-shadow: 0 16px 44px rgba(232,117,26,.36);
}
.btn-dark {
  background: var(--dark); color: #fff; border-color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.btn-dark:hover { background: #000; box-shadow: var(--shadow-md); }
.btn-light {
  background: #fff; color: var(--ink); border-color: rgba(255,255,255,.6);
}
.btn-light:hover { background: #f5f5f5; }
.btn-outline {
  background: rgba(255,255,255,.06); color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 720px;
  background: var(--dark);
  color: #fff;
  display: grid; align-items: center;
  overflow: hidden;
}
.hero .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
  will-change: opacity;
}
.hero .slide.is-active { opacity: 1; }
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7,9,15,.94) 0%, rgba(7,9,15,.72) 50%, rgba(7,9,15,.35) 100%),
    linear-gradient(0deg, rgba(7,9,15,.7) 0%, transparent 35%);
  z-index: 1;
}

/* Hero accent stripe */
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--brand);
  z-index: 3;
}

.hero-inner {
  position: relative; z-index: 2;
  padding-top: 100px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) 360px;
  gap: 48px; align-items: center;
}

h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.045em;
  margin: 16px 0 22px;
}
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 680px;
  line-height: 1.65;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px;
}

/* Hero card */
.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background .3s, border-color .3s;
}
.hero-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.2);
}
.hero-card h2 {
  font-size: 1.25rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 10px;
  color: #fff;
}
.hero-card p { font-size: .93rem; color: rgba(255,255,255,.65); }
.hero-card ul {
  margin-top: 18px; display: grid; gap: 8px;
}
.hero-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; font-weight: 600; color: rgba(255,255,255,.82);
}
.hero-card li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  background: var(--brand-ghost);
  border: 1px solid rgba(232,117,26,.4);
  border-radius: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8751a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}

.slider-controls {
  position: absolute; right: 24px; bottom: 32px;
  z-index: 4; display: flex; gap: 8px;
}
.slider-controls button {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
  backdrop-filter: blur(8px);
}
.slider-controls button:hover {
  background: var(--brand); border-color: var(--brand);
  transform: translateY(-2px);
}

/* ─── STATS BAR ─── */
.section-compact { padding: 0; }
.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
  position: relative; z-index: 4;
}
.stat {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  transition: background .25s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--surface-2); }
.stat strong {
  display: block;
  font-size: 2.4rem; font-weight: 900;
  line-height: 1; color: var(--brand);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block; color: var(--muted);
  font-size: .8rem; font-weight: 600;
  margin-top: 6px; letter-spacing: .02em;
}

/* ─── PAGE HERO ─── */
.page-hero {
  position: relative; min-height: 440px;
  color: #fff; background: var(--dark);
  display: grid; align-items: end; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .5;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(7,9,15,.92) 0%, rgba(7,9,15,.6) 60%, rgba(7,9,15,.35) 100%),
    linear-gradient(0deg, rgba(7,9,15,.75) 0%, transparent 42%);
}
/* Accent */
.page-hero .accent-bar {
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%; background: var(--brand); z-index: 2;
}
.page-hero .container {
  position: relative; z-index: 2;
  padding-top: 100px; padding-bottom: 60px;
}
.page-hero h1 { max-width: 900px; font-size: clamp(2.2rem,4.5vw,3.8rem); }
.page-hero p { max-width: 760px; margin-top: 14px; color: rgba(255,255,255,.72); font-size: 1.05rem; }

/* bg helpers */
.bg-processos::before  { background-image: url('../img/apoio1.jpg'); }
.bg-mecanica::before   { background-image: url('../img/apoio2.jpg'); }
.bg-automacao::before  { background-image: url('../img/apoio3.jpg'); }
.bg-eletrica::before   { background-image: url('../img/apoio4.jpg'); }
.bg-civil::before      { background-image: url('../img/apoio5.jpg'); }
.bg-obras::before      { background-image: url('../img/apoio6.jpg'); }
.bg-empresa::before    { background-image: url('../img/home2.jpg'); }
.bg-clientes::before   { background-image: url('../img/home3.jpg'); }
.bg-contato::before    { background-image: url('../img/apoio7.jpg'); }

/* ─── SECTIONS ─── */
.section { padding: 92px 0; }
.section-white   { background: var(--surface); }
.section-soft    { background: var(--surface-2); }
.section-dark    {
  background: var(--dark);
  color: #fff;
  position: relative;
}
/* Subtle radial on dark sections */
.section-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 80% 20%, rgba(232,117,26,.12) 0%, transparent 65%);
}

.section-title {
  max-width: 820px; margin: 0 auto 44px; text-align: center;
}
.section-title.left { text-align: left; margin-left: 0; }
.section-title h2,
.feature-text h2,
.cta h2 {
  font-size: clamp(2rem,3.8vw,3.2rem);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -.04em; margin: 12px 0 14px;
}
.section-title p, .feature-text p, .cta p {
  font-size: 1rem; color: var(--muted); line-height: 1.7;
}
.section-dark .section-title p,
.section-dark .feature-text p,
.section-dark .cta p { color: var(--dark-muted); }
.section-dark .section-title h2,
.section-dark .feature-text h2,
.section-dark .cta h2 { color: #fff; }

/* ─── SERVICE CARDS ─── */
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}
.service-card {
  position: relative; min-height: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px 70px;
  overflow: hidden;
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s;
  display: block;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
/* Top colored rule */
.service-card::before {
  content: ''; position: absolute;
  top: 0; left: 28px; right: 28px; height: 3px;
  background: var(--brand);
  border-radius: 0 0 3px 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }

/* Decorative circle */
.service-card::after {
  content: ''; position: absolute;
  right: -40px; bottom: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--brand-ghost);
  transition: opacity .3s;
}

.service-card .tag {
  display: inline-flex;
  color: var(--brand); text-transform: uppercase;
  letter-spacing: .12em; font-size: .7rem; font-weight: 800;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 1.18rem; font-weight: 800;
  line-height: 1.2; margin-bottom: 10px; color: var(--ink);
}
.service-card p { color: var(--muted); font-size: .92rem; line-height: 1.65; }
.service-card strong {
  position: absolute; left: 26px; bottom: 24px;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; color: var(--ink);
  transition: color .2s;
}
.service-card:hover strong { color: var(--brand); }

/* ─── FEATURE ─── */
.feature {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(340px,.85fr);
  gap: 52px; align-items: center;
}
.feature.reverse .feature-text { order: 2; }
.feature.reverse .feature-image { order: 1; }

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark);
  min-height: 380px;
  position: relative;
  border: 1px solid var(--line);
}
.section-dark .feature-image { border-color: var(--dark-border); }
.feature-image img {
  width: 100%; height: 100%;
  min-height: 380px; object-fit: cover;
  transition: transform .7s var(--ease);
}
.feature-image:hover img { transform: scale(1.03); }

.check-list {
  padding: 0; margin-top: 24px; display: grid; gap: 10px;
}
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: .93rem; color: var(--ink-2);
  transition: border-color .2s, box-shadow .2s;
}
.check-list li:hover { border-color: var(--brand); box-shadow: var(--shadow-xs); }
.check-list li::before {
  content: ''; flex-shrink: 0;
  width: 20px; height: 20px; margin-top: 1px;
  background: var(--brand);
  border-radius: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.section-dark .check-list li {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
}
.section-dark .check-list li:hover { border-color: rgba(232,117,26,.5); }

/* ─── STEPS ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  counter-reset: steps;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
/* Number connector line */
.step + .step::before {
  content: '';
  position: absolute; top: 48px; left: -7px;
  width: 14px; height: 2px;
  background: var(--line);
  z-index: 1;
}
.step span {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: #fff;
  font-weight: 900; font-size: .9rem;
  letter-spacing: -.02em;
  transition: background .25s;
}
.step:hover span { background: var(--brand); }
.step h3 { font-size: 1.05rem; font-weight: 800; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: .88rem; line-height: 1.6; }
.section-dark .step {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.1);
  color: #fff;
}
.section-dark .step p { color: var(--dark-muted); }
.section-dark .step + .step::before { background: rgba(255,255,255,.12); }

/* ─── DELIVERABLES ─── */
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.deliverable {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow .25s, border-color .25s;
}
.deliverable:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.deliverable h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 14px; }
.deliverable ul { padding-left: 0; }
.deliverable li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .9rem; color: var(--muted);
  padding: 5px 0; border-bottom: 1px solid var(--line);
}
.deliverable li:last-child { border-bottom: none; }
.deliverable li::before {
  content: '–'; color: var(--brand); font-weight: 900; flex-shrink: 0;
}

/* Service aside */
.service-aside {
  background: var(--dark); color: #fff;
  border-radius: var(--radius); padding: 28px;
}
.service-aside p { color: var(--dark-muted); margin: 10px 0 18px; font-size: .95rem; }

/* Related */
.related {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px;
}
.related a {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: .88rem; font-weight: 700;
  transition: color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.related a:hover {
  color: var(--brand); border-color: var(--brand);
  transform: translateY(-2px); box-shadow: var(--shadow-xs);
}

/* ─── CLIENTS GRID ─── */
.clients-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 12px;
}
.clients-grid img {
  width: 100%; aspect-ratio: 1;
  object-fit: contain; padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  filter: grayscale(.15) opacity(.85);
  transition: filter .3s, transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.clients-grid img:hover {
  filter: grayscale(0) opacity(1);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

/* ─── CTA BLOCK ─── */
.cta {
  text-align: center; max-width: 840px; margin: 0 auto;
  position: relative; z-index: 2;
}
.cta .btn { margin-top: 20px; }

/* ─── CONTACT ─── */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) .82fr;
  gap: 24px; align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.form-grid { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block; font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line);
  background: var(--surface-2); border-radius: var(--radius-sm);
  padding: 13px 16px; color: var(--ink); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-ghost);
  background: var(--surface);
}
.field textarea { resize: vertical; }
.contact-list {
  display: grid; gap: 12px;
}
.contact-list li {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.contact-list li:hover { border-color: var(--brand); }
.contact-list strong { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a { color: var(--ink); font-weight: 700; }
.contact-list a:hover { color: var(--brand); }

/* ─── FOOTER ─── */
.footer {
  background: var(--dark); color: #fff;
  padding-top: 64px;
  border-top: 4px solid var(--brand);
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer h3 {
  font-size: 1rem; font-weight: 900;
  letter-spacing: .04em; margin-bottom: 14px;
  color: #fff;
}
.footer h4 {
  font-size: .7rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 16px;
}
.footer p { color: var(--dark-muted); font-size: .9rem; line-height: 1.7; max-width: 440px; }
.footer ul { display: grid; gap: 8px; }
.footer ul li a {
  color: var(--dark-text); font-size: .9rem;
  transition: color .2s, padding-left .18s;
  display: block;
}
.footer ul li a:hover { color: #fff; padding-left: 4px; }
.footer ul li:not(:has(a)) { color: var(--dark-muted); font-size: .9rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer-bottom span { color: #6b7280; font-size: .8rem; }

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 20px;
  border-radius: 999px;
  background: #25d366; color: #fff;
  font-weight: 800; font-size: .88rem;
  box-shadow: 0 12px 40px rgba(37,211,102,.35);
  transition: transform .28s var(--ease), box-shadow .28s;
}
.whatsapp-float::before {
  content: '';
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M11.999 0C5.373 0 0 5.373 0 12c0 2.117.554 4.103 1.523 5.825L.057 23.786a.75.75 0 0 0 .916.932l5.875-1.538A11.942 11.942 0 0 0 12 24c6.627 0 12-5.373 12-12S18.627 0 11.999 0zm.001 21.75a9.741 9.741 0 0 1-4.972-1.363l-.357-.212-3.683.964.981-3.593-.232-.37A9.746 9.746 0 0 1 2.25 12C2.25 6.615 6.615 2.25 12 2.25S21.75 6.615 21.75 12 17.385 21.75 12 21.75z'/%3E%3C/svg%3E") no-repeat center/contain;
}
.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 54px rgba(37,211,102,.42);
}

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .reveal[data-delay="4"] { transition-delay: .4s; }

/* ─── RESPONSIVE ─── */
@media (max-width:1060px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 580px; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .feature, .contact-layout { grid-template-columns: 1fr; }
  .feature.reverse .feature-text,
  .feature.reverse .feature-image { order: initial; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: repeat(4,1fr); }
  .related { grid-template-columns: repeat(2,1fr); }
}
@media (max-width:840px) {
  .top-strip .container { justify-content: center; font-size: .75rem; }
  .header-row { height: 68px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; left: 16px; right: 16px;
    top: calc(100% + 8px);
    display: none; flex-direction: column; align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 10px; box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a, .nav-services summary {
    border-radius: var(--radius-sm); justify-content: space-between;
  }
  .nav-services { width: 100%; }
  .services-menu {
    position: static; width: auto; box-shadow: none;
    margin: 4px 0 0; background: var(--surface-2);
    border-radius: var(--radius-sm);
    opacity: 1; pointer-events: auto; transform: none;
  }
  .hero { min-height: 760px; }
  .hero-inner { padding-top: 80px; }
  .slider-controls { display: none; }
  .deliverables { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width:620px) {
  .container { padding: 0 18px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-text strong { font-size: .95rem; }
  h1 { font-size: 2.4rem; }
  .page-hero { min-height: 380px; }
  .section { padding: 64px 0; }
  .cards, .steps, .related { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .footer { padding-bottom: 60px; }
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    left: auto;
    padding: 12px 16px;
    font-size: .82rem;
  }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal, .js .reveal { opacity: 1; transform: none; }
  .hero .slide { transform: none; }
  .btn::before { display: none; }
}

/* ══════════════════════════════════════════════════
   HIDAI · ENHANCEMENTS v3 — Hero institucional,
   Stats premium, Método com cards, Setores
══════════════════════════════════════════════════ */

/* ─── HERO institucional (left column refactor) ─── */
.hero-left { max-width: 760px; }
.hero h1 em {
  font-style: normal;
  color: var(--brand);
  display: inline-block;
}

/* Hero badges — KPIs leves embaixo do CTA */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: 600px;
}
.hero-badge {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-badge strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.hero-badge span {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* Hero card — label, cta */
.hero-card-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  padding: 5px 10px;
  border: 1px solid rgba(232,117,26,.4);
  background: rgba(232,117,26,.08);
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero-card li {
  align-items: center;
}
.hero-card .hc-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  background: rgba(232,117,26,.12);
  border: 1px solid rgba(232,117,26,.3);
  color: var(--brand);
  margin-top: 0;
}
.hero-card .hc-icon svg { width: 14px; height: 14px; }
/* override the default check ::before from .hero-card li */
.hero-card li::before { display: none; }

.hc-cta {
  display: inline-block;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--brand);
  transition: color .2s, gap .2s;
}
.hc-cta:hover { color: var(--brand-light); }

/* ─── SECTION-STATS — Strip premium abaixo do hero ─── */
.section-stats {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
  position: relative;
}
.section-stats::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--brand);
  opacity: .85;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
}
.stat-sep {
  display: none; /* using grid-gap + border-left instead */
}
.stats-row .stat-item + .stat-item {
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
}
.stat-num {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.stat-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.stat-info b {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: -.005em;
}
.stat-info span {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ─── SECTION-HEAD novo (mais formal) ─── */
.section-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-title-text {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.038em;
  margin: 14px 0 16px;
  color: var(--ink);
}
.section-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
}
.section-dark .section-title-text { color: #fff; }
.section-dark .section-desc { color: var(--dark-muted); }

/* ─── SERVICE CARDS v2 — sc-num + sc-link ─── */
.service-card .sc-num {
  position: absolute;
  top: 24px; right: 28px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--brand);
  opacity: .55;
  z-index: 2;
  transition: opacity .25s, transform .25s var(--ease);
}
.service-card:hover .sc-num {
  opacity: 1;
  transform: translateX(-2px);
}
.service-card .sc-link {
  position: absolute;
  left: 26px; bottom: 24px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  transition: color .2s;
}
.service-card:hover .sc-link { color: var(--brand); }

/* ─── STEPS v2 — bem preenchidos, com tags ─── */
/* Neutralize old .step span global style for new markup */
.step .step-tags span {
  all: revert;
  display: inline-block;
  width: auto;
  height: auto;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--line);
  line-height: 1.4;
  place-items: initial;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
/* Step top accent bar (full width on hover) */
.step::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 3px; width: 0;
  background: var(--brand);
  transition: width .4s var(--ease);
}
.step:hover::after { width: 100%; }

.step-number {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-number::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.step-number span {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: -.02em;
  transition: background .25s, transform .3s var(--ease);
}
.step:hover .step-number span {
  background: var(--brand);
  transform: rotate(-4deg);
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.2;
}
.step p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.step-tags span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.step:hover .step-tags span:first-child {
  color: var(--brand);
  border-color: rgba(232,117,26,.3);
  background: rgba(232,117,26,.06);
}
/* clear old step + step connector line */
.step + .step::before { display: none; }

/* ─── SECTORS GRID (Áreas de atuação) ─── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sector-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
/* Sector accent: vertical bar left */
.sector-card::before {
  content: '';
  position: absolute;
  left: 0; top: 32px;
  width: 3px; height: 0;
  background: var(--brand);
  border-radius: 0 3px 3px 0;
  transition: height .4s var(--ease);
}
.sector-card:hover::before { height: 60px; }

.sector-icon {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  color: var(--brand);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.sector-card:hover .sector-icon {
  background: linear-gradient(145deg, rgba(232,117,26,.1), rgba(232,117,26,.04));
  border-color: rgba(232,117,26,.3);
  transform: scale(1.05);
}
.sector-icon svg {
  width: 32px; height: 32px;
}

.sector-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.sector-body p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.sector-tags li {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-3);
  padding: 4px 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* Sector CTA card (último do grid) */
.sector-card--cta {
  background: linear-gradient(155deg, var(--ink) 0%, var(--dark-2) 100%);
  color: #fff;
  border-color: var(--ink);
  position: relative;
}
.sector-card--cta::before {
  background: var(--brand);
  height: 60px;
}
.sector-card--cta::after {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(232,117,26,.08);
  pointer-events: none;
}
.sector-card--cta:hover {
  border-color: var(--brand);
  box-shadow: 0 24px 56px rgba(7,9,15,.35);
}
.sector-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.sector-cta-icon {
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(232,117,26,.15);
  border: 1px solid rgba(232,117,26,.35);
  color: var(--brand);
}
.sector-cta-icon svg { width: 28px; height: 28px; }
.sector-card--cta h3 { color: #fff; }
.sector-card--cta p {
  color: rgba(255,255,255,.65);
  font-size: .92rem;
  flex: 1;
}
.sector-card--cta .btn {
  align-self: flex-start;
  margin-top: 6px;
}

/* ─── CTA actions (multi-button) ─── */
.cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}
.cta .btn { margin-top: 0; }

/* ═══════ Responsive overrides ═══════ */
@media (max-width: 1060px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 80px;
    padding-bottom: 70px;
  }
  .hero-card { max-width: 100%; }
  .hero-badges { max-width: 100%; }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .stats-row .stat-item + .stat-item {
    border-left: none;
    padding-left: 0;
  }
  /* divider only between columns, not rows */
  .stats-row .stat-item:nth-child(odd) + .stat-item {
    border-left: 1px solid var(--line);
    padding-left: 24px;
  }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 840px) {
  .section-stats { padding: 44px 0; }
  .section-stats::before { width: 3px; }

  .hero-badges {
    gap: 18px 28px;
    margin-top: 32px;
    padding-top: 24px;
  }
  .hero-badge strong { font-size: 1.55rem; }

  .step h3 { font-size: 1rem; }

  .sector-card { padding: 26px 22px; }
  .sector-icon { width: 56px; height: 56px; }
  .sector-icon svg { width: 28px; height: 28px; }
}

@media (max-width: 620px) {
  .hero-inner { padding-top: 60px; padding-bottom: 50px; }
  .hero-badges {
    gap: 16px 24px;
  }
  .hero-badge strong { font-size: 1.4rem; }
  .hero-badge span { font-size: .65rem; }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stats-row .stat-item + .stat-item {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 22px;
  }
  .stat-item { gap: 14px; }
  .stat-num { font-size: 2.1rem; }

  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 24px 20px; }
  .step-number span { width: 40px; height: 40px; }

  .sectors-grid { grid-template-columns: 1fr; gap: 14px; }
  .sector-card { padding: 24px 22px; }

  .cta-actions { gap: 10px; flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

/* Allow card hover transforms to "breathe" without horizontal overflow */
@media (min-width: 720px) {
  .cards, .steps, .sectors-grid { padding-top: 6px; padding-bottom: 6px; }
}

/* ══════════════════════════════════════════════════
   HIDAI · REFINEMENT v4 — Logo, Top-strip, Typography,
   Sector Icons, Dark Section Contrast
══════════════════════════════════════════════════ */

/* ─── 1. TOP-STRIP centralizada ─── */
.top-strip .container {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  text-align: center;
}
.top-strip .container > * {
  padding: 0 20px;
  position: relative;
}
.top-strip .container > * + *::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.18);
}
/* Remove the old "·" pseudo separator */
.top-strip span::before { content: none; margin-right: 0; }

@media (max-width: 720px) {
  .top-strip .container {
    flex-direction: column;
    gap: 4px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .top-strip .container > * { padding: 0; }
  .top-strip .container > * + *::before { display: none; }
  .top-strip .container > *:nth-child(3) { display: none; } /* hide location on small screens */
}

/* ─── 3. LOGO — refinamento tipográfico ─── */
.brand-text strong {
  font-weight: 400;          /* muito mais fino */
  font-size: 1.18rem;
  letter-spacing: .38em;     /* respiro forte entre letras */
  color: var(--ink);
}
.brand-text span {
  font-weight: 400;
  font-size: .58rem;
  letter-spacing: .22em;     /* ainda mais espaçado */
  color: var(--ink-3);
  margin-top: 6px;
}
.brand-mark {
  border: none;              /* visual mais limpo, sem moldura */
  background: transparent;
  padding: 0;
}

/* ─── 4. TIPOGRAFIA mais refinada (peso reduzido) ─── */
h1 { font-weight: 700; letter-spacing: -.035em; }
.hero h1 em { font-weight: 700; }
.section-title-text,
.section-title h2,
.feature-text h2,
.cta h2,
.page-hero h1 { font-weight: 700; letter-spacing: -.03em; }

.section-title h2,
.feature-text h2,
.cta h2 { font-weight: 700; }

.service-card h3,
.sector-body h3,
.step h3,
.deliverable h3,
.hero-card h2 { font-weight: 600; }

.stat-num,
.stat strong,
.hero-badge strong { font-weight: 700; }

.kicker { font-weight: 500; }
.section__label { font-weight: 500; }

.btn { font-weight: 600; letter-spacing: .03em; }
.btn-primary { font-weight: 600; }
.btn-dark, .nav-cta { font-weight: 600 !important; }

.main-nav > a,
.nav-services summary { font-weight: 500; }

.tag,
.service-card .tag { font-weight: 600; }
.sc-num { font-weight: 600; }

.footer h3 { font-weight: 600; }
.footer h4 { font-weight: 600; }

.step-tags span,
.sector-tags li { font-weight: 500; }

/* ─── 5. ÍCONES DE SETORES — uniformes e refinados ─── */
.sector-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--brand);
  padding: 0;
}
.sector-icon svg {
  width: 28px; height: 28px;
  stroke-width: 1.4;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sector-card:hover .sector-icon {
  background: rgba(232,117,26,.08);
  border-color: rgba(232,117,26,.3);
  transform: none;
}

/* CTA card icon mantém a identidade do dark */
.sector-cta-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
}

/* ─── 6. DARK SECTION — contraste de cards ─── */
.section-dark .step {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}
.section-dark .step:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(232,117,26,.5);
}
/* Títulos dos cards claros e legíveis */
.section-dark .step h3 {
  color: #f1f4f9;
  font-weight: 600;
  letter-spacing: -.005em;
}
.section-dark .step p {
  color: rgba(205,213,224,.78);
}
/* Número do card destacado em laranja em fundo escuro */
.section-dark .step > span {
  background: rgba(232,117,26,.14);
  border: 1px solid rgba(232,117,26,.4);
  color: #ffc89a;
}
.section-dark .step:hover > span {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* Garante que outros textos em dark fiquem legíveis */
.section-dark .deliverable {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
  color: #fff;
}
.section-dark .deliverable h3 { color: #f1f4f9; }
.section-dark .deliverable li { color: rgba(205,213,224,.78); border-color: rgba(255,255,255,.08); }

/* ─── BRAND no header escuro de páginas internas ─── */
@media (max-width: 620px) {
  .brand-text strong { font-size: 1rem; letter-spacing: .3em; }
  .brand-text span { font-size: .54rem; letter-spacing: .18em; }
}
