/* ============================================================
   AURORA TECNOLOGIA — STYLESHEET
   Design System: Dark Tech Premium · Aurora palette
   ------------------------------------------------------------
   01 Tokens & reset          06 Split sections
   02 Typography              07 Stats & features
   03 Layout                  08 CTA & footer
   04 Components              09 Interior page modules
   05 Navbar & hero           10 Animations & responsive
   ============================================================ */

/* ============================================================
   01 · TOKENS & RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Aurora palette */
  --accent:        hsl(28, 80%, 55%);
  --accent-dark:   hsl(20, 75%, 42%);
  --accent-light:  hsl(40, 90%, 70%);
  --accent-08:     hsla(28, 80%, 55%, 0.08);
  --accent-12:     hsla(28, 80%, 55%, 0.12);
  --accent-20:     hsla(28, 80%, 55%, 0.20);
  --accent-35:     hsla(28, 80%, 55%, 0.35);

  /* Surfaces */
  --bg-dark:       #0a0a1a;
  --bg-darker:     #06060f;
  --bg-mid:        #111128;
  --bg-cream:      #f7f5f0;
  --bg-cream-alt:  #fdfcf9;
  --surface:       #ffffff;

  /* Ink */
  --ink:           #1a1a2e;
  --ink-body:      #4a4a6a;
  --ink-muted:     #7a7a9a;
  --cream:         #fff5e1;
  --cream-72:      rgba(255, 245, 225, 0.72);
  --cream-52:      rgba(255, 245, 225, 0.52);
  --cream-34:      rgba(255, 245, 225, 0.34);

  /* Lines */
  --line-dark:     rgba(255, 255, 255, 0.09);
  --line-light:    rgba(26, 26, 46, 0.09);

  /* Rhythm */
  --section-pad:   clamp(64px, 8vw, 118px);
  --section-pad-s: clamp(48px, 6vw, 84px);
  --container-w:   1280px;
  --container-px:  clamp(20px, 5vw, 72px);
  --split-gap:     clamp(36px, 5vw, 84px);
  --card-gap:      clamp(16px, 2.2vw, 28px);
  --nav-h:         78px;
  --float-gap:     clamp(16px, 3vw, 28px);
  --float-size:    58px;

  /* Fluid type */
  --fs-xs:    clamp(0.70rem, 0.67rem + 0.14vw, 0.78rem);
  --fs-sm:    clamp(0.82rem, 0.79rem + 0.17vw, 0.90rem);
  --fs-base:  clamp(0.94rem, 0.90rem + 0.22vw, 1.04rem);
  --fs-lg:    clamp(1.02rem, 0.96rem + 0.33vw, 1.18rem);
  --fs-title-sm: clamp(1.05rem, 0.98rem + 0.34vw, 1.2rem);
  --fs-title-md: clamp(1.5rem, 1.16rem + 1.5vw, 2.2rem);
  --fs-title-lg: clamp(1.9rem, 1.42rem + 2.1vw, 3.05rem);
  --fs-hero:     clamp(2.25rem, 1.5rem + 3.3vw, 3.95rem);

  /* Fonts */
  --font-body:  'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-serif: 'Prata', Georgia, 'Times New Roman', serif;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* Motion */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.35, 0.64, 1);
  --t-fast: 0.2s;
  --t:      0.36s;
  --t-slow: 0.7s;

  /* Shadows */
  --sh-sm:     0 2px 10px rgba(26, 26, 46, 0.07);
  --sh-md:     0 12px 34px rgba(26, 26, 46, 0.11);
  --sh-lg:     0 26px 66px rgba(6, 6, 15, 0.26);
  --sh-accent: 0 10px 30px rgba(232, 147, 58, 0.28);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg-cream);
  /* Palavra indivisível quebra em vez de vazar — o caso concreto aqui é o
     e-mail de contato, 30 caracteres sem espaço, em cartão estreito no
     celular. Note que `overflow-x: hidden` abaixo NÃO resolve isso: ele
     esconde o estouro, e conteúdo escondido é pior que conteúdo torto.
     Quem evita o estouro são os `min-width: 0` da seção 18. */
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Injected by script.js — keyboard skip link */
.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 2000;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--t) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* ============================================================
   02 · TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.title-lg {
  font-family: var(--font-serif);
  font-size: var(--fs-title-lg);
  line-height: 1.14;
  margin-bottom: 1.25rem;
}

.title-md {
  font-family: var(--font-serif);
  font-size: var(--fs-title-md);
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* `em.text-accent` — accent word inside serif headings */
.text-accent { color: var(--accent); font-style: normal; }

.eyebrow {
  position: relative;
  display: inline-block;
  padding-left: 28px;
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform-origin: left;
}

.light-eyebrow { color: var(--accent-light); }

.body {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--ink-body);
  margin-bottom: 1.1rem;
  text-wrap: pretty;
}

