/* =========================================================
   Ambiental Seg — estilos
   Cores da marca: azul #1b4fa0 · verde #1f9d47
   ========================================================= */
:root {
  --blue: #1b4fa0;
  --blue-deep: #143c7a;
  --green: #1f9d47;
  --ink: #18233a;
  --ink-dark: #121a2c;
  --bg: #f6f8fc;
  --white: #ffffff;
  --muted: #5b6782;
  --border: #e7ecf5;
  --input: #dde3ee;
  --wa: #25d366;
  --wa-hover: #1ebe57;
  --radius: 12px;
  --shadow-photo: 0 30px 60px rgba(24, 35, 58, 0.25);
  --shadow-nav: 0 4px 25px rgba(27, 79, 160, 0.12);
  --shadow-soft: 0 30px 70px rgba(24, 35, 58, 0.1);
  --shadow-float: 0 15px 35px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
h1,
h2,
h3,
h4 {
  font-family: "Sora", system-ui, sans-serif;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
p {
  margin: 0;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
button {
  font: inherit;
  cursor: pointer;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
.muted {
  color: var(--muted);
}

/* ---------- Ícones SVG ---------- */
svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}
.ico {
  display: inline-flex;
  font-size: 20px;
}
.ico.sm {
  font-size: 16px;
}
.ico.eco {
  color: var(--green);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 600;
  padding: 10px 24px;
  transition: background 0.25s, color 0.25s;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1.125rem;
}
.btn-main {
  background: var(--blue);
  color: var(--white);
}
.btn-main:hover {
  background: var(--blue-deep);
}
.btn-outline {
  border: 1px solid rgba(91, 103, 130, 0.5);
  color: var(--muted);
}
.btn-outline:hover {
  background: var(--muted);
  color: var(--white);
}
.btn-wa {
  background: var(--wa);
  color: var(--white);
}
.btn-wa:hover {
  background: var(--wa-hover);
}

.pill {
  display: inline-block;
  background: rgba(27, 79, 160, 0.1);
  color: var(--blue);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.grad {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Menu ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--white);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: var(--shadow-nav);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo img {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07));
}
.menu-btn {
  display: inline-flex;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  font-size: 24px;
  color: var(--ink);
}
.menu-btn .ico-close,
.navbar.open .menu-btn .ico-open {
  display: none;
}
.navbar.open .menu-btn .ico-close {
  display: inline-flex;
}
.nav-links {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  padding: 8px 0 16px;
  font-weight: 600;
}
.nav-links a:not(.btn) {
  display: block;
  padding: 8px 0;
}
.nav-links .btn {
  margin-top: 8px;
}
.navbar.open .nav-links {
  display: flex;
}

@media (min-width: 1024px) {
  .logo img {
    height: 88px;
  }
  .menu-btn {
    display: none;
  }
  .nav-links,
  .navbar.open .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    width: auto;
    border: 0;
    padding: 0;
  }
  .nav-links a:not(.btn) {
    padding: 0;
    transition: color 0.2s;
  }
  .nav-links a:not(.btn):hover {
    color: var(--blue);
  }
  .nav-links .btn {
    margin-top: 0;
  }
}

/* ---------- Topo / banners ---------- */
.hero {
  padding: 160px 0 96px;
  background:
    radial-gradient(circle at 80% 20%, rgba(31, 157, 71, 0.18), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(27, 79, 160, 0.18), transparent 45%);
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin: 24px 0;
}
.lead {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.collage {
  position: relative;
}
.banner {
  position: relative;
  aspect-ratio: 1600 / 912;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-photo);
}
.banner-small {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 55%;
  border: 6px solid var(--white);
}
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.slide.on {
  opacity: 1;
}
.dots {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 20, 40, 0.35);
}
.dots button {
  width: 10px;
  height: 10px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}
.dots button.on {
  background: var(--white);
  transform: scale(1.25);
}
.float-card {
  position: absolute;
  top: 20px;
  right: -10px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-float);
  animation: float-y 4s ease-in-out infinite;
}
@keyframes float-y {
  50% {
    transform: translateY(-12px);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  .banner-small {
    left: -40px;
  }
}

/* ---------- Seções ---------- */
.sec {
  padding: 96px 0;
}
.sec-white {
  background: var(--white);
}
.sec-head {
  text-align: center;
  margin-bottom: 48px;
}
.sec-head h2,
h2.mt {
  font-size: 2.25rem;
  margin-top: 16px;
}
h2.mt {
  margin-bottom: 16px;
}

/* Empresa */
.two-cols {
  display: grid;
  gap: 48px;
  align-items: center;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
}
.stat b {
  color: var(--green);
}
.rounded-img {
  width: 100%;
  border-radius: 24px;
}
@media (min-width: 1024px) {
  .two-cols {
    grid-template-columns: 1fr 1fr;
  }
  .order-2 {
    order: 2;
  }
}

/* ---------- Carrossel de treinamentos ---------- */
.carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
}
.carousel-track {
  display: flex;
  margin-left: -24px;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.carousel-track.dragging {
  transition: none;
}
.slide-card {
  flex: 0 0 100%;
  min-width: 0;
  padding-left: 24px;
}
@media (min-width: 768px) {
  .slide-card {
    flex-basis: 50%;
  }
}
@media (min-width: 1024px) {
  .slide-card {
    flex-basis: 33.3333%;
  }
}
.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
  user-select: none;
  -webkit-user-drag: none;
}
.card:hover .card-img img {
  transform: scale(1.1);
}
.card-body {
  flex: 1;
  padding: 24px;
}
.card-body h3 {
  font-size: 1.25rem;
}
.card-body p {
  margin-top: 12px;
  color: var(--muted);
}
.nr-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}
.nr-list li {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.875rem;
  line-height: 1.35;
}
.nr-list b {
  color: var(--green);
}
.carousel-controls {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.arrow {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--blue);
  font-size: 20px;
  transition: all 0.25s;
}
.arrow:hover {
  background: var(--blue);
  color: var(--white);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(27, 79, 160, 0.25);
  transition: all 0.3s;
}
.carousel-dots button.on {
  width: 28px;
  background: var(--blue);
}

/* ---------- Rodapé ---------- */
.footer {
  background: var(--ink-dark);
  color: #b4bdd0;
  padding: 24px 0;
  font-size: 0.875rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: center;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
  }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  font-size: 32px;
  animation: wa-pulse 2s infinite;
  transition: transform 0.2s;
}
.wa-float:hover {
  transform: scale(1.05);
}
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ---------- Animação ao rolar ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .float-card,
  .wa-float {
    animation: none;
  }
}

