/* ============================================================
   BASE: VARIÁVEIS, CABEÇALHO E HERO
   ============================================================ */
:root {
  --navy: #101d4b;
  --navy-deep: #09132f;
  --blue: #4c82ff;
  --ice: #eaf1ff;
  --muted: #aab9dd;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  color: #18264c;
  font-family: "Manrope", Arial, sans-serif;
}

.site-header {
  width: 100%;
  min-height: 88px;
  background: rgba(255, 255, 255, .97);
  color: #1d2f68;
  border-bottom: 1px solid rgba(25, 48, 105, .09);
  box-shadow: 0 5px 22px rgba(12, 28, 72, .055);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(100%, 1560px);
  min-height: 88px;
  margin: 0 auto;
  padding: 10px clamp(24px, 5.9vw, 86px);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  column-gap: clamp(24px, 4vw, 64px);
}
.site-brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-width: 0;
  color: #1b2f70;
  text-decoration: none;
}
.brand-mascot {
  display: block;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(19, 39, 91, .13));
}
.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
  font-size: 21px;
  letter-spacing: -.045em;
  line-height: 1;
}
.brand-name strong { font-weight: 800; }
.brand-name span { font-weight: 500; color: #485a88; }
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.7vw, 38px);
  height: 100%;
}
.site-header nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #26365f;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
  transition: color .2s ease;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 10px;
  background: #3157bd;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.site-header nav a:hover, .site-header nav a.is-active { color: #24479f; }
.site-header nav a:hover::after, .site-header nav a.is-active::after { transform: scaleX(1); }
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 19px;
  border: 1px solid rgba(39, 72, 153, .1);
  border-radius: 999px;
  background: #244391;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 5px 14px rgba(36, 67, 145, .16);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-cta span { font-size: 15px; line-height: 10px; }