.body:last-child { margin-bottom: 0; }

/* ============================================================
   03 · LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  position: relative;
  padding-block: var(--section-pad);
}

.section-cream     { background: var(--bg-cream); }

/* Hairline divider between same-tone sections */
.section-cream + .section-cream { border-top: 1px solid var(--line-light); }

/* ============================================================
   04 · COMPONENTS
   ============================================================ */

/* ---- Buttons ---- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 27px;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease),
              transform var(--t) var(--ease-spring);
}

/* Light sweep across the button on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -70%;
  z-index: -1;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-22deg);
  transition: left 0.6s var(--ease-out);
}

.btn:hover::after { left: 125%; }
.btn:active { transform: translateY(0) scale(0.975); }
.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--sh-accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(232, 147, 58, 0.42);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--cream);
}

.btn-outline:hover {
  background: var(--accent-12);
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-3px);
}

/* On light backgrounds the outline button needs ink contrast */
.section-cream .btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.section-cream .btn-outline:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--sh-accent);
}

.btn-large { padding: 16px 34px; font-size: var(--fs-base); }


/* ---- Media wrap (images) ---- */
.media-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  isolation: isolate;
}

.media-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  border: 1px solid var(--accent-20);
  pointer-events: none;
}

.media-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  /* --mz = hover zoom · --my = scroll parallax offset */
  transform: scale(var(--mz, 1.03)) translate3d(0, var(--my, 0px), 0);
  transition: transform var(--t-slow) var(--ease-out);
  will-change: transform;
}

.media-wrap:hover .media-img { --mz: 1.08; }

/* Decorative accent ring behind the media */
.deco-ring {
  position: absolute;
  z-index: -1;
  top: -28px;
  left: -28px;
  width: 140px;
  height: 140px;
  border: 2px solid var(--accent-35);
  border-radius: 50%;
  pointer-events: none;
  animation: ringFloat 7s var(--ease) infinite alternate;
}

@keyframes ringFloat {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(10px, -14px) rotate(22deg); }
}

/* ---- Scroll progress bar (injected) ---- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1100;
  height: 3px;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  pointer-events: none;
}

/* ---- Back to top (injected) ---- */
.to-top {
  position: fixed;
  right: var(--float-gap);
  /* stacked directly above the floating WhatsApp button */
  bottom: calc(var(--float-gap) + var(--float-size) + 12px);
  z-index: 900;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent-35);
  border-radius: 50%;
  background: rgba(10, 10, 26, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity var(--t) var(--ease),
              transform var(--t) var(--ease-spring),
              visibility var(--t),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}

.to-top.visible { opacity: 1; visibility: visible; transform: none; }

.to-top:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px) scale(1.06);
}

/* ============================================================
   05 · NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding-block: 16px;
  transition: padding var(--t) var(--ease),
              background var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              transform 0.45s var(--ease-out);
}

.navbar.scrolled {
  padding-block: 10px;
  background: rgba(6, 6, 15, 0.9);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.34);
}

/* Interior pages: solid bar from the first pixel */
.navbar.nav-solid {
  background: rgba(6, 6, 15, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
}

/* Hide on scroll-down, reveal on scroll-up */
.navbar.nav-hidden { transform: translateY(-105%); }
.navbar.menu-open  { transform: none; }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 3vw, 40px);
}

/* ---- Logo ---- */
.nav-logo {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: transform var(--t) var(--ease-spring),
              opacity var(--t-fast) var(--ease);
}

.nav-logo:hover { transform: scale(1.04); }

.logo-img {
  width: auto;
  height: clamp(30px, 3.4vw, 40px);
  transition: height var(--t) var(--ease);
}

.navbar.scrolled .logo-img { height: clamp(27px, 3vw, 34px); }

/* ---- Links ---- */
.nav-menu { display: flex; align-items: center; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 4px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t) var(--ease-out);
}