/* =========================================================
   NOVO — Barra de progresso de leitura
   ========================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), #38bdf8, var(--green));
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
  pointer-events: none;
}

/* =========================================================
   NOVO — Traços decorativos nas seções claras
   ========================================================= */
.hero,
.sec {
  position: relative;
}
.hero > .container,
.sec > .container {
  position: relative;
  z-index: 1;
}
.deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.deco svg {
  position: absolute;
  width: auto;
  height: auto;
  will-change: transform;
}
.deco .d-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.deco.in .d-line {
  stroke-dashoffset: 0;
}
.deco .d-node {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.deco.in .d-node {
  opacity: 1;
  transform: scale(1);
}
.deco .d-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3.2s ease-out infinite;
}
@keyframes node-pulse {
  0% { transform: scale(0.6); opacity: 0.55; }
  100% { transform: scale(3.2); opacity: 0; }
}
.deco .d-ring-spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: ring-spin 60s linear infinite;
}
.deco .d-ring-spin.rev {
  animation-duration: 90s;
  animation-direction: reverse;
}
@keyframes ring-spin {
  to { transform: rotate(360deg); }
}
.deco .d-spark {
  offset-rotate: 0deg;
  animation: spark-run 7s linear infinite;
}
@keyframes spark-run {
  from { offset-distance: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  to   { offset-distance: 100%; opacity: 0; }
}

/* =========================================================
   NOVO — Seção "O que fazemos" (fundo claro com relevo topográfico)
   ========================================================= */
.svc-sec {
  --navy: #0b1730;
  position: relative;
  isolation: isolate;
  padding: 130px 0 150px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 12% 10%, rgba(27, 79, 160, 0.09), transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(31, 157, 71, 0.09), transparent 50%),
    var(--bg);
}
/* traços de borda: estáticos, finos e bem claros */
.svc-wave {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 120px;
  z-index: 0;
  pointer-events: none;
}
.svc-wave .wave-fill { fill: none; }
.svc-wave-bottom {
  top: auto;
  bottom: 0;
}
.svc-wave-bottom .wave-fill { fill: var(--white); }
.wave-line {
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.wave-line.w1 { stroke: #cfe3d6; }
.wave-line.w2 { stroke: #d6e2f3; }
.wave-line.w3 { stroke: #e3eaf5; }

.svc-sec > .deco { z-index: 0; }
.svc-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.svc-topo {
  position: absolute;
  inset: -6%;
  background: url("../img/topo.svg") center / cover no-repeat;
  animation: topo-drift 40s ease-in-out infinite alternate;
}
@keyframes topo-drift {
  to { transform: translate3d(-2.5%, 2%, 0) scale(1.05); }
}
.svc-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 79, 160, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 79, 160, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.16;
}
.orb-a { left: -120px; top: 18%; background: #1b4fa0; animation: orb 18s ease-in-out infinite alternate; }
.orb-b { right: -140px; bottom: 6%; background: #1f9d47; animation: orb 22s ease-in-out infinite alternate-reverse; }
@keyframes orb {
  to { transform: translate(80px, -60px) scale(1.15); }
}
/* linhas finas estáticas, quase imperceptíveis */
.faint {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dbe6f4 20%, #d9efe0 80%, transparent);
  transform: rotate(-4deg);
}
.faint.f1 { top: 24%; }
.faint.f2 { top: 56%; transform: rotate(3deg); }
.faint.f3 { top: 86%; transform: rotate(-2deg); }
.svc-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 157, 71, 0.08), transparent 62%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s;
}
.svc-sec:hover .svc-glow { opacity: 1; }

.svc-inner {
  position: relative;
  z-index: 1;
}
.svc-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.svc-head h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-top: 16px;
  color: var(--ink);
}
.svc-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.075rem;
}
.pill-dark {
  background: rgba(27, 79, 160, 0.1);
  color: var(--blue);
}
.grad-light {
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Grade em "bento": 2 linhas assimétricas no desktop */
.svc-grid-cards {
  display: grid;
  gap: 20px;
  perspective: 1200px;
}
@media (min-width: 768px) {
  .svc-grid-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .svc-grid-cards { grid-template-columns: repeat(4, 1fr); }
  .svc-grid-cards .svc:nth-child(1),
  .svc-grid-cards .svc:nth-child(6) { grid-column: span 2; }
}

/* Card */
.svc {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --accent: var(--green);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px;
  border-radius: 24px;
  cursor: pointer;
  overflow: hidden;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(27, 79, 160, 0.07), transparent 45%),
    rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -18px rgba(24, 35, 58, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  transition: border-color 0.4s, box-shadow 0.5s;
}
.svc:nth-child(even) { --accent: var(--blue); }
.svc.reveal.visible {
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: opacity 0.9s ease, transform 0.25s ease-out, border-color 0.4s, box-shadow 0.5s;
}
.svc::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--accent), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.svc-art {
  position: absolute;
  right: -28px;
  bottom: -34px;
  width: 210px;
  height: 210px;
  color: var(--accent);
  opacity: 0.07;
  transform: rotate(-8deg);
  transition: opacity 0.6s, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.svc-art svg { width: 100%; height: 100%; }
.svc-art svg * {
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.svc:hover .svc-art svg * {
  animation: draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateZ(30px);
}
.svc-num {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 79, 160, 0.3);
  background: linear-gradient(90deg, var(--blue), var(--green)) 0 100% / 0% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1), -webkit-text-stroke-color 0.4s;
}
.svc-go {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--blue);
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s, color 0.3s, border-color 0.3s;
}
.svc-ico {
  position: relative;
  width: 58px;
  height: 58px;
  margin-top: 26px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 24px rgba(27, 79, 160, 0.22);
  transform: translateZ(45px);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}