.header-cta:hover {
  background: #183477;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(36, 67, 145, .22);
}
.site-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  /* Mantém o notebook e o camaleão visíveis no recorte panorâmico. */
}
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 17, 43, .08), rgba(5, 17, 43, .22) 50%, rgba(5, 17, 43, .08)),
    linear-gradient(180deg, rgba(5, 17, 43, .04) 0%, rgba(5, 17, 43, .12) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(90%, 660px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 15, 45, .48);
  transform: translateY(3px);
}
.hero-copy h1 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 3.15vw, 43px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.035em;
}
.hero-copy p {
  max-width: 650px;
  margin: 19px 0 0;
  color: rgba(255, 255, 255, .98);
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.42;
  font-weight: 550;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  margin-top: 24px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: #1c347d;
  color: #fff;
  text-decoration: none;
  text-shadow: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: 0 10px 28px rgba(0, 13, 42, .24);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.hero-button:hover {
  transform: translateY(-3px);
  background: #142966;
  box-shadow: 0 15px 34px rgba(0, 13, 42, .32);
}
.hero-button:focus-visible, .header-cta:focus-visible, .site-header nav a:focus-visible {
  outline: 3px solid #8fb8ff;
  outline-offset: 4px;
}

/* ============================================================
   ANIMAÇÃO DE ABERTURA (index.php)
   ============================================================ */
.intro-screen {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(41, 78, 165, .38) 0%, transparent 48%),
    linear-gradient(140deg, #172b68 0%, var(--navy) 48%, var(--navy-deep) 100%);
  color: white;
  opacity: 1;
  visibility: visible;
  transition: opacity .8s ease, visibility .8s ease;
}
.intro-screen.is-leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-grid {
  position: absolute;
  z-index: -1;
  inset: -30%;
  opacity: .15;
  background-image: linear-gradient(rgba(166, 193, 255, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(166, 193, 255, .18) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(650px) rotateX(61deg) scale(1.35) translateY(16%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to bottom, transparent 4%, black 55%, transparent 100%);
}
.ambient {
  position: absolute;
  z-index: -1;
  width: min(65vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(139, 174, 255, .11);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(54, 106, 232, .07), inset 0 0 70px rgba(54, 106, 232, .05);
  animation: ambientPulse 5s ease-in-out infinite;
}
.ambient::before, .ambient::after { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(139, 174, 255, .08); border-radius: 50%; }
.ambient::after { inset: 18%; }
.ambient-two { width: min(88vw, 920px); animation-delay: -2.5s; opacity: .55; }
.intro-content {
  width: min(92vw, 660px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-1.5vh);
}
.mascot-wrap {
  position: relative;
  width: clamp(132px, 19vw, 204px);
  aspect-ratio: 1.1 / 1;
  display: grid;
  place-items: center;
  margin-bottom: 3px;
}
.mascot {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(22px) scale(.88);
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, .23));
  animation: mascotEnter .85s cubic-bezier(.2, .75, .2, 1) .18s forwards, mascotFloat 4s ease-in-out 1.15s infinite;
}
.mascot-glow {
  position: absolute;
  width: 72%;
  height: 25%;
  left: 14%;
  bottom: 5%;
  border-radius: 50%;
  background: rgba(61, 125, 255, .35);
  filter: blur(28px);
  opacity: 0;
  animation: glowEnter .8s ease .55s forwards;
}
.wordmark { width: min(100%, 590px); margin-top: 0; text-align: center; }
.kadan-word { display: block; width: 100%; height: auto; overflow: visible; }
.kadan-text {
  fill: transparent;
  stroke: #f7f9ff;
  stroke-width: 1.7px;
  stroke-linejoin: round;
  paint-order: stroke;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 104px;
  font-weight: 800;
  letter-spacing: 5px;
  stroke-dasharray: 1900;
  stroke-dashoffset: 1900;
  animation: drawLetters 1.35s cubic-bezier(.55, .05, .35, 1) 1s forwards;
}
.kadan-text-fill {
  fill: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 104px;
  font-weight: 800;
  letter-spacing: 5px;
}
.write-rect { width: 0; animation: writeReveal 1.34s cubic-bezier(.55, .05, .35, 1) 1s forwards; }
.systems-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: -4px auto 0;
  width: min(76%, 340px);
}
.systems-rule { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(160, 190, 255, .8)); opacity: 0; transform: scaleX(.3); animation: lineEnter .55s ease 2.2s forwards; }
.systems-rule:last-child { transform-origin: left; background: linear-gradient(90deg, rgba(160, 190, 255, .8), transparent); }
.systems-rule:first-child { transform-origin: right; }
.systems-text {
  color: #dbe6ff;
  font-size: clamp(10px, 1.45vw, 13px);
  font-weight: 700;
  letter-spacing: .48em;
  padding-left: .48em;
  opacity: 0;
  transform: translateY(7px);
  animation: systemsEnter .65s ease 2.18s forwards;
}
.loading-track { width: 132px; height: 2px; margin-top: 37px; overflow: hidden; border-radius: 20px; background: rgba(190, 209, 255, .18); }
.loading-progress { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #83aaff, #fff); transform: translateX(-102%); animation: loadProgress 2.65s cubic-bezier(.65, .05, .35, 1) .15s forwards; }
.intro-caption { margin: 15px 0 0; color: rgba(207, 221, 255, .63); font-size: 9px; font-weight: 600; letter-spacing: .19em; opacity: 0; animation: captionEnter .6s ease 2.55s forwards; }
.skip-intro {
  position: absolute;
  right: clamp(18px, 4vw, 46px);
  bottom: clamp(18px, 4vh, 36px);
  border: 1px solid rgba(205, 220, 255, .25);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, .045);
  color: rgba(237, 243, 255, .8);
  font: 600 11px "Manrope", Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.skip-intro:hover { background: rgba(255, 255, 255, .12); border-color: rgba(205, 220, 255, .55); color: white; }
.skip-intro span { margin-left: 8px; }
.intro-corner { position: absolute; width: 34px; height: 34px; opacity: .42; }
.intro-corner-left { left: 28px; top: 28px; border-left: 1px solid #8eafff; border-top: 1px solid #8eafff; }
.intro-corner-right { right: 28px; bottom: 28px; border-right: 1px solid #8eafff; border-bottom: 1px solid #8eafff; }

@keyframes mascotEnter { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes mascotFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes glowEnter { to { opacity: 1; } }
@keyframes drawLetters { to { stroke-dashoffset: 0; } }
@keyframes writeReveal { to { width: 620px; } }
@keyframes systemsEnter { to { opacity: 1; transform: translateY(0); } }
@keyframes lineEnter { to { opacity: 1; transform: scaleX(1); } }
@keyframes captionEnter { to { opacity: 1; } }
@keyframes loadProgress { to { transform: translateX(0); } }
@keyframes ambientPulse { 0%, 100% { transform: scale(.96); opacity: .65; } 50% { transform: scale(1.035); opacity: 1; } }

@media (max-width: 850px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    row-gap: 3px;
    padding-top: 9px;
    padding-bottom: 9px;
  }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: clamp(18px, 5vw, 34px); }
  .site-brand { grid-column: 1; grid-row: 1; }
  .header-cta { grid-column: 2; grid-row: 1; }
}

@media (max-width: 620px) {
  .site-header, .header-inner { min-height: 0; }

  .hero-copy { width: min(88%, 520px); padding: 0 4px; }
  .hero-copy h1 { font-size: clamp(27px, 7vw, 36px); line-height: 1.12; }
  .hero-copy p { margin-top: 15px; font-size: 14px; line-height: 1.5; }
  .desktop-break { display: none; }
  .hero-button { margin-top: 21px; min-height: 47px; padding: 0 21px; font-size: 13px; }
  .header-inner { grid-template-columns: 1fr; gap: 4px; padding: 10px 18px 7px; }
  .site-brand { grid-column: 1; grid-row: 1; justify-self: center; }
  .brand-mascot { width: 43px; height: 43px; }
  .brand-name { font-size: 19px; }
  .site-header nav { grid-column: 1; grid-row: 2; width: 100%; min-height: 38px; gap: clamp(15px, 5vw, 24px); }
  .site-header nav a { min-height: 34px; font-size: 12px; }
  .header-cta { display: none; }
  .intro-content { transform: translateY(-2vh); }
  .mascot-wrap { width: clamp(126px, 37vw, 180px); }
  .kadan-word { width: 108%; margin-left: -4%; }
  .systems-line { width: 78%; gap: 10px; }
  .loading-track { margin-top: 30px; }
  .intro-caption { max-width: 85vw; text-align: center; font-size: 8px; }
  .intro-corner-left { left: 16px; top: 16px; }
  .intro-corner-right { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   BANNER DA PÁGINA INICIAL
   ============================================================ */
html,
body {
  min-height: 100%;
  background: #09265f !important;
}

body {
  margin: 0;
}

.site-hero {
  height: 680px !important;
  min-height: 680px !important;
  max-height: none !important;
  background: #071d52 !important;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  /* Banner mais alto + enquadramento equilibrado para mostrar mais da base */
  object-position: center 57% !important;
}

@media (min-width: 1500px) and (min-height: 900px) {
  .site-hero {
    height: min(78vh, 790px) !important;
    min-height: 680px !important;
  }
}

@media (max-width: 850px) {
  .site-hero {
    height: 650px !important;
    min-height: 650px !important;
  }
  .hero-image {
    object-position: center 58% !important;
  }
}

@media (max-width: 620px) {
  .site-hero {
    height: 620px !important;
    min-height: 620px !important;
  }
  .hero-image {
    object-position: 72% 58% !important;
  }
}

/* ============================================================
   NAVEGAÇÃO COM CAMALEÃO + PÁGINA DE SOLUÇÕES
   ============================================================ */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: #f3f6fc !important; }

.site-header { position: sticky; top: 0; z-index: 200; }
.header-inner { position: relative; }
.brand-mascot-slot { display: block; flex: 0 0 54px; width: 54px; height: 54px; }

/* Camaleão animado: começa na logo, vai até a aba, vira e lança a língua. */
.nav-chameleon {
  left: 0;
  top: 0;
  transform-origin: center;
}


.nav-tongue::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f34e82;
}

.site-header nav a[aria-disabled="true"], .header-cta[aria-disabled="true"] { pointer-events: none; }

/* As telas são independentes; o cabeçalho permanece disponível. */
.view { min-height: calc(100svh - 88px); }
.home-view { background: #071d52; }
.home-view .site-hero {
  height: min(680px, calc(100svh - 88px));
  min-height: 560px;
  max-height: 760px;
}
.home-view .hero-image { object-position: center 57% !important; }
.home-view .hero-button { cursor: pointer; font-family: inherit; }
.solutions-view { background: #f3f6fc; color: #14234d; }
.service-section {
  min-height: calc(100svh - 88px);
  padding: clamp(36px, 5vh, 56px) clamp(18px, 4.5vw, 72px) 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #f3f6fc 0%, #edf2fb 100%);
}
.section-heading { text-align: center;  }
.section-heading h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(29px, 3vw, 37px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.04em;
}
.section-heading h1 span { color: #3158c7; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  opacity: 0;
  transform: translateY(42px);
}

.service-icon {
  display: grid;
  place-items: center;
  background: #f0f5ff;
}
.service-icon svg {
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: #2874ed;
  box-shadow: 0 5px 12px rgba(40, 116, 237, .18);
}
.service-card h2 {
  margin: 0;
  color: #111827;
  font-weight: 800;
  letter-spacing: -.025em;
}
.service-card p {
  margin: 12px 0 0;
  color: #34415d;
  font-weight: 500;
}
.scroll-down {
  width: 48px;
  height: 48px;
  margin-top: auto;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #244797;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(36, 71, 151, .22);
  transition: transform .2s ease, background .2s ease;
  animation: arrowFloat 1.8s ease-in-out infinite;
}
.scroll-down:hover { transform: translateY(4px); background: #173777; }
.scroll-down svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.next-part {
  display: flex;
  justify-content: center;
  scroll-margin-top: 88px;
}
.future-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.future-card {
  opacity: 0;
  transform: translateY(40px);
}

.next-part.is-revealed .future-card:nth-child(1) { animation-delay: 0ms; }
.next-part.is-revealed .future-card:nth-child(2) { animation-delay: 120ms; }
.next-part.is-revealed .future-card:nth-child(3) { animation-delay: 240ms; }
.next-part.is-revealed .future-card:nth-child(4) { animation-delay: 360ms; }
.next-part.is-revealed .future-card:nth-child(5) { animation-delay: 480ms; }

.future-icon i { width: 17px; height: 17px; display: block; border: 2px solid #4384ee; border-radius: 50%; box-shadow: 0 0 0 5px rgba(67, 132, 238, .08); }

@keyframes serviceRise { to { opacity: 1; transform: translateY(0); } }
@keyframes arrowFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }

@media (max-width: 1050px) {

  .service-section { min-height: auto; }
  .scroll-down { margin-top: 38px; }
}
@media (max-width: 700px) {
  .header-inner { grid-template-columns: 1fr auto; column-gap: 10px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2;  }
  .site-brand { grid-column: 1; grid-row: 1; }
  .header-cta { grid-column: 2; grid-row: 1; padding: 11px 13px; font-size: 10px; }
  .brand-mascot-slot { width: 45px; height: 45px; flex-basis: 45px; }

  .brand-name { font-size: 18px; }
  .site-header nav a { font-size: 11px; }

  .home-view .site-hero { min-height: 570px; height: calc(100svh - 116px); }
  .home-view .hero-copy { width: min(90%, 560px); }
  .home-view .hero-copy h1 { font-size: clamp(28px, 7vw, 38px); }
  .home-view .hero-copy p { font-size: 14px; }
}
@media (max-width: 430px) {
  .header-inner { grid-template-columns: 1fr; row-gap: 3px; padding: 7px 15px; }
  .site-brand { grid-column: 1; grid-row: 1; justify-self: center; }
  .header-cta { display: none; }
  .site-header nav { grid-column: 1; grid-row: 2; }
  .brand-mascot-slot { width: 40px; height: 40px; flex-basis: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-chameleon, .nav-tongue, .service-card, .future-card, .scroll-down { transition: none !important; animation: none !important; }
  .solutions-view.is-entered .service-card, .next-part.is-revealed .future-card { opacity: 1; transform: none; }
}

/* ============================================================
   AJUSTES DE NAVEGAÇÃO, BOTÃO VOLTAR E SETAS
   ============================================================ */

/* O mascote sobrepõe a imagem do espaço da logo, mas não sai do lugar. */
.brand-mascot { opacity: 0 !important; }
.nav-chameleon {
  position: fixed;
  z-index: 260;
  width: 54px;
  height: 54px;
  opacity: 1;
  pointer-events: none;
  transition: opacity .12s ease;
  will-change: left, top;
}
.nav-chameleon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scaleX(1);
}

.nav-tongue {
  position: absolute;
  left: 39px;
  top: 27px;
  height: 4px;
  border-radius: 99px;
  opacity: 0;
  background: linear-gradient(90deg, #ff9cba 0%, #ff4f86 72%, #e92b68 100%);
  box-shadow: 0 0 7px rgba(255, 78, 133, .45);
}
.nav-tongue::before,
.nav-tongue::after {
  content: "";
  position: absolute;
  right: -2px;
  width: 8px;
  height: 2px;
  border-radius: 3px;
  background: #ff4f86;
  transform-origin: right center;
}
.nav-tongue::before { top: -1px; transform: rotate(24deg); }
.nav-tongue::after { top: 3px; transform: rotate(-24deg); }

/* Botão de voltar para a página inicial em todas as telas internas. */
.service-section { position: relative; }
.view-back {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: clamp(18px, 4.5vw, 72px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(37, 69, 142, .16);
  border-radius: 999px;
  background: #fff;
  color: #244391;
  font: 700 13px "Manrope", Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 5px 16px rgba(18, 43, 93, .09);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.view-back:hover {
  transform: translateX(-3px);
  background: #f5f8ff;
  box-shadow: 0 8px 20px rgba(18, 43, 93, .13);
}
.view-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Seta de subir: complementa a seta de descer já existente. */
.scroll-up {
  position: absolute;
  left: 50%;
  bottom: 27px;
  width: 48px;
  height: 48px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #244797;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 10, 38, .22);
  transform: translateX(-50%);
  transition: background .2s ease, color .2s ease, bottom .2s ease;
}
.scroll-up:hover { bottom: 32px; background: #eaf1ff; color: #173777; }
.scroll-up svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 700px) {
  .nav-chameleon { width: 45px; height: 45px; }
  .nav-tongue { left: 33px; top: 23px; height: 3px; }
  .view-back { top: 14px; left: 14px; min-height: 38px; padding: 0 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-chameleon img, .nav-tongue, .view-back, .scroll-up { transition: none !important; }
}

/* ============================================================
   SOLUÇÕES: CARDS + "POR QUE ESCOLHER A KADAN"
   ============================================================ */

.section-heading { margin-bottom: clamp(34px, 5vh, 52px); }

.service-card h2 {
  line-height: 1.28;
}
.service-card p {
  line-height: 1.5;
}
.next-part {
  min-height: 82svh;
  padding: clamp(56px, 8vh, 90px) clamp(18px, 4.5vw, 72px) 112px;
  align-items: flex-start;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(70, 119, 226, .28), transparent 52%),
    linear-gradient(145deg, #1a3479 0%, #10285f 56%, #0a1b45 100%);
}
.next-part-inner {
  width: min(100%, 1580px);
  margin: 0 auto;
}
.next-part-heading {
  margin: 0 auto clamp(34px, 5vh, 54px);
  text-align: center;
  color: #fff;
}
.next-part-kicker {
  display: inline-block;
  margin-bottom: 13px;
  color: #a9c6ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}
.next-part-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.045em;
}
.next-part-heading h2 span { color: #8eb7ff; }
.next-part-heading p {
  margin: 14px 0 0;
  color: rgba(235, 242, 255, .86);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
}
.future-card-grid {
  width: 100%;
  gap: clamp(16px, 1.8vw, 28px);
}
.future-card {
  min-height: 270px;
  padding: 31px 25px 29px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f5f8ff 100%);
  box-shadow: 0 15px 36px rgba(0, 10, 38, .2);
}
.future-icon {
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: linear-gradient(140deg, #e8f0ff, #d8e6ff);
  box-shadow: inset 0 0 0 1px rgba(55, 105, 199, .08);
}
.future-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #2868d7;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.future-card h3 {
  max-width: 245px;
  margin: 0;
  color: #17264e;
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.025em;
}
.future-card p {
  max-width: 250px;
  margin: 13px 0 0;
  color: #44516d;
  font-size: clamp(14px, 1.02vw, 16px);
  line-height: 1.5;
  font-weight: 500;
}
.next-part.is-revealed .future-card { animation: serviceRise .78s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: var(--card-delay, 0ms); }
.scroll-up { z-index: 2; }

@media (max-width: 1050px) {
  .service-grid, .future-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .future-card { min-height: 250px; }
}
@media (max-width: 700px) {
  .service-grid, .future-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .future-card { min-height: 235px; padding: 25px 16px; }
  .future-icon { width: 58px; height: 58px; margin-bottom: 18px; }
}
@media (max-width: 430px) {
  .service-grid, .future-card-grid { grid-template-columns: 1fr; width: min(100%, 390px); }

  .future-card { min-height: 215px; }
  .next-part { padding-top: 54px; }
}

/* ============================================================
   SOLUÇÕES: HOVER DOS CARDS + "COMO FUNCIONA"
   ============================================================ */
.service-section {
  padding-top: clamp(46px, 6vh, 74px);
  padding-bottom: 34px;
}
.service-grid {
  width: min(100%, 1620px);
  gap: clamp(18px, 1.9vw, 30px);
}
.service-card {
  min-height: 326px;
  padding: 40px 28px 34px;
  border-radius: 22px;
  border: 1px solid rgba(49, 88, 199, .08);
  box-shadow: 0 13px 32px rgba(22, 43, 88, .095);
  transition: translate .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}
.service-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 27px;
  border-radius: 20px;
}
.service-icon svg {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 13px;
}
.service-card h2 {
  max-width: 255px;
  font-size: clamp(18px, 1.4vw, 22px);
}
.service-card p {
  max-width: 265px;
  margin-top: 15px;
  font-size: clamp(14px, 1.08vw, 16px);
}
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    translate: 0 -8px;
    border-color: rgba(49, 88, 199, .24);
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    box-shadow: 0 22px 42px rgba(22, 43, 88, .16);
  }
}

/* Terceira parte: etapas do trabalho em uma linha visual. */

.process-grid::before {
  position: absolute;
  z-index: 0;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, rgba(49, 88, 199, .12), rgba(49, 88, 199, .5), rgba(49, 88, 199, .12));
}
.process-step {
  z-index: 1;
}

@keyframes processRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .service-card { min-height: 310px; }

  .process-grid::before { display: none; }
}
@media (max-width: 700px) {
  .service-card { min-height: 270px; padding: 29px 18px 25px; }
  .service-icon { width: 66px; height: 66px; margin-bottom: 19px; }
  .service-icon svg { width: 45px; height: 45px; }

  .process-grid { width: min(100%, 480px); margin: 0 auto;  }
}
@media (prefers-reduced-motion: reduce) {
  .service-card { transition: none !important; }
  .service-card:hover { translate: none; }
}

/* ============================================================
   FUNDO POR PÁGINA (body[data-page])
   ============================================================ */
body[data-page="home"] { background: #071d52 !important; }
body[data-page="solutions"] { background: #f3f6fc !important; }
body[data-page="about"],
body[data-page="contact"] { background: linear-gradient(145deg, #17347c, #0b1d49) !important; }
body[data-page="solutions"] .solutions-view { display: block; }
body[data-page="home"] .home-view { display: block; }

.view { width: 100%; }
.view-back { text-decoration: none; }
.site-header nav a[aria-disabled="true"],
.header-cta[aria-disabled="true"] { opacity: .65; }
/* O mascote fica ancorado no espaço da logo enquanto lança a língua até a aba. */
.nav-chameleon { transform: none !important; }
.nav-chameleon img { transform-origin: center; transition: transform .22s ease; }
.nav-chameleon.is-turned img { transform: scaleX(-1); }
.nav-tongue {
  transform: rotate(var(--tongue-angle, 0deg));
  transform-origin: left center;
  width: 0;
  transition: width .34s cubic-bezier(.18,.78,.22,1), opacity .12s ease;
}
.nav-chameleon.is-licking .nav-tongue { width: var(--tongue-length, 0px); opacity: 1; }
.solutions-view.is-entered .service-card { animation: serviceRise .72s cubic-bezier(.2,.75,.2,1) forwards; animation-delay: var(--card-delay, 0ms); }
@media (max-width: 700px) {
  .site-header nav { gap: clamp(14px, 4vw, 25px); }
}

/* ============================================================
   SEÇÃO "COMO FUNCIONA"
   ============================================================ */
.process-section {
  isolation: isolate;
  padding: clamp(72px, 8.5vh, 112px) clamp(20px, 4.5vw, 76px) clamp(84px, 9vh, 118px);
  overflow: hidden;
  color: #17264e;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(71, 119, 222, .12), transparent 48%),
    linear-gradient(180deg, #f7f9fe 0%, #edf3fc 100%);
}
.process-section::before,
.process-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(180px, 25vw, 360px);
  aspect-ratio: 1;
  border: 1px solid rgba(49, 88, 199, .07);
  border-radius: 50%;
  pointer-events: none;
}
.process-section::before {
  top: -190px;
  left: -150px;
  box-shadow: 0 0 0 28px rgba(49, 88, 199, .025), 0 0 0 58px rgba(49, 88, 199, .018);
}
.process-section::after {
  right: -170px;
  bottom: -210px;
  box-shadow: 0 0 0 28px rgba(49, 88, 199, .025), 0 0 0 58px rgba(49, 88, 199, .018);
}
.process-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1480px);
  margin: 0 auto;
}
.process-heading {
  margin: 0 auto clamp(38px, 5.5vh, 62px);
  text-align: center;
}
.process-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin-bottom: 16px;
  padding: 0 14px;
  border: 1px solid rgba(49, 88, 199, .13);
  border-radius: 999px;
  color: #3158c7;
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .19em;
}
.process-heading h2 {
  margin: 0;
  color: #14234d;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.05em;
}
.process-heading h2 span {
  color: #3158c7;
}
.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(15px, 1.7vw, 26px);
}
.process-grid::before {
  content: none;
}
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 292px;
  padding: clamp(25px, 2.15vw, 34px) clamp(21px, 1.8vw, 28px) 30px;
  overflow: hidden;
  border: 1px solid rgba(46, 82, 170, .11);
  border-radius: 23px;
  background: linear-gradient(155deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 14px 34px rgba(19, 44, 99, .075);
  opacity: 1;
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #234895 0%, #3978e5 55%, #8bb8ff 100%);
  opacity: .9;
}
.process-step::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -58px;
  width: 142px;
  height: 142px;
  border: 1px solid rgba(49, 88, 199, .07);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(49, 88, 199, .025), 0 0 0 36px rgba(49, 88, 199, .018);
  pointer-events: none;
}
.process-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
}
.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  border: 1px solid rgba(49, 88, 199, .12);
  border-radius: 20px;
  color: #244caa;
  background: linear-gradient(145deg, #eef4ff 0%, #dce8ff 100%);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.06em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
.process-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border: 1px solid rgba(49, 88, 199, .08);
  border-radius: 18px;
  color: #2868d7;
  background: #f4f7ff;
}
.process-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process-step h3 {
  position: relative;
  z-index: 1;
  max-width: 290px;
  margin: 0;
  color: #17264e;
  font-size: clamp(17px, 1.22vw, 20px);
  line-height: 1.34;
  font-weight: 800;
  letter-spacing: -.03em;
}
.process-step p {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 13px 0 0;
  color: #52617e;
  font-size: clamp(13px, .98vw, 15px);
  line-height: 1.65;
  font-weight: 500;
}
@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    transform: translateY(-6px);
    border-color: rgba(49, 88, 199, .24);
    box-shadow: 0 22px 44px rgba(19, 44, 99, .13);
  }
}
.process-section.is-revealed .process-step {
  animation: processRiseV10 .72s cubic-bezier(.2,.75,.2,1) both;
  animation-delay: var(--step-delay, 0ms);
}
@keyframes processRiseV10 {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1120px) {
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .process-step { min-height: 260px; padding: 27px 24px 28px; }
}
@media (max-width: 640px) {
  .process-section { padding: 62px 18px 76px; }
  .process-heading { margin-bottom: 32px; }
  .process-heading h2 { font-size: clamp(30px, 8vw, 38px); }
  .process-grid { grid-template-columns: 1fr; width: min(100%, 480px); margin: 0 auto; gap: 15px; }
  .process-step { min-height: 0; padding: 24px 22px 27px; border-radius: 20px; }
  .process-step-top { margin-bottom: 22px; }
  .process-number { width: 58px; height: 58px; flex-basis: 58px; font-size: 22px; border-radius: 17px; }
  .process-icon { width: 50px; height: 50px; flex-basis: 50px; border-radius: 16px; }
  .process-step h3 { font-size: 18px; }
  .process-step p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .process-step { transition: none !important; }
  .process-section.is-revealed .process-step { animation: none !important; opacity: 1; transform: none; }
}

/* ============================================================
   SETAS DE NAVEGAÇÃO ENTRE AS SEÇÕES
   ============================================================ */
.next-part {
  position: relative;
  padding-bottom: 124px;
}
.section-arrow-group {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transform: translateX(-50%);
}
.section-arrow-group .section-arrow {
  position: static;
  left: auto;
  bottom: auto;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  margin: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  background: #fff;
  color: #244797;
  box-shadow: 0 9px 24px rgba(0, 10, 38, .22);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  animation: arrowFloat 1.8s ease-in-out infinite;
}
.section-arrow-group .section-arrow:hover {
  transform: translateY(4px);
  background: #eaf1ff;
  color: #173777;
  box-shadow: 0 13px 28px rgba(0, 10, 38, .26);
}
.section-arrow-group .scroll-up:hover { transform: translateY(-4px); }
.section-arrow-group .section-arrow svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process-section {
  position: relative;
}

@media (max-width: 640px) {
  .next-part { padding-bottom: 120px; }
  .section-arrow-group { bottom: 25px; }
  .section-arrow-group .section-arrow { width: 46px; height: 46px; flex-basis: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .section-arrow-group .section-arrow { animation: none !important; transition: none !important; }
}

/* ============================================================
   CTA FINAL (WHATSAPP)
   ============================================================ */
.process-section { padding-bottom: 142px; }
.process-arrow-group { bottom: 34px; }
.process-arrow-group .section-arrow:first-child { background: rgba(255,255,255,.96); color: #244797; }
.process-arrow-group .section-arrow:last-child { background: #244797; color: #fff; border-color: rgba(255,255,255,.25); }
.process-arrow-group .section-arrow:last-child:hover { background: #173777; color: #fff; }

.closing-section {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 570px;
  overflow: hidden;
  padding: clamp(68px, 8vw, 112px) clamp(20px, 5.5vw, 88px) 118px;
  color: #fff;
  background:
    radial-gradient(ellipse at 12% 48%, rgba(55, 112, 220, .24), transparent 42%),
    linear-gradient(125deg, #081638 0%, #10265d 53%, #173c8f 100%);
}
.closing-section::before,
.closing-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(146, 187, 255, .12);
  border-radius: 50%;
  pointer-events: none;
}
.closing-section::before {
  width: 580px;
  height: 580px;
  left: -210px;
  top: -260px;
  box-shadow: 0 0 0 38px rgba(118, 164, 246, .025), 0 0 0 82px rgba(118, 164, 246, .02);
}
.closing-section::after {
  width: 430px;
  height: 430px;
  right: -180px;
  bottom: -270px;
  box-shadow: 0 0 0 32px rgba(118, 164, 246, .025), 0 0 0 68px rgba(118, 164, 246, .02);
}
.closing-glow {
  position: absolute;
  z-index: -1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .25;
  pointer-events: none;
}
.closing-glow-one { left: 12%; top: 18%; background: #2d7dff; }
.closing-glow-two { right: 12%; bottom: 5%; background: #40b7ff; opacity: .14; }
.closing-inner {
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(38px, 7vw, 104px);
}
.closing-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  isolation: isolate;
}
.closing-visual-orbit {
  position: absolute;
  z-index: -1;
  width: min(90%, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(173, 205, 255, .24);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 128, 244, .2), rgba(35, 77, 157, .07) 58%, transparent 72%);
  box-shadow: 0 0 0 22px rgba(135, 177, 250, .035), 0 0 70px rgba(64, 128, 244, .16);
}
.closing-mascot {
  display: block;
  width: min(100%, 430px);
  max-height: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .28));
  animation: closingMascotFloat 4.8s ease-in-out infinite;
}
@keyframes closingMascotFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.closing-image-caption {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(220, 234, 255, .72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  white-space: nowrap;
}
.closing-copy { max-width: 650px; }
.closing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #9fc4ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
}
.closing-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #69a5ff;
}
.closing-copy h2 {
  max-width: 660px;
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.055em;
}
.closing-highlight {
  position: relative;
  display: inline-block;
  color: #83baff;
  text-shadow: 0 5px 28px rgba(84, 155, 255, .18);
}
.closing-copy > p {
  max-width: 540px;
  margin: 23px 0 30px;
  color: rgba(232, 240, 255, .82);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.75;
  font-weight: 500;
}
.closing-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 19px 12px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #20b96a 0%, #119b58 100%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.closing-whatsapp:hover {
  transform: translateY(-4px);
  filter: brightness(1.06);
  box-shadow: 0 19px 40px rgba(0, 0, 0, .3), 0 0 0 5px rgba(42, 211, 112, .12);
}
.closing-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border-radius: 13px;
  color: #159c59;
  background: #fff;
}
.closing-whatsapp-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.closing-whatsapp-label { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.closing-whatsapp-label strong { font-size: 14px; font-weight: 800; }
.closing-whatsapp-label small { color: rgba(255,255,255,.82); font-size: 11px; font-weight: 600; }
.closing-whatsapp-arrow { margin-left: 9px; font-size: 20px; line-height: 1; }
.closing-note {
  display: block;
  margin-top: 24px;
  color: rgba(205, 222, 255, .62);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}
.closing-scroll-up {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.12);
  box-shadow: 0 9px 24px rgba(0, 0, 0, .18);
  cursor: pointer;
  transform: translateX(-50%);
  transition: background .2s ease, transform .2s ease;
}
.closing-scroll-up:hover { background: rgba(255,255,255,.22); transform: translate(-50%, -4px); }
.closing-scroll-up svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.closing-section.is-revealed .closing-visual { animation: closingRise .8s cubic-bezier(.2,.75,.2,1) both; }
.closing-section.is-revealed .closing-copy { animation: closingRise .8s .12s cubic-bezier(.2,.75,.2,1) both; }
@keyframes closingRise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .closing-inner { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 28px; }
  .closing-visual { min-height: 330px; }
  .closing-mascot { max-height: 350px; }
}
@media (max-width: 700px) {
  .process-section { padding-bottom: 132px; }
  .process-arrow-group { bottom: 24px; }
  .closing-section { min-height: 0; padding: 56px 20px 106px; }
  .closing-inner { grid-template-columns: 1fr; gap: 24px; width: min(100%, 520px); }
  .closing-visual { min-height: 270px; order: 0; }
  .closing-visual-orbit { width: min(76%, 270px); }
  .closing-mascot { width: min(82%, 300px); max-height: 280px; }
  .closing-image-caption { bottom: -2px; font-size: 9px; }
  .closing-copy { text-align: center; }
  .closing-kicker { justify-content: center; margin-bottom: 16px; }
  .closing-copy h2 { font-size: clamp(34px, 9vw, 46px); }
  .closing-copy > p { margin: 18px 0 25px; font-size: 14px; }
  .closing-whatsapp { width: min(100%, 380px); justify-content: flex-start; text-align: left; }
  .closing-note { line-height: 1.6; }
  .closing-scroll-up { bottom: 24px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .closing-mascot { animation: none !important; }
  .closing-whatsapp, .closing-scroll-up { transition: none !important; }
  .closing-section.is-revealed .closing-visual,
  .closing-section.is-revealed .closing-copy { animation: none !important; opacity: 1; transform: none; }
}