.nav-link:hover,
.nav-link.active-link { color: #fff; }

.nav-link:hover::after,
.nav-link.active-link::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-right { display: flex; align-items: center; gap: 12px; }

/* CTA in the bar is compact */
.nav-right .btn { padding: 10px 22px; }

/* Mobile-only CTA inside the drawer */
.mobile-cta { display: none; }

/* ---- Hamburger ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: #fff;
  transition: transform var(--t) var(--ease-out),
              opacity var(--t-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Drawer close button ---- */
.nav-close {
  display: none;
  position: relative;
  align-self: flex-end;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-close span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.nav-close span:first-child { transform: rotate(45deg); }
.nav-close span:last-child  { transform: rotate(-45deg); }

/* ---- Drawer backdrop (injected) ---- */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(6, 6, 15, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility var(--t);
}

.nav-backdrop.show { opacity: 1; visibility: visible; }

/* ============================================================
   06 · HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  background: var(--bg-darker);
}

/* Compact hero — enough impact without dominating the page */
.hero--short {
  height: 72vh;
  height: 72svh;
  min-height: 460px;
  max-height: 720px;
}

.hero-slider { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Slow Ken Burns push-in while a slide is on screen */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.14);
  transition: transform 8s linear;
}

.hero-slide.active .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(6,6,15,0.93) 0%, rgba(6,6,15,0.7) 46%, rgba(6,6,15,0.4) 100%),
    linear-gradient(to top, rgba(6,6,15,0.9) 0%, transparent 44%);
}

/* Aurora glow drifting across the base of the hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 55% 60% at 18% 100%, rgba(232,147,58,0.2), transparent 70%);
  pointer-events: none;
  animation: auroraDrift 14s var(--ease) infinite alternate;
}

@keyframes auroraDrift {
  from { opacity: 0.5; transform: translateX(-5%); }
  to   { opacity: 1;   transform: translateX(7%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: var(--nav-h);
}

.hero-text { max-width: 680px; }

/* Staggered entrance — replayed each time a slide becomes active */
.hero-slide .hero-label,
.hero-slide .hero-title,
.hero-slide .hero-desc,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.hero-slide.active .hero-label   { opacity: 1; transform: none; transition-delay: 0.20s; }
.hero-slide.active .hero-title   { opacity: 1; transform: none; transition-delay: 0.32s; }
.hero-slide.active .hero-desc    { opacity: 1; transform: none; transition-delay: 0.44s; }
.hero-slide.active .hero-actions { opacity: 1; transform: none; transition-delay: 0.56s; }

.hero-label {
  position: relative;
  display: inline-block;
  padding-left: 32px;
  margin-bottom: 1.1rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.hero-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.hero-title {
  margin-bottom: 1.4rem;
  font-family: var(--font-serif);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.11;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero-desc {
  max-width: 550px;
  margin-bottom: 2.4rem;
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: rgba(255, 245, 225, 0.78);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Dots with autoplay progress ---- */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vh, 44px);
  z-index: 10;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  position: relative;
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  overflow: hidden;
  transition: width var(--t) var(--ease-out), background var(--t) var(--ease);
}

.hero-dot:hover { background: rgba(255, 255, 255, 0.55); }

.hero-dot.active {
  width: 46px;
  background: rgba(255, 255, 255, 0.24);
}

.hero-dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: dotFill var(--slide-ms, 6000ms) linear forwards;
}

@keyframes dotFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero.is-paused .hero-dot.active::after { animation-play-state: paused; }

@keyframes wheelDrop {
  0%   { opacity: 0; transform: translateY(-4px); }
  35%  { opacity: 1; transform: translateY(0); }
  70%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================================
   07 · PAGE HERO — interior pages
   ============================================================ */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(330px, 50vh, 500px);
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: clamp(38px, 6vw, 76px);
  background: var(--bg-darker);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  animation: heroSettle 1.8s var(--ease-out) forwards;
}

@keyframes heroSettle { to { transform: scale(1); } }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6,6,15,0.97) 6%, rgba(6,6,15,0.74) 56%, rgba(6,6,15,0.52) 100%),
    radial-gradient(ellipse 70% 85% at 8% 100%, rgba(232,147,58,0.22), transparent 66%);
}

.page-hero > .container { position: relative; z-index: 2; }

.page-hero-inner { max-width: 780px; }

.page-hero-title {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.12;
  color: #fff;
}

.page-hero-desc {
  max-width: 600px;
  margin-bottom: 0;
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: rgba(255, 245, 225, 0.76);
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 1.4rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-52);
}

.breadcrumb a { color: var(--cream-52); text-decoration: none; transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb [aria-current] { color: var(--accent-light); }

/* ============================================================
   08 · SPLIT SECTIONS
   ============================================================ */
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--split-gap);
  align-items: center;
}

.split-grid.reverse .split-text  { order: -1; }
.split-grid.reverse .split-media { order: 1; }

/* isolate: the decorative ring sits at z-index -1 and must stay above the
   section background rather than disappearing behind it */
.split-media { position: relative; isolation: isolate; }
.split-text  { min-width: 0; }

/* ============================================================
   11 · CTA
   ============================================================ */