.svc-ico::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 22px;
  border: 1px dashed rgba(31, 157, 71, 0.55);
  opacity: 0;
  transform: scale(0.8) rotate(0deg);
  transition: opacity 0.4s, transform 0.6s;
}
.svc h3 {
  margin-top: 20px;
  font-size: 1.3rem;
  color: var(--ink);
  transform: translateZ(35px);
}
.svc-link { all: unset; cursor: pointer; }
.svc-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 24px;
}
.svc-link:focus-visible::after {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.svc p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 46ch;
  transform: translateZ(20px);
}
.svc-more {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.svc-more::after {
  content: "";
  height: 1.5px;
  width: 18px;
  background: currentColor;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc:hover,
.svc:focus-within {
  border-color: transparent;
  box-shadow: 0 30px 60px -24px rgba(27, 79, 160, 0.35), 0 0 50px -12px rgba(31, 157, 71, 0.25);
}
.svc:hover::before,
.svc:focus-within::before { opacity: 1; }
.svc:hover .svc-art { opacity: 0.22; transform: rotate(0deg) scale(1.06); }
.svc:hover .svc-num { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.svc:hover .svc-go,
.svc:focus-within .svc-go { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: transparent; }
.svc:hover .svc-ico { transform: translateZ(60px) rotate(-8deg) scale(1.08); box-shadow: 0 16px 36px rgba(31, 157, 71, 0.35); }
.svc:hover .svc-ico::after { opacity: 1; transform: scale(1) rotate(90deg); }
.svc:hover .svc-more::after { width: 46px; }

.svc .ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: rgba(31, 157, 71, 0.25);
  transform: scale(0);
  animation: ripple 0.7s ease-out forwards;
  pointer-events: none;
  z-index: 2;
}
@keyframes ripple {
  to { transform: scale(80); opacity: 0; }
}

/* =========================================================
   NOVO — Modal de detalhes do serviço
   ========================================================= */
html.modal-open { overflow: hidden; }
.smodal {
  width: min(1060px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 50px 120px -20px rgba(4, 12, 30, 0.6);
}
.smodal::backdrop {
  background: rgba(8, 18, 40, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.smodal[open] { animation: sm-in 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.smodal[open]::backdrop { animation: fade-in 0.4s ease; }
.smodal.closing { animation: sm-out 0.3s ease forwards; }
.smodal.closing::backdrop { animation: fade-out 0.3s ease forwards; }
@keyframes sm-in {
  from { opacity: 0; transform: translateY(24px) scale(0.94); clip-path: inset(10% 10% 10% 10% round 28px); }
  to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 28px); }
}
@keyframes sm-out { to { opacity: 0; transform: translateY(16px) scale(0.97); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.sm-shell {
  position: relative;
  display: grid;
  max-height: calc(100dvh - 48px);
}
.sm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  font-size: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s, color 0.2s;
}
.sm-close:hover { transform: rotate(90deg); background: var(--ink); color: #fff; }

.sm-visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  color: #fff;
  background: #0b1730;
}
.sm-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 14s ease-out forwards;
}
@keyframes kenburns { to { transform: scale(1); } }
.sm-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 20, 45, 0.95) 8%, rgba(8, 20, 45, 0.55) 55%, rgba(8, 20, 45, 0.15)),
    linear-gradient(135deg, rgba(27, 79, 160, 0.55), rgba(31, 157, 71, 0.35));
}
.sm-art {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 280px;
  height: 280px;
  color: #5fd08a;
  opacity: 0.35;
}
.sm-art svg { width: 100%; height: 100%; }
.sm-art svg * {
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.2s 0.25s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.sm-visual-body {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.sm-num {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}
.sm-ico {
  width: 56px;
  height: 56px;
  margin-top: 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 30px rgba(31, 157, 71, 0.35);
}
.sm-visual h3 {
  margin-top: 16px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.sm-visual p {
  margin-top: 10px;
  color: #cfdaf0;
}

.sm-content {
  padding: 30px 26px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sm-lead {
  font-size: 1.08rem;
  color: #334160;
}
.sm-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.sm-h::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.sm-list {
  display: grid;
  gap: 10px;
}
.sm-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.sm-list li:hover {
  transform: translateX(4px);
  border-color: rgba(31, 157, 71, 0.4);
  background: #f1faf4;
}
.sm-check {
  flex: 0 0 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #fff;
  background: var(--green);
}
.sm-steps {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: st;
}
.sm-steps li {
  position: relative;
  counter-increment: st;
  padding-left: 52px;
  min-height: 38px;
  display: flex;
  align-items: center;
  font-weight: 600;
}
.sm-steps li::before {
  content: counter(st);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  color: var(--blue);
  background: #fff;
  border: 2px solid var(--blue);
  z-index: 1;
}
.sm-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 38px;
  width: 2px;
  height: calc(100% - 22px);
  background: linear-gradient(var(--blue), var(--green));
  transform-origin: top;
  transform: scaleY(0);
  animation: grow-y 0.6s ease forwards;
  animation-delay: calc(0.5s + var(--i, 0) * 0.15s);
}
@keyframes grow-y { to { transform: scaleY(1); } }
.sm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sm-chips span {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: rgba(27, 79, 160, 0.08);
  border: 1px solid rgba(27, 79, 160, 0.15);
}
.sm-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.sm-cta {
  position: relative;
  overflow: hidden;
  padding: 14px 26px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--green));
  background-size: 200% 100%;
  box-shadow: 0 12px 30px -8px rgba(27, 79, 160, 0.55);
  transition: background-position 0.5s, transform 0.25s;
}
.sm-cta:hover { background-position: 100% 0; transform: translateY(-2px); }
.sm-cta svg { transition: transform 0.3s; }
.sm-cta:hover svg { transform: translateX(4px); }
.sm-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45), transparent 70%);
  transform: translateX(-100%);
  animation: shine 3.2s ease-in-out infinite 1s;
}
@keyframes shine { 40%, 100% { transform: translateX(100%); } }
.sm-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
}
/* entrada escalonada do conteúdo */
.sm-anim {
  opacity: 0;
  transform: translateY(14px);
  animation: item-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.12s + var(--i, 0) * 0.06s);
}
@keyframes item-in { to { opacity: 1; transform: none; } }

@media (min-width: 860px) {
  .sm-shell {
    grid-template-columns: 0.85fr 1.15fr;
    height: min(680px, calc(100dvh - 48px));
  }
  .sm-visual { min-height: 0; }
  .sm-content { padding: 40px 40px 32px; }
  .sm-steps { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .sm-steps li {
    flex-direction: column;
    align-items: flex-start;
    padding: 50px 6px 0 0;
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .sm-steps li:not(:last-child)::after {
    left: 42px;
    top: 18px;
    width: calc(100% - 38px);
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--green));
    transform-origin: left;
    transform: scaleX(0);
    animation-name: grow-x;
  }
}
@keyframes grow-x { to { transform: scaleX(1); } }