.cta-section {
  position: relative;
  background: var(--bg-darker);
  text-align: center;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
}

.cta-logo { margin-bottom: 1.8rem; }

.cta-logo-img {
  width: auto;
  height: clamp(40px, 6vw, 58px);
  margin-inline: auto;
  opacity: 0.92;
}

.cta-inner .eyebrow { padding-left: 0; }
.cta-inner .eyebrow::before { display: none; }

.cta-heading { color: #fff; }

.cta-body {
  max-width: 580px;
  margin-inline: auto;
  color: var(--cream-72);
  font-size: var(--fs-lg);
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 2.4rem;
}

/* ============================================================
   12 · FOOTER
   ============================================================ */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--line-dark);
  color: var(--cream-72);
}

/* Three columns: marca · navegação · contato */
.footer-main { padding-block: clamp(44px, 5.5vw, 72px); }

.footer-main-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.5vw, 26px);
}

.footer-logo { display: block; line-height: 0; }

.footer-logo-img {
  width: auto;
  height: clamp(34px, 4.5vw, 46px);
  transition: opacity var(--t-fast) var(--ease);
}

.footer-logo:hover .footer-logo-img { opacity: 0.8; }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Icon only — the accessible name lives on aria-label */
.social-pill {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream-72);
  text-decoration: none;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t) var(--ease-spring);
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-3px);
}

.social-pill-hl:hover {
  background: var(--accent-12);
  border-color: var(--accent-35);
  color: var(--accent-light);
}

/* ---- Footer middle ---- */
.footer-nav-title {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-nav ul,
.footer-contact-col ul { display: grid; gap: 11px; }

.footer-nav a,
.footer-contact-col a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-sm);
  color: var(--cream-52);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.footer-nav a:hover,
.footer-contact-col a:hover { color: var(--accent); transform: translateX(4px); }

.footer-nav a svg,
.footer-contact-col a svg { flex-shrink: 0; opacity: 0.7; }

/* ---- Footer bottom ---- */
.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid var(--line-dark);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: var(--cream-34);
}

.footer-legal { display: flex; gap: 20px; }

.footer-legal a {
  font-size: var(--fs-xs);
  color: var(--cream-34);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.footer-legal a:hover { color: var(--accent); }

/* ---- Numbered card (values {
  position: relative;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--t) var(--ease-out),
              box-shadow var(--t) var(--ease),
              border-color var(--t) var(--ease);
}

/* ---- Contact layout ---- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(30px, 4vw, 62px);
  align-items: start;
}

.form-card {
  padding: clamp(26px, 3.2vw, 44px);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.field label .req { color: var(--accent); }

.input,
.textarea,
.select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-sm);
  background: var(--bg-cream-alt);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}

.input::placeholder,
.textarea::placeholder { color: var(--ink-muted); opacity: 0.7; }

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-12);
}

.textarea { min-height: 148px; resize: vertical; }

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237a7a9a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Inline validation state */
.field.invalid .input,
.field.invalid .textarea,
.field.invalid .select {
  border-color: #d2492f;
  box-shadow: 0 0 0 3px rgba(210, 73, 47, 0.12);
}

.field-error {
  font-size: var(--fs-xs);
  color: #d2492f;
  min-height: 1em;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.form-note {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 300px;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  border: 1px solid var(--accent-35);
  background: var(--accent-08);
  color: var(--accent-dark);
}

.form-status[hidden] { display: none; }

/* ---- Info cards (contact sidebar) ---- */
.info-stack { display: grid; gap: 14px; }

.info-card {
  display: flex;
  gap: 15px;
  padding: 20px 22px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t) var(--ease-out),
              border-color var(--t) var(--ease),
              box-shadow var(--t) var(--ease);
}

a.info-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-20);
  box-shadow: var(--sh-md);
}

.info-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--accent-12);
  color: var(--accent);
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}

a.info-card:hover .info-icon { background: var(--accent); color: #fff; }

.info-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 3px;
}

.info-value {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
}

/* ============================================================
   14 · SCROLL REVEAL & MOTION
   ------------------------------------------------------------
   `.js` is set on <html> by the inline head snippet,
so pages
   still render fully if JavaScript never runs.
   ============================================================ */