@media (max-width: 859px) {
  .smodal {
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
  }
  .smodal[open] { animation: sheet-in 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
  .smodal.closing { animation: sheet-out 0.3s ease forwards; }
  .sm-shell { max-height: 92dvh; overflow-y: auto; }
  .sm-content { overflow: visible; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .svc-topo, .orb, .deco .d-pulse, .deco .d-ring-spin, .deco .d-spark,
  .sm-cta::after, .sm-visual img { animation: none !important; }
  .svc.reveal.visible { transform: none; }
  .sm-anim { animation: none; opacity: 1; transform: none; }
}

/* ajustes finos do modal */
.sm-lead { padding-right: 36px; }
.sm-content { padding-bottom: 0 !important; }
.sm-foot {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-bottom: 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 -18px 24px -18px rgba(24, 35, 58, 0.18);
}

/* =========================================================
   AJUSTE 6 — Efeito no título principal
   ========================================================= */
.hero h1 .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0 0.04em 0.12em;
  margin: 0 -0.04em -0.12em;
}
.hero h1 .w > span {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  opacity: 0;
  filter: blur(6px);
  animation: word-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.25s + var(--i) * 0.08s);
}
@keyframes word-rise {
  to { transform: none; opacity: 1; filter: blur(0); }
}
/* degradê que flui nas palavras destacadas */
.hero h1 .gw {
  background: linear-gradient(90deg, var(--blue), #0e7490, var(--green), #0e7490, var(--blue));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    word-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    grad-flow 8s linear infinite;
  animation-delay: calc(0.25s + var(--i) * 0.08s), 0s;
}
@keyframes grad-flow {
  to { background-position: 300% 0; }
}
/* traço "feito à mão" sob a palavra-chave */
.hero h1 .w.mark {
  position: relative;
  overflow: visible;
}
.hero h1 .w.mark .mark-line {
  position: absolute;
  left: 0;
  bottom: -0.08em;
  width: 100%;
  height: 0.32em;
  overflow: visible;
  pointer-events: none;
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
}
.mark-line path {
  fill: none;
  stroke: url(#markGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  animation-delay: 1.2s;
}
/* cursor piscando ao final */
.hero h1 .caret {
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  border-radius: 2px;
  background: var(--green);
  opacity: 0;
  animation: caret 1s steps(1) infinite;
  animation-delay: 1.4s;
}
@keyframes caret {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* =========================================================
   AJUSTE 4 — Zoom na imagem de "A empresa"
   ========================================================= */
.zoom-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 24px 50px -24px rgba(24, 35, 58, 0.35);
  transition: box-shadow 0.6s;
  cursor: zoom-in;
}
.zoom-wrap .rounded-img {
  border-radius: 0;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s;
}
.zoom-wrap:hover .rounded-img {
  transform: scale(1.12);
  filter: saturate(1.15) contrast(1.03);
}
.zoom-wrap:hover {
  box-shadow: 0 34px 70px -24px rgba(27, 79, 160, 0.45);
}
.zoom-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-110%);
  pointer-events: none;
}
.zoom-wrap:hover .zoom-shine {
  transform: translateX(110%);
  transition: transform 1.1s ease;
}

/* =========================================================
   AJUSTE 2 — Bolinhas com halo nas redes
   ========================================================= */
.deco .d-spark-halo {
  filter: blur(3px);
}

/* =========================================================
   AJUSTE 7 — Formulário de contato
   ========================================================= */
.cbox {
  position: relative;
  display: grid;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 40px 90px -40px rgba(24, 35, 58, 0.35);
}
/* borda em degradê animado */
.cbox::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  z-index: -1;
  border-radius: 31.5px;
  background: conic-gradient(from var(--ang, 0deg), var(--blue), #38bdf8, var(--green), #a7f3d0, var(--blue));
  animation: spin-ang 8s linear infinite;
  opacity: 0.7;
}
@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes spin-ang {
  to { --ang: 360deg; }
}
.cside {
  position: relative;
  overflow: hidden;
  padding: 40px;
  color: var(--white);
  border-radius: 30px 30px 0 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(155deg, #17488f 0%, #1b4fa0 35%, #13805f 75%, var(--green) 100%);
}
.cside > *:not(.cside-art) { position: relative; z-index: 1; }
.cside-art .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.cside-art .r1 { width: 320px; height: 320px; right: -120px; bottom: -120px; }
.cside-art .r2 { width: 210px; height: 210px; right: -65px; bottom: -65px; border-style: dashed; animation: ring-spin 50s linear infinite; }
.cside-art .r3 { width: 140px; height: 140px; left: -50px; top: -50px; }
.pill-glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.cside h3 {
  margin-top: 18px;
  font-size: 2rem;
}
.soft {
  margin-top: 10px;
  opacity: 0.85;
}
.csteps {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.csteps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}
.csteps b {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-size: 0.9rem;
  color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.15);
}
.clinks {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}
.clink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  transition: background 0.3s, transform 0.3s;
  word-break: break-word;
}
.clink:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}
.clink .ico {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.18);
}
.clink small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.75;
  line-height: 1.2;
}