.js .reveal-up,
.js .reveal-left,
.js .reveal-right {
  opacity: 0;
  transition: opacity 0.85s var(--ease-out),
              transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

.js .reveal-up    { transform: translateY(44px); }
.js .reveal-left  { transform: translateX(-44px); }
.js .reveal-right { transform: translateX(44px); }

.js .reveal-up.visible,
.js .reveal-left.visible,
.js .reveal-right.visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Page-load fade so navigating between pages feels continuous */
/* Opacity only — deliberately NO transform.
   An element running or filling a transform animation becomes the
   containing block for its position:fixed descendants. Since every fixed
   element on the page (navbar, floating WhatsApp, back-to-top, scroll
   progress, mobile drawer) is a child of <body>, a transform here detaches
   them from the viewport and makes them scroll away with the document. */
.js body { animation: pageIn 0.5s var(--ease-out) both; }

@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Leaving the page (set by script.js on internal link clicks) */
.js body.page-leaving {
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}

/* ============================================================
   15 · RESPONSIVE
   ============================================================ */

/* --- Large desktop --- */
@media (max-width: 1180px) {
  .nav-links { gap: 20px; }
}

/* --- Small desktop / large tablet --- */
/* --- Tablet --- */
@media (max-width: 980px) {
  .split-grid,
  .split-grid.reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(30px, 5vw, 44px);
  }

  /* Media always leads on narrow screens */
  .split-grid.reverse .split-text  { order: 1; }
  .split-grid.reverse .split-media { order: 0; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .deco-ring { width: 104px; height: 104px; top: -18px; left: -18px; }
}

/* --- Mobile nav drawer --- */
@media (max-width: 860px) {
  :root { --nav-h: 68px; }

  .nav-toggle { display: flex; }
  .nav-close  { display: block; }
  .nav-right > .btn { display: none; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: min(360px, 86vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 26px clamp(24px, 7vw, 40px);
    background: rgba(8, 8, 20, 0.97);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-left: 1px solid var(--line-dark);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.42s var(--ease-out);
    overflow-y: auto;
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-close { position: absolute; top: 22px; right: 26px; align-self: auto; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 28px;
  }

  .nav-links li {
    border-bottom: 1px solid var(--line-dark);
    /* Each link slides in once the drawer is open */
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }

  .nav-menu.open .nav-links li {
    opacity: 1;
    transform: none;
    transition-delay: calc(0.12s + var(--i, 0) * 0.055s);
  }

  .nav-link {
    display: block;
    padding-block: 15px;
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
  }

  .nav-link::after { display: none; }
  .nav-link.active-link { color: var(--accent); }

  .mobile-cta {
    display: inline-flex;
    width: 100%;
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }

  .nav-menu.open .mobile-cta {
    opacity: 1;
    transform: none;
    transition-delay: 0.42s;
  }

  body.menu-open { overflow: hidden; }
}

/* --- Small tablet / large phone --- */
@media (max-width: 760px) {
  .hero { min-height: 520px; }
  .hero-desc { font-size: var(--fs-base); }

  .footer-main-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 5vw, 44px);
  }
  /* brand spans the full width above the two link columns */
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* --- Phone --- */
@media (max-width: 620px) {

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .form-note { max-width: none; }

  .hero-actions,
  .cta-btns { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .cta-btns .btn { width: 100%; }

  .deco-ring { display: none; }
}

/* --- Small phone --- */
@media (max-width: 460px) {

  .social-pill { width: 42px; height: 42px; }
  .footer-legal { gap: 14px; }
  .hero-dots { bottom: 18px; }
}

/* --- Short landscape screens --- */
@media (max-height: 560px) and (orientation: landscape) {
  .hero { height: auto; min-height: 0; padding-block: 120px 80px; }
  .hero-slider { height: auto; }
  .hero-slide { position: relative; display: none; }
  .hero-slide.active { display: block; }
  .hero-content { height: auto; padding-top: 0; }
  .hero-dots { position: static; transform: none; justify-content: center; margin-top: 28px; }
}

/* ============================================================
   16 · REDUCED MOTION & PRINT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal-up,
  .js .reveal-left,
  .js .reveal-right,
  .js .reveal-scale,
  .js .reveal-fade { opacity: 1; transform: none; }

  .js body { animation: none; }
  .hero-bg, .page-hero-bg { transform: none; }
  .media-img { transform: none; }
}

@media print {
  .navbar,
  .nav-backdrop,
  .to-top,
  .scroll-progress,
  .hero-dots,
  .wa-float { display: none !important; }

  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
  .cta-section,
.footer { background: #fff !important; color: #000 !important; }
  .js .reveal-up,
.js .reveal-left,
.js .reveal-right { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}

/* ============================================================
   18 · KIOSKI NEXA — showcase editorial
   ============================================================ */

/* Fundo claro off-white para contrastar com seções escuras */
.kioski-section {
  background: var(--bg-cream);
  /* A touch more generous than a standard section: this one sits directly
     under the hero and is framed by two heavy rules, so the content needs
     room to breathe away from them. */
  padding-block: clamp(56px, 6vw, 96px);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

/* ---- Grid editorial: texto 1fr | totem 1fr ---- */
.kioski-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

/* ---- Specs table ---- */
.kioski-specs {
  border-top: 2px solid var(--ink);
  margin-top: clamp(1.4rem, 2.4vw, 2rem);
  padding-top: 4px;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  gap: 16px;
}

.spec-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.spec-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* ---- Totem stage ---- */
/* Coluna de texto da grade do produto. `min-width: 0` porque item de grid
   não encolhe abaixo do conteúdo por padrão, e aí o texto longo estoura. */
.kioski-text { min-width: 0; }

.kioski-media {
  display: flex;
  justify-content: center;
}


.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-live 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}


/* ── Carrossel de imagens do produto ──────────────────────── */
.img-car {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-mid);
  border: 1.5px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}

/* Track e slides */
.img-car-track { position: relative; width: 100%; }

.img-car-slide {
  display: none;
  animation: imgcar-fade 0.5s var(--ease);
}
.img-car-slide.active { display: block; }

@keyframes imgcar-fade {
  from { opacity: 0; transform: scale(1.03); }
  to   { opacity: 1; transform: scale(1);    }
}

/* Imagem — cobre todo o frame */
.img-car-img {
  display: block;
  width: 100%;
  height: clamp(260px, 34vw, 380px);
  object-fit: cover;
  object-position: center top;
}

/* Badge NO AR — canto superior direito */
.img-car-badge-live {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* Badge modelo — canto superior esquerdo */
.img-car-badge-model {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.10);
}

/* Setas prev / next */
.img-car-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, border-color 0.22s, transform 0.22s;
  padding: 0;
}
.img-car-prev { left: 12px; }
.img-car-next { right: 12px; }

.img-car-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

/* Dots */
.img-car-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 12px 0 14px;
  background: var(--bg-mid);
}

.img-car-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.img-car-dot.active {
  background: var(--accent);
  transform: scale(1.35);
}
.img-car-dot:hover:not(.active) { background: rgba(255,255,255,0.5); }
/* ────────────────────────────────────────────────────────── */

/* Responsive */
@media (max-width: 860px) {
  .kioski-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kioski-media { order: -1; }   
}

/* ============================================================
   19 · PRODUCT CAROUSEL — manual only, no autoplay
   ============================================================ */
/* ---- Controls — named tabs, editorial to match the 2px rules ---- */
/* ---- Título da seção ---- */
.produto-heading {
  position: relative;
  margin-bottom: clamp(26px, 3.6vw, 44px);
  padding-top: 22px;
  font-family: var(--font-serif);
  font-size: var(--fs-title-lg);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}

/* Barra âmbar grossa — mesmo peso das réguas de 2px da seção */
.produto-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 5px;
  background: var(--accent);
}


.produto-title {
  font-size: var(--fs-title-md);
  margin-bottom: 1rem;
}
.produto-cta   { margin-top: clamp(1.6rem, 3vw, 2.2rem); }


@keyframes pcarFadeUp {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   20 · FLOATING WHATSAPP
   Pinned to the viewport on every page and visible at all times,
   including at the top of the page.
   ============================================================ */
.wa-float {
  position: fixed;
  right: var(--float-gap);
  bottom: var(--float-gap);
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: var(--float-size);
  padding: 0 22px 0 17px;
  border-radius: 40px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
  animation: waRing 2.8s var(--ease-out) 2s infinite;
  transition: background var(--t-fast) var(--ease),
              transform var(--t) var(--ease-spring),
              box-shadow var(--t) var(--ease);
}

/* Ring drawn with box-shadow so it follows the pill's rounded shape */
@keyframes waRing {
  0%   { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38), 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-float:hover {
  background: #1eb855;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5);
  animation-play-state: paused;
}

.wa-float:active { transform: translateY(0) scale(0.97); }
.wa-float svg { flex-shrink: 0; }
.wa-label { display: inline-block; }

/* Collapse to an icon-only circle where the label would crowd the screen */
@media (max-width: 620px) {
  .wa-float {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .wa-label { display: none; }
  .to-top   { bottom: calc(var(--float-gap) + 52px + 10px); }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}


/* ============================================================
   14 · COMPONENTES DO PRODUTO (Kioski Aurora)
   ------------------------------------------------------------
   Acrescentado quando o site passou a vender um produto só.
   Tudo aqui sai das variáveis do bloco 01 — nenhuma cor nova,
   nenhuma fonte nova.
   ============================================================ */

/* `.section` sozinha herda o creme do body, então duas seções seguidas
   ficavam sem separação. `.section-alt` é o tom vizinho, meio grau acima. */
.section-alt { background: var(--bg-cream-alt); }
.section-alt + .section-alt { border-top: 1px solid var(--line-light); }

/* ---- Cabeçalho de seção (centralizado) ---- */
.sec-head {
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: clamp(32px, 4vw, 56px);
  text-align: center;
}
/* O eyebrow tem um traço à esquerda; centralizado, o padding o desalinha. */
.sec-head .eyebrow { padding-left: 0; }
.sec-head .eyebrow::before { display: none; }
.sec-head .title-lg { margin-bottom: 0.9rem; }
.sec-head-desc { color: var(--ink-body); margin-bottom: 0; }

/* ---- Grade de cartões ---- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
}
.feat-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feat-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  transition: border-color var(--t-fast) var(--ease),
              transform var(--t) var(--ease-out),
              box-shadow var(--t) var(--ease);
}
.feat-card:hover {
  border-color: var(--accent-35);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(26, 26, 46, 0.09);
}
.feat-card-lg { padding: clamp(26px, 3vw, 40px); }

/* O número é marcador de ordem, não enfeite: só aparece onde a sequência
   diz alguma coisa (as seis tarefas, os três modelos, as quatro decisões). */
.feat-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-serif);
  font-size: var(--fs-title-sm);
  line-height: 1;
  color: var(--accent);
}
.feat-title {
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.feat-desc {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--ink-body);
}


/* ---- Mapa dos aplicativos (página Aplicativos) ---- */
.app-map {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--card-gap);
}
.app-chip {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(18px, 2vw, 26px);
  background: var(--surface);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease),
              transform var(--t) var(--ease-out);
}
.app-chip:hover { border-color: var(--accent); transform: translateY(-3px); }
.app-chip-kind {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-12);
  color: var(--accent-dark);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.app-chip-name {
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.app-chip-who { font-size: var(--fs-xs); color: var(--ink-muted); }

/* ---- Lista de recursos de um aplicativo ---- */
.app-list {
  list-style: none;
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.app-list li {
  position: relative;
  padding-left: 26px;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--ink-body);
}
.app-list li strong { color: var(--ink); font-weight: 600; }
.app-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

/* ---- Etiquetas ---- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.4rem;
}
.tag {
  padding: 6px 13px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-body);
  white-space: nowrap;
}

/* ---- Passos numerados (home) ---- */
.step-list {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.step-item { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
}
.step-title {
  margin-bottom: 0.25rem;
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.step-desc { margin: 0; font-size: var(--fs-sm); color: var(--ink-body); }

/* ---- Assinatura do rodapé ---- */
.footer-tag {
  margin: 0.9rem 0 1.2rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--cream-52);
  max-width: 34ch;
}

/* ---- Blocos de aplicativo: um pouco mais de ar entre eles ---- */
.app-block { padding-block: clamp(56px, 7vw, 104px); }

/* ============================================================
   14.1 · RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .app-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {.feat-grid,
.feat-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {.feat-grid,
.feat-grid-2,
.app-map { grid-template-columns: minmax(0, 1fr); }
  .sec-head { text-align: left; }
  .tag { white-space: normal; }
}

/* Quem pediu menos movimento não recebe o deslocamento do hover. */
@media (prefers-reduced-motion: reduce) {
  .feat-card:hover,
  .app-chip:hover { transform: none; }
}

/* ============================================================
   15 · ROADMAP (seção "em desenvolvimento")
   ------------------------------------------------------------
   Fundo escuro de propósito: o que ainda não existe não pode
   parecer com o que já está no ar. A tarja diz a mesma coisa
   por escrito, para quem não lê a diferença de cor.
   ============================================================ */
.soon-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.soon-section .title-lg { color: var(--cream); }
.soon-section .body     { color: var(--cream-72); }
.soon-section .app-list li        { color: var(--cream-72); }
.soon-section .app-list li strong { color: var(--cream); }
.soon-section .app-list li::before { border-color: var(--accent-light); }
.soon-section .media-wrap { opacity: 0.86; }

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  padding: 6px 15px;
  border: 1px solid var(--accent-35);
  border-radius: 999px;
  background: var(--accent-12);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.soon-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

/* A ressalva é parte do argumento, não letra miúda: mesmo corpo do texto,
   destacada por uma barra em vez de encolhida. */
.soon-note {
  margin: 1.6rem 0 0;
  padding: 1rem 0 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--cream-72);
}
.soon-note strong { color: var(--cream); }

/* Faixa de etiquetas centralizada (segmentos) */
.tag-row-center {
  justify-content: center;
  max-width: 68ch;
  margin-inline: auto;
  gap: 10px;
}

/* ============================================================
   16 · BLOCO DE TEXTO SEM IMAGEM
   ------------------------------------------------------------
   Nasceu de uma limpeza: várias seções ilustravam o Kioski com
   telas de OUTROS produtos. Tirada a imagem, a coluna de texto
   sozinha ficava torta num grid de duas colunas — então ela
   deixa de ser coluna e passa a ocupar o bloco, com a lista
   em duas colunas para não virar uma tira estreita e comprida.
   ============================================================ */
.text-block {
  max-width: 1040px;
  margin-inline: auto;
}
/* Cabeçalho centralizado, como nas seções que usam `.sec-head`. */
.text-block .eyebrow { display: block; padding-left: 0; text-align: center; }
.text-block .eyebrow::before { display: none; }
.text-block .title-lg { text-align: center; }
.text-block > .body {
  max-width: 68ch;
  margin-inline: auto;
  text-align: center;
}
.text-block .app-list { margin-top: 2rem; }

/* Duas colunas de itens; o `break-inside` impede um item partir ao meio. */
.app-list-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
}
.app-list-2 li { break-inside: avoid; }