.cform-wrap {
  padding: 32px 24px;
}
.cform-title {
  font-size: 1.5rem;
}
.cform-sub {
  margin-top: 4px;
  color: var(--muted);
}
.cform {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.field {
  position: relative;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 16px;
  padding: 26px 16px 10px 50px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea {
  resize: vertical;
  min-height: 130px;
  padding-top: 30px;
}
.field select { padding-right: 44px; cursor: pointer; }
.field label {
  position: absolute;
  left: 50px;
  top: 18px;
  color: var(--muted);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s;
}
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field-select label {
  transform: translateY(-10px) scale(0.78);
  color: var(--blue);
  font-weight: 600;
}
.f-ico {
  position: absolute;
  left: 16px;
  top: 19px;
  z-index: 1;
  display: inline-flex;
  font-size: 20px;
  color: #93a0b8;
  transition: color 0.25s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.f-chev {
  position: absolute;
  right: 16px;
  top: 21px;
  display: inline-flex;
  font-size: 18px;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.3s;
}
.field:hover input,
.field:hover select,
.field:hover textarea {
  background: #eef2f9;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(27, 79, 160, 0.12), 0 12px 24px -16px rgba(27, 79, 160, 0.5);
}
.field:focus-within .f-ico {
  color: var(--green);
  transform: scale(1.15);
}
.field-select:focus-within .f-chev { transform: rotate(180deg); color: var(--blue); }
.field.ok input { border-color: rgba(31, 157, 71, 0.5); }
.field.err input {
  border-color: #e05252;
  box-shadow: 0 0 0 5px rgba(224, 82, 82, 0.12);
  animation: shake 0.4s;
}
.field.err label { color: #c73d3d; }
@keyframes shake {
  25% { transform: translateX(-6px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}
.f-count {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 0.75rem;
  color: #9aa6bd;
}
.csubmit {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 16px 28px;
  box-shadow: 0 16px 30px -14px rgba(37, 211, 102, 0.8);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.csubmit:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -14px rgba(37, 211, 102, 0.9);
}
.csubmit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4), transparent 70%);
  transform: translateX(-100%);
  animation: shine 3.5s ease-in-out infinite 1s;
}
.cform-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
@media (min-width: 768px) {
  .cform { grid-template-columns: 1fr 1fr; }
  .cform .full { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .cbox { grid-template-columns: 0.9fr 1.6fr; }
  .cside { border-radius: 30px 0 0 30px; padding: 48px 40px; }
  .cform-wrap { padding: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .w > span, .hero h1 .gw { animation: none; opacity: 1; transform: none; filter: none; }
  .mark-line path { animation: none; stroke-dashoffset: 0; }
  .cbox::before, .csubmit::after, .cside-art .r2 { animation: none; }
}
.svc-wave-bottom { transform: scaleY(-1); }
@media (max-width: 767px) {
  .deco { opacity: 0.4; }
  .clink { font-size: 0.92rem; }
  .cside { padding: 32px 24px; }
}

/* =========================================================
   Destaques do topo (Perícia · Direção Defensiva · SASSMAQ/ISO)
   ========================================================= */
.lead strong { color: var(--ink); font-weight: 700; }
.highlights {
  display: grid;
  gap: 10px;
  margin: -8px 0 32px;
}
.hl-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}
.hl-label svg { font-size: 14px; animation: star-pop 2.4s ease-in-out infinite; }
@keyframes star-pop { 50% { transform: scale(1.25) rotate(18deg); } }
.hl {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px 12px 12px;
  text-align: left;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 24px -18px rgba(24, 35, 58, 0.4);
  overflow: hidden;
  opacity: 0;
  transform: translateX(-16px);
  animation: hl-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.9s + var(--d));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s, border-color 0.35s;
}
@keyframes hl-in { to { opacity: 1; transform: none; } }
/* faixa em degradê à esquerda */
.hl::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(var(--blue), var(--green));
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
/* brilho que passa periodicamente, chamando a atenção */
.hl::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(31, 157, 71, 0.12) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: shine 5s ease-in-out infinite;
  animation-delay: calc(2s + var(--d) * 4);
  pointer-events: none;
}
.hl-ico {
  position: relative;
  flex: 0 0 44px;
  height: 44px;
  margin-left: 4px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 21px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hl-txt { position: relative; flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.hl-txt b { font-family: "Sora", sans-serif; font-size: 1rem; }
.hl-txt small { color: var(--muted); font-size: 0.85rem; }
.hl-arrow {
  position: relative;
  font-size: 18px;
  color: var(--blue);
  opacity: 0.5;
  transition: transform 0.35s, opacity 0.35s, color 0.35s;
}
.hl:hover,
.hl:focus-visible {
  transform: translateX(6px);
  border-color: rgba(31, 157, 71, 0.4);
  box-shadow: 0 18px 34px -18px rgba(27, 79, 160, 0.5);
  outline: none;
}
.hl:hover::before,
.hl:focus-visible::before { width: 100%; opacity: 0.07; }
.hl:hover .hl-ico { transform: rotate(-10deg) scale(1.08); }
.hl:hover .hl-arrow { transform: translateX(4px); opacity: 1; color: var(--green); }
@media (min-width: 640px) {
  .highlights { grid-template-columns: repeat(3, 1fr); }
  .hl-label { grid-column: 1 / -1; }
  .hl { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px 14px 16px; }
  .hl-ico { margin-left: 0; }
  .hl-arrow { position: absolute; top: 16px; right: 14px; }
}

/* selo "Destaque" nos cards de serviço */
.svc-badge {
  margin-right: auto;
  margin-left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 6px 14px -6px rgba(31, 157, 71, 0.6);
}
@media (prefers-reduced-motion: reduce) {
  .hl { animation: none; opacity: 1; transform: none; }
  .hl::after, .hl-label svg { animation: none; }
}
.hl-ico { width: 44px; height: 44px; flex: none; }

/* =========================================================
   DESTAQUE — NR 35, NR 33 e Engenharia
   ========================================================= */
.sec-sub {
  max-width: 620px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Faixa deslizante entre Empresa e Treinamentos */
.nr-band {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  background: linear-gradient(90deg, #f3f7fd, #eef8f2);
  border-block: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.nr-band-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: band 40s linear infinite;
}
.nr-band:hover .nr-band-track { animation-play-state: paused; }
@keyframes band { to { transform: translateX(-50%); } }
.nb {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.nb b {
  margin-right: 6px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nr-band i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 157, 71, 0.15);
  flex: none;
}

/* Cards de destaque */
.feat-grid {
  display: grid;
  gap: 22px;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .feat-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.15fr; }
  .feat-wide .feat-art { height: 100%; min-height: 280px; }
}
.feat {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px -28px rgba(24, 35, 58, 0.4);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s, border-color 0.5s;
}
/* borda superior em degradê */
.feat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  z-index: 2;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform-origin: left;
  transform: scaleX(0.25);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat.reveal.visible:hover {
  transform: translateY(-6px);
}
.feat:hover {
  border-color: rgba(31, 157, 71, 0.35);
  box-shadow: 0 34px 60px -30px rgba(27, 79, 160, 0.45);
}
.feat:hover::before { transform: scaleX(1); }

.feat-art {
  position: relative;
  height: 220px;
  color: #1b4fa0;
  overflow: hidden;
}
.feat[data-tone="blue"] .feat-art { background: linear-gradient(160deg, #eaf1fc, #f6f9fe 70%); }
.feat[data-tone="green"] .feat-art { background: linear-gradient(160deg, #e7f6ec, #f5fbf7 70%); }
.feat[data-tone="mix"] .feat-art { background: linear-gradient(135deg, #eaf1fc, #e7f6ec); }
.ill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.feat:hover .ill { transform: scale(1.05); }

/* animações das ilustrações */
.ill .rope { animation: rope-flow 1.6s linear infinite; }
@keyframes rope-flow { to { stroke-dashoffset: -16; } }
.ill .flow { animation: rope-flow 3s linear infinite; }
.ill-altura .worker {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: sway 4s ease-in-out infinite;
}
@keyframes sway { 50% { transform: rotate(4deg); } }
.ill .pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: gas-pulse 2.2s ease-out infinite;
}
.ill .pulse.p2 { animation-delay: 1.1s; }
@keyframes gas-pulse {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(4); opacity: 0; }
}
.ill .ok-blink { animation: caret 1.6s steps(1) infinite; }
.ill .gear { animation: ring-spin 10s linear infinite; }
.ill .gear.g2 { animation-duration: 6.2s; animation-direction: reverse; }
.feat:hover .ill .gear { animation-duration: 4s; }
.feat:hover .ill .gear.g2 { animation-duration: 2.5s; }

.feat-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}
.feat-tags {
  display: flex;
  align-items: center;
  gap: 10px;
}
.feat-nr {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 5px 12px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--green));
  box-shadow: 0 8px 18px -10px rgba(27, 79, 160, 0.8);
}
.feat-chip {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.feat h3 {
  margin-top: 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}
.feat-body > p {
  margin-top: 10px;
  color: var(--muted);
}
.feat-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.feat-facts li {
  padding: 12px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.35s;
}
.feat:hover .feat-facts li { border-color: rgba(31, 157, 71, 0.3); }
.feat-facts li:hover { transform: translateY(-3px); }
.feat-facts b {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
  color: var(--blue);
}
.feat-facts span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.25;
  display: block;
}
.feat-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.feat-list li {
  position: relative;
  padding-left: 26px;
}
.feat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.feat-cta {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue);
}
.feat-cta svg {
  font-size: 18px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feat-cta:hover { color: var(--green); }
.feat-cta:hover svg { transform: translateX(5px); }

.sub-head {
  margin-bottom: 24px;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 14px;
}
.sub-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

@media (max-width: 520px) {
  .feat-facts { gap: 6px; }
  .feat-facts li { padding: 10px 6px; }
  .feat-body { padding: 22px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .nr-band-track, .ill .rope, .ill .flow, .ill-altura .worker, .ill .pulse, .ill .ok-blink, .ill .gear { animation: none; }
}
.feat-art {
  background-image:
    linear-gradient(rgba(27, 79, 160, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 79, 160, 0.07) 1px, transparent 1px) !important;
  background-size: 18px 18px !important;
  background-color: #f2f6fc !important;
}
.feat[data-tone="green"] .feat-art { background-color: #eef8f2 !important; }
.feat[data-tone="mix"] .feat-art { background-color: #eff5f8 !important; }
@media (min-width: 900px) {
  .feat.feat-wide { display: grid; grid-template-columns: 1fr 1.1fr; }
  .feat.feat-wide .feat-body { padding: 36px 40px; justify-content: center; }
}

/* =========================================================
   TOPO — imagem alinhada ao título + cards NR 35 / NR 33 / Engenharia
   ========================================================= */
@media (min-width: 1024px) {
  .hero-grid { align-items: start; }
  /* alinha o topo da imagem com o início de "Sua empresa..." */
  .hero-visual { padding-top: 62px; }
}
.tcards {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 12px;
  margin-top: 64px;
}
.tc-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.tc-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
@media (min-width: 560px) {
  .tcards { grid-template-columns: repeat(3, 1fr); }
  .tc-label { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  /* compensa o banner menor, que fica deslocado para baixo e à esquerda */
  .tcards { margin-left: 18%; }
}
.tc {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 16px 16px;
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: 0 16px 30px -22px rgba(24, 35, 58, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: tc-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(1.1s + var(--d));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.45s, color 0.35s, border-color 0.35s;
}
@keyframes tc-in { to { opacity: 1; transform: none; } }
/* preenchimento em degradê que nasce do ponto do mouse */
.tc::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(140deg, #1b4fa0, #13805f 60%, #1f9d47);
  clip-path: circle(0% at var(--mx) var(--my));
  transition: clip-path 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
/* brilho que percorre o card de tempos em tempos */
.tc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgba(31, 157, 71, 0.14) 50%, transparent 65%);
  transform: translateX(-110%);
  animation: shine 6s ease-in-out infinite;
  animation-delay: calc(2.5s + var(--d) * 5);
}
.tc-ill {
  width: 54px;
  height: 54px;
  margin-bottom: 8px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 10px 22px -10px rgba(27, 79, 160, 0.8);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s, box-shadow 0.35s;
}
.tc-ill svg { width: 38px; height: 38px; }
.tc-nr {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: color 0.35s;
}
.tc:nth-of-type(3) .tc-nr { font-size: 1.1rem; }
.tc b {
  font-family: "Sora", sans-serif;
  font-size: 0.98rem;
  line-height: 1.25;
}
.tc small {
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--muted);
  transition: color 0.35s;
}
.tc-go {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--blue);
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.35s, color 0.35s, border-color 0.35s;
}

/* animações das mini-ilustrações (sempre ativas, mais rápidas no hover) */
.tc-rope { animation: rope-flow 1.4s linear infinite; }
.tc-climber { animation: climb 3s ease-in-out infinite; }
@keyframes climb { 50% { transform: translate(-2px, -6px); } }
.tc-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: gas-pulse 2s ease-out infinite;
}
.tc-gear { animation: ring-spin 8s linear infinite; }

/* hover */
.tc:hover,
.tc:focus-visible {
  transform: translateY(-6px) rotate(-0.6deg);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 26px 44px -20px rgba(27, 79, 160, 0.65);
  outline: none;
}
.tc:hover::before,
.tc:focus-visible::before { clip-path: circle(150% at var(--mx) var(--my)); }
.tc:hover .tc-nr,
.tc:focus-visible .tc-nr { color: #fff; -webkit-text-fill-color: #fff; }
.tc:hover small,
.tc:focus-visible small { color: rgba(255, 255, 255, 0.82); }
.tc:hover .tc-ill,
.tc:focus-visible .tc-ill {
  transform: rotate(-8deg) scale(1.08);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.tc:hover .tc-go,
.tc:focus-visible .tc-go {
  transform: rotate(45deg);
  color: var(--blue);
  border-color: transparent;
}
.tc:hover .tc-gear { animation-duration: 2.5s; }
.tc:hover .tc-climber { animation-duration: 1.4s; }

/* realce do card de destino ao clicar */
.feat.flash {
  animation: feat-flash 1.6s ease;
}
@keyframes feat-flash {
  0%, 100% { box-shadow: 0 18px 40px -28px rgba(24, 35, 58, 0.4); }
  30% { box-shadow: 0 0 0 4px rgba(31, 157, 71, 0.55), 0 30px 60px -30px rgba(27, 79, 160, 0.6); }
}

@media (max-width: 559px) {
  .tc {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
  }
  .tc-ill { grid-row: 1 / span 3; margin: 0; }
  .tc-nr { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tc { animation: none; opacity: 1; transform: none; }
  .tc::after, .tc-rope, .tc-climber, .tc-pulse, .tc-gear { animation: none; }
}
@media (min-width: 1024px) {
  .tcards { margin-left: 0; margin-top: 76px; gap: 14px; }
  .tc { padding: 18px; }
}

/* =========================================================
   TOPO — 6 cards iguais (tamanho padrão) + hover suave
   ========================================================= */
.tcards-left { margin: -6px 0 32px; }
.tc-label-star { color: var(--green); }
.tc-label-star svg { width: 14px; height: 14px; animation: star-pop 2.4s ease-in-out infinite; }

.tc {
  width: 100%;
  min-height: 208px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  background:
    linear-gradient(90deg, var(--blue), var(--green)) left bottom / 0% 3px no-repeat,
    rgba(255, 255, 255, 0.86);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    background-size 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.6s;
}
.tc-ill-sm svg { width: 26px; height: 26px; }

/* remove o efeito anterior (preenchimento total) */
.tc::before {
  clip-path: none;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), var(--blue), #38bdf8, var(--green), #a7f3d0, var(--blue));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: spin-ang 6s linear infinite;
  pointer-events: none;
}
/* luz suave que acompanha o mouse */
.tc::after {
  z-index: -1;
  transform: none;
  animation: none;
  background: radial-gradient(220px circle at var(--mx) var(--my), rgba(31, 157, 71, 0.12), rgba(27, 79, 160, 0.05) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.tc-ill { position: relative; }
.tc-ill::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 2px solid rgba(31, 157, 71, 0.45);
  opacity: 0;
  transform: scale(0.9);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s;
}
.tc b { transition: color 0.5s; }

/* estado hover/foco — sem preenchimento, só realces delicados */
.tc:hover,
.tc:focus-visible {
  transform: translateY(-5px);
  color: var(--ink);
  border-color: transparent;
  background-size: 100% 3px, auto;
  box-shadow: 0 24px 40px -22px rgba(27, 79, 160, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.6);
  outline: none;
}
.tc:hover::before,
.tc:focus-visible::before { opacity: 1; clip-path: none; }
.tc:hover::after,
.tc:focus-visible::after { opacity: 1; }
.tc:hover .tc-nr,
.tc:focus-visible .tc-nr { color: transparent; -webkit-text-fill-color: transparent; }
.tc:hover b,
.tc:focus-visible b { color: var(--blue); }
.tc:hover small,
.tc:focus-visible small { color: var(--muted); }
.tc:hover .tc-ill,
.tc:focus-visible .tc-ill {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 14px 26px -10px rgba(31, 157, 71, 0.7);
}
.tc:hover .tc-ill::after,
.tc:focus-visible .tc-ill::after { opacity: 1; transform: scale(1.18); }
.tc:hover .tc-go,
.tc:focus-visible .tc-go {
  transform: translate(2px, -2px);
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

@media (max-width: 559px) {
  .tc { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tc::before, .tc-label-star svg { animation: none; }
}
@media (min-width: 560px) {
  .tc { min-height: 224px; }
}

/* =========================================================
   TOPO — linha única com os 6 cards alinhados
   ========================================================= */
.tc-row {
  position: relative;
  z-index: 3;
  margin-top: 72px;
}
.tc-labels { display: none; }
.tc-grid {
  display: grid;
  gap: 12px;
}
.tc-row .tc { min-height: 0; height: 100%; }
@media (min-width: 560px) {
  .tc-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 1200px) {
  .tc-labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 12px;
  }
  .tc-grid { grid-template-columns: repeat(6, 1fr); }
}
.tc-row .tc-nr,
.tc-row .tc:nth-of-type(3) .tc-nr { font-size: 1.2rem; }

/* =========================================================
   TOPO — selo "Atendemos em todo o Brasil"
   ========================================================= */
.br-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: -10px 0 8px;
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) padding-box,
    linear-gradient(90deg, var(--green), #f2c94c, var(--blue)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 14px 30px -20px rgba(31, 157, 71, 0.7);
  opacity: 0;
  transform: translateY(10px);
  animation: tc-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1s forwards;
}
.br-ico {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #13805f);
}
.br-ico svg { width: 22px; height: 22px; animation: pin-bob 2.4s ease-in-out infinite; }
@keyframes pin-bob { 50% { transform: translateY(-3px); } }
.br-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: br-ping 2.4s ease-out infinite;
}
@keyframes br-ping {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.7); opacity: 0; }
}
.br-txt { display: flex; flex-direction: column; line-height: 1.25; }
.br-txt b {
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  background: linear-gradient(90deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.br-txt small { font-size: 0.85rem; color: var(--muted); }
/* faixinha com as cores do Brasil */
.br-flag {
  display: flex;
  gap: 3px;
  margin-left: 4px;
}
.br-flag i {
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--green);
  animation: flag-wave 1.8s ease-in-out infinite;
}
.br-flag i:nth-child(2) { background: #f2c94c; animation-delay: 0.15s; }
.br-flag i:nth-child(3) { background: var(--blue); animation-delay: 0.3s; }
@keyframes flag-wave { 50% { transform: scaleY(0.6); } }

/* =========================================================
   TOPO — botões abaixo dos cards
   ========================================================= */
.hero-actions-row {
  justify-content: center;
  margin-top: 40px;
}
.btn-success {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 14px 28px -14px rgba(31, 157, 71, 0.8);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.btn-success svg { width: 18px; height: 18px; transition: transform 0.3s; }
.btn-success:hover {
  background: #17803a;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-success:hover svg { transform: translateY(3px); }
.hero-actions-row .btn-main {
  box-shadow: 0 14px 28px -14px rgba(27, 79, 160, 0.8);
  transition: background 0.3s, transform 0.3s;
}
.hero-actions-row .btn-main:hover { transform: translateY(-2px); }

/* =========================================================
   Divisa em onda entre o topo e "O que fazemos"
   ========================================================= */
.hero { padding-bottom: 190px; }
.svc-sec {
  margin-top: -120px;
  padding-top: 190px;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 10, 480 120, 760 70 S 1200 20, 1440 60 L1440 120 L0 120 Z'/%3E%3C/svg%3E") top / 100% 120px no-repeat,
    linear-gradient(#000, #000) 0 119px / 100% calc(100% - 119px) no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 70 C 240 10, 480 120, 760 70 S 1200 20, 1440 60 L1440 120 L0 120 Z'/%3E%3C/svg%3E") top / 100% 120px no-repeat,
    linear-gradient(#000, #000) 0 119px / 100% calc(100% - 119px) no-repeat;
}
/* realça a onda: fundo um pouco mais claro que o topo e traço na borda */
.svc-sec {
  background:
    radial-gradient(ellipse at 12% 10%, rgba(27, 79, 160, 0.06), transparent 50%),
    radial-gradient(ellipse at 90% 90%, rgba(31, 157, 71, 0.09), transparent 50%),
    #fbfcfe;
}
.svc-wave .wave-line.w1 { stroke: #b9dcc5; stroke-width: 2; }
.svc-wave .wave-line.w2 { stroke: #cddcf2; }

@media (max-width: 767px) {
  .br-badge { padding-right: 14px; }
  .br-txt b { font-size: 0.98rem; }
  .hero-actions-row { flex-direction: column; align-items: stretch; }
  .hero { padding-bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .br-badge { animation: none; opacity: 1; transform: none; }
  .br-ico svg, .br-ping, .br-flag i { animation: none; }
}

/* onda mais marcada */
.svc-sec {
  margin-top: -160px;
  padding-top: 220px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 96 C 260 6, 520 156, 780 78 S 1220 8, 1440 70 L1440 160 L0 160 Z'/%3E%3C/svg%3E") top / 100% 160px no-repeat, linear-gradient(#000, #000) 0 159px / 100% calc(100% - 159px) no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 96 C 260 6, 520 156, 780 78 S 1220 8, 1440 70 L1440 160 L0 160 Z'/%3E%3C/svg%3E") top / 100% 160px no-repeat, linear-gradient(#000, #000) 0 159px / 100% calc(100% - 159px) no-repeat;
}
.svc-wave:not(.svc-wave-bottom) { height: 160px; }
.hero { padding-bottom: 200px; }
@media (max-width: 767px) { .hero { padding-bottom: 170px; } }

@media (max-width: 767px) {
  .svc-sec {
    margin-top: -64px;
    padding-top: 120px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 96 C 260 6, 520 156, 780 78 S 1220 8, 1440 70 L1440 160 L0 160 Z'/%3E%3C/svg%3E") top / 100% 64px no-repeat, linear-gradient(#000, #000) 0 63px / 100% calc(100% - 63px) no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 96 C 260 6, 520 156, 780 78 S 1220 8, 1440 70 L1440 160 L0 160 Z'/%3E%3C/svg%3E") top / 100% 64px no-repeat, linear-gradient(#000, #000) 0 63px / 100% calc(100% - 63px) no-repeat;
  }
  .svc-wave:not(.svc-wave-bottom) { height: 64px; }
  .hero { padding-bottom: 110px; }
}

/* menos espaço entre o menu e o selo do topo */
.hero { padding-top: 128px; }
@media (max-width: 767px) { .hero { padding-top: 112px; } }

/* =========================================================
   Ajustes finos do topo
   ========================================================= */
/* 1) menos espaço entre o menu e o selo */
.hero { padding-top: 124px; }
@media (max-width: 767px) { .hero { padding-top: 112px; } }

/* 3) título um pouco menor */
.hero h1 {
  font-size: clamp(2.05rem, 4.3vw, 3.4rem);
  margin: 20px 0;
}
.hero h1 .caret { display: none; }
/* brilho que percorre o traço sob "sustentável" */
.mark-line { filter: drop-shadow(0 2px 4px rgba(31, 157, 71, 0.25)); }

/* 2) selo "Atendemos em todo o Brasil" um pouco maior */
.br-badge {
  gap: 16px;
  padding: 12px 22px 12px 12px;
  margin-top: -6px;
}
.br-ico { width: 54px; height: 54px; }
.br-ico svg { width: 26px; height: 26px; }
.br-txt b { font-size: 1.25rem; }
.br-txt small { font-size: 0.95rem; }
.br-flag i { width: 7px; height: 28px; }
@media (max-width: 767px) {
  .br-ico { width: 46px; height: 46px; }
  .br-txt b { font-size: 1.08rem; }
  .br-txt small { font-size: 0.88rem; }
}
.hero { padding-top: 132px; }
@media (min-width: 1024px) { .hero-visual { padding-top: 54px; } }

/* =========================================================
   Selo flutuante "Atendemos todo o Brasil" abaixo do WhatsApp
   ========================================================= */
.wa-float { bottom: 58px; }
.br-float {
  position: fixed;
  right: 18px;
  bottom: 16px;
  z-index: 49;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #13703a;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)) padding-box,
    linear-gradient(90deg, #1f9d47, #f2c94c, #1b4fa0) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 8px 20px -10px rgba(24, 35, 58, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  animation:
    bf-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.6s forwards,
    bf-float 4s ease-in-out 2.4s infinite;
}
.br-float svg {
  width: 13px;
  height: 13px;
  color: var(--green);
  animation: pin-bob 2.4s ease-in-out infinite;
}
.bf-flag { display: inline-flex; gap: 2px; margin-left: 2px; }
.bf-flag b {
  width: 3px;
  height: 11px;
  border-radius: 2px;
  background: var(--green);
  animation: flag-wave 1.8s ease-in-out infinite;
}
.bf-flag b:nth-child(2) { background: #f2c94c; animation-delay: 0.15s; }
.bf-flag b:nth-child(3) { background: var(--blue); animation-delay: 0.3s; }
@keyframes bf-in { to { opacity: 1; transform: none; } }
@keyframes bf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@media (max-width: 767px) {
  .wa-float { right: 16px; bottom: 50px; width: 56px; height: 56px; }
  .br-float { right: 10px; bottom: 12px; font-size: 0.66rem; }
}
@media (prefers-reduced-motion: reduce) {
  .br-float { animation: none; opacity: 1; transform: none; }
  .br-float svg, .bf-flag b { animation: none; }
}
/* e-mail mais longo cabe em uma linha */
.clink { font-size: 0.9rem; word-break: normal; overflow-wrap: anywhere; }
/* rodapé com folga para o WhatsApp e o selo flutuante */
footer { padding-bottom: 64px !important; }