/* Os três passos da home cabem lado a lado quando há largura. */
.text-block .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 860px) {
  .app-list-2 { grid-template-columns: minmax(0, 1fr); }
  .text-block .step-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .text-block .eyebrow,
  .text-block .title-lg,
  .text-block > .body { text-align: left; }
}

/* ============================================================
   17 · ACESSO AOS PORTAIS NA BARRA
   ------------------------------------------------------------
   Dois destinos de LOGIN convivendo com o CTA de venda. Eles
   são contorno e o "Fale conosco" é sólido de propósito: quem
   já é cliente procura o próprio portal e acha; quem chegou
   pela primeira vez continua vendo uma só chamada principal.
   ============================================================ */
.btn-portal {
  padding: 9px 16px;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}
/* A barra fica sólida nas páginas internas e transparente sobre o hero;
   nos dois casos o fundo é escuro, então o contorno claro serve aos dois. */
.navbar .btn-portal { border-color: rgba(255, 255, 255, 0.22); }
.navbar .btn-portal:hover { border-color: var(--accent); }

/* Separador discreto entre os logins e o CTA. */
#nav-cta-btn { position: relative; margin-left: 6px; }
#nav-cta-btn::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 50%;
  width: 1px;
  height: 20px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
}

/* Entre a gaveta (861px) e a largura folgada, encolhe em vez de estourar. */
@media (max-width: 1080px) {
  .nav-right { gap: 8px; }
  .btn-portal { padding: 8px 12px; }
  .nav-right .btn { padding: 9px 16px; }
}

/* ---- Dentro da gaveta ---- */
.mobile-portais { display: none; }

@media (max-width: 860px) {
  /* `.nav-right > .btn` já some aqui pela regra do bloco 15; os portais
     reaparecem por extenso dentro da gaveta, acima do CTA. */
  .mobile-portais {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-dark);
    opacity: 0;
    transform: translateX(26px);
    transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  }
  .nav-menu.open .mobile-portais {
    opacity: 1;
    transform: none;
    transition-delay: 0.36s;
  }
  .mobile-portais .btn { width: 100%; }
  .mobile-portais-titulo {
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cream-52);
  }
  /* Na gaveta o CTA é o último item, sem o risco vertical da barra. */
  #nav-cta-btn::before { display: none; }
}

/* ============================================================
   18 · PROTEÇÃO CONTRA ESTOURO DE LARGURA
   ------------------------------------------------------------
   Item de grid e de flex tem `min-width: auto` por padrão: ele
   se recusa a encolher abaixo do próprio conteúdo. Se o conteúdo
   for indivisível — um e-mail, um campo de formulário — ele
   empurra a coluna e a página ganha barra horizontal.
   Foi o que aconteceu com `.kioski-text` quando ela perdeu as
   regras do carrossel; aqui a mesma proteção vai para os outros
   lugares onde o risco é real.
   ============================================================ */

/* Cartões e campos: os que guardam texto ou <input>. Campo de
   formulário é o pior caso — tem largura mínima própria do
   navegador e ignora a coluna que o contém. */
.feat-card,
.app-chip,
.info-card,
.field,
.hero-text { min-width: 0; }

/* Linha de ficha técnica: rótulo à esquerda, valor à direita.
   Sem isso, valor comprido empurra o rótulo para fora. */
.spec-val { min-width: 0; }

/* O texto de cada passo, ao lado do número. O número tem largura
   fixa; quem precisa ceder é o texto. */
.step-item > div { min-width: 0; }
