/* ═══════════════════════════════════════════════════════
   ZuniWeb — Design System (layout, type, components)
   Tokens: Black + White + #00E1FD (cyan measured from the logo)
   Type: Syne (display) + Inter (body)
   Motion and hover states live in anim.css
════════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --black:       #000000;
  --surface-1:   #080808;
  --surface-2:   #0D0D0D;
  --surface-3:   #131313;
  --border:      #1A1A1A;
  --border-mid:  #242424;
  --muted:       #7F858E;
  --light:       #9CA3AF;
  --white:       #FFFFFF;
  --blue:        #00E1FD;
  --blue-mid:    #00B2C9;
  --blue-dim:    rgba(0,225,253,.1);
  --blue-glow:   rgba(0,225,253,.25);
  --blue-ultra:  rgba(0,225,253,.05);

  --ff-display:  'Syne', sans-serif;
  --ff-body:     'Inter', sans-serif;

  --max:         1200px;
  --r:           4px;        /* base border-radius */
  --r-sm:        2px;
  --r-card:      10px;       /* cards float free of each other */

  --header-h:    68px;
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);    /* entrances, hover */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);   /* movement across the screen */

  /* Spacing scale (density 5 = standard) */
  --s-2:  .5rem;
  --s-4:  1rem;
  --s-6:  1.5rem;
  --s-8:  2rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-24: 6rem;
  --s-32: 8rem;

  /* Section rhythm */
  --section-y: clamp(5rem, 9vw, 9rem);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; scrollbar-gutter: stable; } /* Lenis scrolls; the gutter stops a layout jump when it pauses */
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
main, footer { overflow-x: clip; } /* entrance offsets must not widen the page; unlike hidden, clip keeps sticky working */
section[id] { scroll-margin-top: var(--header-h); }
section:focus { outline: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ── Reduced motion: keyframes stop; colour and opacity transitions stay ──
   .motion-reduced is set in <head> only when the visitor turns on "Reduzir animações" in the
   footer; everyone else gets .motion-full, whatever the system setting. The media query is the
   fallback for visitors without JavaScript, who have no switch: for them the system decides. */
.motion-reduced *, .motion-reduced *::before, .motion-reduced *::after {
  animation-duration: .01ms !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
}
.motion-reduced .marquee-track { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-full) *, html:not(.motion-full) *::before, html:not(.motion-full) *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
  }
  html:not(.motion-full) .marquee-track { animation: none !important; }
}

/* ═══════════════════ LAYOUT ═══════════════════ */
.wrap    { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.section { padding: var(--section-y) 0; }

/* ═══════════════════ TYPOGRAPHY ═══════════════════ */
.t-display {
  font-family: var(--ff-display);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.0;
}
.t-heading {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.1;
}
.t-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--blue);
  text-transform: uppercase;
}
.t-muted { color: var(--light); }

.section-title { font-size: clamp(1.6rem, 7.4vw, 3rem); }
@media (min-width: 900px) { .section-title { font-size: clamp(2rem, 4vw, 3rem); } }
.section-intro { max-width: 60ch; margin-top: .75rem; line-height: 1.7; }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; }
.section-header-center { text-align: center; }
.section-header-center .section-intro { margin-inline: auto; }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1.875rem;
  border-radius: var(--r);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, scale .14s var(--ease-out);
}
.btn:active { scale: .97 !important; } /* GSAP writes scale: none inline on buttons it moves */
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.btn-lg { font-size: 1rem; padding: .85rem 2.25rem; }

.btn-primary {
  background: var(--blue);
  color: var(--black);
  font-weight: 600;
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-mid);
}

/* ═══════════════════ CUSTOM CURSOR ═══════════════════ */
/* One look everywhere: nothing on the page changes its size, colour or outline. main.js adds
   .has-cursor, which also hides every native cursor, only while the custom one is on screen. */
#cursor, #cursor-ring {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
}
.has-cursor #cursor, .has-cursor #cursor-ring { display: block; }
#cursor {
  width: 8px;
  height: 8px;
  background: var(--blue);
  z-index: 10002;
}
#cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0,225,253,.5);
  z-index: 10001;
}
.has-cursor, .has-cursor *, .has-cursor *::before, .has-cursor *::after { cursor: none !important; }

/* ═══════════════════ SCROLL PROGRESS ═══════════════════ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #60d0ff);
  z-index: 200;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 8px var(--blue-glow);
}

/* ═══════════════════ HEADER ═══════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo: real transparency, so it sits directly on whatever is behind the header */
.logo-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}
.logo-img-header {
  height: 34px;
  width: auto;
}
.logo-text {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -.02em;
  color: var(--white);
}
.logo-text em {
  font-style: normal;
  color: var(--blue);
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--blue); }
  50%       { opacity: .6; box-shadow: 0 0 14px var(--blue); }
}

/* Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-link {
  font-size: .84rem;
  font-weight: 400;
  color: var(--light);
  transition: color .2s;
  position: relative;
  padding: .25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; width: 100%; height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-link.active { color: var(--white); }
.nav-link.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .75rem .5rem;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
  border-radius: 1px;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(0,0,0,.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  padding: 2rem 1.5rem 2rem;
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 1.1rem .5rem;
  font-size: 1.25rem;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--light);
  border-bottom: 1px solid var(--border);
  transition: color .2s, padding-left .2s;
  letter-spacing: -.02em;
}
.mobile-nav-link:hover { color: var(--white); padding-left: .75rem; }
.mobile-nav-link:last-of-type { border-bottom: none; }
.mobile-nav-cta { margin-top: 2rem; }
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .nav-desktop, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
}

/* ═══════════════════ HERO ═══════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 4rem;
}
.hero-left, .hero-right { min-width: 0; }
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.75rem;
}
.eyebrow-pill {
  background: var(--blue-dim);
  border: 1px solid rgba(0,225,253,.2);
  border-radius: 100px;
  padding: .28rem .9rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow-dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--blue);
  animation: dotPulse 2s ease-in-out infinite;
}

/* Syne is very wide ("resultado." is ~7.7em), so the size is derived from the column
   width. Each line is its own mask; the padding keeps ç, g and q from being clipped. */
.hero-headline {
  font-size: clamp(2.5rem, min(6.1vw, 9.4vh), 4.7rem);
  font-size: clamp(2.5rem, min(6.1vw, 9.4svh), 4.7rem);
  margin-bottom: 1.5rem;
}
.hero-line {
  display: block;
  overflow: hidden;
  padding: .06em 0 .22em;
  margin: -.06em 0 -.22em;
}
.hero-line-inner { display: block; }
.hero-headline .hl-blue { color: var(--blue); }

.hero-body {
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: var(--light);
  max-width: 46ch;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .875rem;
  margin-bottom: 2.5rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--light);
}
.hero-badge-dot {
  width: 4px; height: 4px;
  background: var(--blue);
  border-radius: 50%;
}

/* Hero right: floating device mockup */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Browser window mockup */
.browser-mock {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.7), 0 0 0 1px var(--border), inset 0 1px 0 rgba(255,255,255,.04), 0 0 90px rgba(0,225,253,.07);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
}
.browser-bar {
  background: var(--surface-3);
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: .35rem; }
.browser-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FFBD2E; }
.browser-dot:nth-child(3) { background: #28CA42; }
.browser-url {
  flex: 1;
  background: var(--border);
  border-radius: 4px;
  height: 22px;
  display: flex;
  align-items: center;
  padding: 0 .6rem;
  gap: .4rem;
  font-size: .7rem;
  color: var(--light);
  overflow: hidden;
  white-space: nowrap;
}
.browser-url-dot {
  width: 7px; height: 7px;
  background: #3ecf8e;
  border-radius: 50%;
  flex-shrink: 0;
}
.browser-content {
  padding: 1.5rem;
  min-height: 260px;
}
/* Mock website content inside browser */
.mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.mock-logo-bar {
  width: 80px; height: 10px;
  background: var(--blue);
  border-radius: 2px;
  opacity: .85;
}
.mock-nav-links { display: flex; gap: .5rem; }
.mock-nav-link { width: 36px; height: 6px; background: #2C3136; border-radius: 2px; }
.mock-hero-txt { margin-bottom: 1rem; }
.mock-h1 { width: 70%; height: 14px; background: var(--light); border-radius: 2px; margin-bottom: .5rem; opacity: .55; }
.mock-h1-sm { width: 50%; height: 14px; background: var(--light); border-radius: 2px; margin-bottom: 1rem; opacity: .32; }
.mock-p { height: 7px; background: #2C3136; border-radius: 2px; margin-bottom: .4rem; }
.mock-p.w80 { width: 80%; }
.mock-p.w65 { width: 65%; }
.mock-p.w90 { width: 90%; }
.mock-cta-row { display: flex; gap: .5rem; margin-top: 1rem; }
.mock-cta {
  height: 28px; border-radius: 3px;
  display: flex; align-items: center;
}
.mock-cta.primary { width: 90px; background: var(--blue); opacity: .9; }
.mock-cta.ghost   { width: 80px; border: 1px solid #2C3136; }
.mock-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem; margin-top: 1.25rem; }
.mock-card  { background: var(--surface-3); border: 1px solid var(--border-mid); border-radius: 4px; padding: .6rem .5rem; }
.mock-card-icon { width: 18px; height: 18px; background: rgba(0,225,253,.22); border-radius: 3px; margin-bottom: .4rem; }
.mock-card-line { height: 5px; background: #2C3136; border-radius: 2px; margin-bottom: .3rem; }
.mock-card-line.w70 { width: 70%; }

/* Floating badges on the browser */
.browser-float-badge,
.browser-float-badge-2 {
  position: absolute;
  z-index: 2;
  background: rgba(13,13,13,.92);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-family: var(--ff-body);
  font-size: .78rem;
  color: var(--light);
  line-height: 1.4;
  box-shadow: 0 12px 32px rgba(0,0,0,.55);
}
.browser-float-badge strong,
.browser-float-badge-2 strong {
  display: block;
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .1rem;
}
.browser-float-badge {
  bottom: -1rem;
  right: -1rem;
  padding: .75rem 1rem;
  gap: .6rem;
  animation: floatY 4s ease-in-out infinite;
}
.browser-float-badge-2 {
  top: -2.5rem;
  left: -1rem;
  padding: .6rem .875rem;
  gap: .6rem;
  animation: floatY 3.5s 1s ease-in-out infinite;
}
.badge-live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 0 3px rgba(62,207,142,.18);
  flex-shrink: 0;
}
.badge-icon {
  width: 32px; height: 32px;
  background: var(--blue-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.badge-text { line-height: 1.3; }
.badge-text span { color: var(--light); font-size: .72rem; }

/* `translate`, not `transform`: GSAP owns transform on these elements */
@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50%       { translate: 0 -8px; }
}

@media (max-width: 900px) {
  .hero-wrap {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 3.25rem;
    padding-top: calc(var(--header-h) + 2.25rem);
    padding-bottom: 3.5rem;
  }
  .hero-headline { font-size: clamp(2.25rem, 11.2vw, 5rem); }
  .hero-ctas .btn { flex: 1 1 auto; padding-inline: 1.25rem; }
  .hero-visual { max-width: 440px; }
  .browser-mock { transform: none; }
  .browser-float-badge { right: .5rem; bottom: -1.25rem; }
  .browser-float-badge-2 { left: .5rem; top: -2.75rem; }
}

/* ═══════════════════ MARQUEE ═══════════════════ */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1.1rem 0;
  background: var(--surface-1);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 0 1.75rem;
  flex-shrink: 0;
  font-family: var(--ff-display);
  font-size: .875rem;
  font-weight: 600;
  color: var(--light);
  letter-spacing: .02em;
  transition: color .2s;
  white-space: nowrap;
}
.marquee-item:hover { color: var(--white); }
.marquee-sep {
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .6;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Second row: the services again, large and outlined, running the other way */
.marquee-track-alt {
  margin-top: .9rem;
  animation-duration: 46s;
  animation-direction: reverse;
}
.marquee-track-alt .marquee-item {
  font-size: clamp(1.5rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.26);
  gap: 2.25rem;
  padding: 0 2.25rem;
  line-height: 1.1;
}
.marquee-track-alt .marquee-item:hover { color: transparent; -webkit-text-stroke-color: var(--blue); }
.marquee-track-alt .marquee-sep { width: 8px; height: 8px; opacity: .45; }

/* ═══════════════════ ABOUT ═══════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.section-label { margin-bottom: .875rem; }
.about-title { font-size: clamp(1.75rem, 4.5vw, 3.5rem); margin-bottom: 1.75rem; }
.about-text   { color: var(--light); line-height: 1.8; max-width: 55ch; margin-bottom: 1rem; }
.about-lead {
  color: #E2EAEE;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-right { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 1rem; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  transition: border-color .2s ease, background-color .2s ease;
}
.about-feature-icon {
  width: 44px; height: 44px;
  background: var(--blue-dim);
  border: 1px solid rgba(0,225,253,.15);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.about-feature-title { font-family: var(--ff-display); font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.about-feature-desc  { font-size: .84rem; color: var(--light); line-height: 1.6; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════ SERVICES ═══════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.875rem, 1.6vw, 1.25rem);
}
.svc-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.6vw, 2.25rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .2s ease, background-color .25s ease;
}

.svc-num {
  font-family: var(--ff-display);
  font-size: .68rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .1em;
  margin-bottom: 1.5rem;
}
.svc-visual {
  height: 208px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 1.75rem;
  flex-shrink: 0;
}
.svc-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}
.svc-desc {
  font-size: .875rem;
  color: var(--light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}
.svc-benefits {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.75rem;
}
.svc-benefit {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .82rem;
  color: var(--light);
}
.svc-benefit::before {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='7' cy='7' r='6' fill='none' stroke='%231A1A1A'/><polyline points='3.5,7 6,9.5 10.5,4.5' fill='none' stroke='%2300E1FD' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/cover;
}
.svc-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
}
.svc-price {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.svc-price-note { font-size: .72rem; color: var(--light); line-height: 1.4; text-align: right; }

/* CSS illustrations for services */
/* 1. Website mockup */
.svc-browser {
  background: var(--surface-3);
  border: 1px solid var(--border-mid);
  border-radius: 7px;
  overflow: hidden;
  font-size: 0;
}
.svc-browser-bar {
  background: var(--surface-1);
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 .6rem;
  gap: .4rem;
  border-bottom: 1px solid var(--border);
  font-size: .68rem;
  color: var(--muted);
}
.svc-browser-dots { display: flex; gap: .28rem; }
.svc-browser-dot  { width: 7px; height: 7px; border-radius: 50%; }
.svc-browser-dot.r { background: rgba(255,95,87,.4); }
.svc-browser-dot.y { background: rgba(255,189,46,.4); }
.svc-browser-dot.g { background: rgba(40,202,66,.4);  }
.svc-browser-addr {
  flex: 1;
  background: var(--border);
  border-radius: 3px;
  height: 16px;
  margin-left: .3rem;
  font-size: .6rem;
  display: flex;
  align-items: center;
  padding: 0 .4rem;
  color: var(--muted);
  gap: .3rem;
}
.svc-addr-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.svc-browser-body { padding: .875rem; }
.svc-nav-mock { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.svc-logo-mock { width: 50px; height: 7px; background: var(--blue); border-radius: 2px; opacity: .7; }
.svc-nav-items { display: flex; gap: .3rem; }
.svc-nav-item  { width: 25px; height: 5px; background: var(--border-mid); border-radius: 2px; }
.svc-h1a { width: 65%; height: 10px; background: var(--light); opacity: .25; border-radius: 2px; margin-bottom: .3rem; }
.svc-h1b { width: 48%; height: 10px; background: var(--light); opacity: .15; border-radius: 2px; margin-bottom: .6rem; }
.svc-pbody { height: 5px; background: var(--border-mid); border-radius: 2px; margin-bottom: .3rem; }
.svc-pbody.w75 { width: 75%; }
.svc-pbody.w90 { width: 90%; }
.svc-pbody.w60 { width: 60%; }
.svc-row-btns { display: flex; gap: .4rem; margin-top: .6rem; }
.svc-btn-m  { height: 20px; border-radius: 3px; }
.svc-btn-m.a { width: 65px; background: var(--blue); opacity: .75; }
.svc-btn-m.b { width: 55px; border: 1px solid var(--border-mid); }

/* 2. Phone mockup */
.svc-phone {
  width: 90px;
  height: 160px;
  background: var(--surface-3);
  border: 2px solid var(--border-mid);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.svc-phone::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 4px;
  background: var(--border-mid);
  border-radius: 100px;
}
.svc-phone-screen {
  position: absolute;
  inset: 14px 2px 2px;
  background: var(--surface-1);
  border-radius: 11px;
  overflow: hidden;
  padding: .4rem;
}
.svc-phone-hero { background: var(--blue); height: 36px; border-radius: 4px; margin-bottom: .3rem; opacity: .2; }
.svc-phone-line { height: 4px; background: var(--border-mid); border-radius: 2px; margin-bottom: .25rem; }
.svc-phone-line.w80 { width: 80%; }
.svc-phone-line.w60 { width: 60%; }
.svc-phone-btn  { width: 60px; height: 14px; background: var(--blue); border-radius: 2px; opacity: .6; margin-top: .4rem; }

/* 3. Social feed */
.svc-social {
  background: var(--surface-3);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  overflow: hidden;
  max-height: 208px;
}
.svc-social-header {
  position: relative;
  z-index: 1;
  background: var(--surface-3);
  padding: .5rem .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--border);
}
.svc-social-logo { font-size: .65rem; font-weight: 700; color: var(--light); letter-spacing: .05em; }
.svc-post {
  padding: .625rem .75rem;
  border-bottom: 1px solid var(--border);
}
.svc-post:last-child { border-bottom: none; }
.svc-post-header { display: flex; align-items: center; gap: .4rem; margin-bottom: .4rem; }
.svc-avatar { width: 18px; height: 18px; background: var(--blue-dim); border: 1px solid rgba(0,225,253,.2); border-radius: 50%; flex-shrink: 0; }
.svc-username { width: 48px; height: 5px; background: var(--border-mid); border-radius: 2px; }
.svc-post-img { width: 100%; height: 44px; background: var(--border); border-radius: 3px; margin-bottom: .35rem; overflow: hidden; position: relative; }
.svc-post-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue-dim), transparent); }
.svc-post-line { height: 4px; background: var(--border-mid); border-radius: 2px; margin-bottom: .2rem; }
.svc-post-line.w85 { width: 85%; }
.svc-post-line.w65 { width: 65%; }
.svc-post-actions { display: flex; gap: .5rem; margin-top: .35rem; }
.svc-action { width: 20px; height: 4px; background: var(--border-mid); border-radius: 2px; }

/* 4. Maps mockup */
.svc-maps {
  background: var(--surface-3);
  border: 1px solid var(--border-mid);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  height: 160px;
}
.svc-map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: .4;
}
.svc-map-roads {
  position: absolute;
  inset: 0;
}
.svc-map-road {
  position: absolute;
  background: var(--border-mid);
}
.svc-map-road.h1 { top: 40%; left: 0; right: 0; height: 3px; }
.svc-map-road.h2 { top: 70%; left: 0; right: 0; height: 2px; }
.svc-map-road.v1 { left: 30%; top: 0; bottom: 0; width: 3px; }
.svc-map-road.v2 { left: 65%; top: 0; bottom: 0; width: 2px; }
.svc-pin {
  position: absolute;
  top: 25%; left: 48%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: pinBounce 2s ease-in-out infinite;
}
.svc-pin-head {
  width: 20px; height: 20px;
  background: var(--blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 12px var(--blue-glow);
}
.svc-pin-shadow {
  width: 8px; height: 3px;
  background: rgba(0,0,0,.3);
  border-radius: 50%;
  margin-top: 2px;
}
@keyframes pinBounce {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%       { transform: translate(-50%, -50%) translateY(-6px); }
}
.svc-map-pulse {
  position: absolute;
  top: 25%; left: 48%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border: 1px solid rgba(0,225,253,.4);
  border-radius: 50%;
  animation: mapPulse 2.5s ease-out infinite;
}
@keyframes mapPulse {
  0%   { transform: translate(-50%, -50%) scale(.5); opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}
.svc-map-info {
  position: absolute;
  bottom: .75rem; left: .75rem;
  background: rgba(0,0,0,.85);
  border: 1px solid var(--border-mid);
  border-radius: 5px;
  padding: .4rem .6rem;
  font-size: .68rem;
  color: var(--light);
  line-height: 1.4;
}
.svc-map-info strong { color: var(--white); display: block; font-size: .72rem; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ═══════════════════ PACKAGES ═══════════════════ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.875rem, 1.6vw, 1.25rem);
  align-items: stretch;
}
.pkg-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .2s ease, background-color .2s ease;
}
.pkg-card.featured {
  background: linear-gradient(180deg, #06222A 0%, #05131A 100%);
  border-color: rgba(0,225,253,.35);
  z-index: 2;
  box-shadow: 0 0 60px rgba(0,225,253,.06) inset, 0 24px 60px rgba(0,0,0,.5);
}
@media (min-width: 901px) {
  .pkg-card.featured { top: -14px; }
}

.pkg-top-badge {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  background: var(--blue);
  color: var(--black);
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .75rem;
  border-radius: 0 0 6px 6px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.pkg-name {
  font-size: .78rem;
  color: var(--light);
  letter-spacing: .06em;
  margin-bottom: 1.5rem;
  margin-top: .25rem;
}
.counter-price { font-variant-numeric: lining-nums tabular-nums; }
.pkg-price {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -.04em;
  margin-bottom: .3rem;
}
.pkg-card.featured .pkg-price { color: var(--blue); }
.pkg-price-note { font-size: .78rem; color: var(--light); margin-bottom: 2.25rem; }
.pkg-divider { width: 100%; height: 1px; background: var(--border); margin-bottom: 1.75rem; }
.pkg-items {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  flex: 1;
  margin-bottom: 2rem;
}
.pkg-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .875rem;
  color: var(--light);
  line-height: 1.4;
}
.pkg-item-check {
  width: 18px; height: 18px;
  background: var(--blue-dim);
  border: 1px solid rgba(0,225,253,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: .05rem;
  color: var(--blue);
}
.pkg-item-check svg { width: 10px; height: 10px; }
.pkg-card .btn { width: 100%; justify-content: center; }

@media (max-width: 900px) {
  .packages-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ═══════════════════ DIFFERENTIALS ═══════════════════ */
/* Six tracks: three cards on top, two wider ones below, so no empty cell is left over */
.diffs-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.875rem, 1.6vw, 1.25rem);
}
.diff-card {
  grid-column: span 2;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2.25rem 2rem;
  transition: border-color .2s ease, background-color .2s ease;
  position: relative;
}
.diff-card:nth-child(n + 4) { grid-column: span 3; }
.diff-card::after {
  content: '';
  position: absolute;
  bottom: -1px; left: var(--r-card); right: var(--r-card);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(0,225,253,.25));
  transform: scaleX(0);
  transform-origin: left;
}
@media (max-width: 900px) {
  .diffs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diff-card, .diff-card:nth-child(n + 4) { grid-column: span 1; }
  .diff-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .diffs-grid { grid-template-columns: minmax(0, 1fr); }
  .diff-card:last-child { grid-column: auto; }
}
.diff-icon-wrap {
  width: 48px; height: 48px;
  margin-bottom: 1.25rem;
  background: var(--blue-dim);
  border: 1px solid rgba(0,225,253,.12);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: background .2s, box-shadow .2s;
}
.diff-title { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; }
.diff-desc  { font-size: .875rem; color: var(--light); line-height: 1.65; }

/* ═══════════════════ PROCESS ═══════════════════ */
.process-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.process-left { position: sticky; top: 100px; }
.process-left-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.process-left-text  { color: var(--light); line-height: 1.75; }

/* Which step the reader is on, shown only where the line is driven by scroll */
.process-counter {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  margin-top: 2.25rem;
}
.process-counter[hidden] { display: none; }
.process-counter-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--light);
}
.process-counter-num {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--ff-display);
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  padding: .1em 0;
}
.process-counter-current {
  display: inline-block;
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  color: var(--blue);
  font-variant-numeric: lining-nums tabular-nums;
}
.process-counter-total { font-size: 1.1rem; color: var(--muted); margin-left: .35rem; }
@media (max-width: 768px) {
  .process-counter { display: none; }
}

.process-right { position: relative; }
.process-line-track {
  position: absolute;
  left: 22px;
  top: 8px;
  width: 2px;
  bottom: 8px;
  background: var(--border-mid);
  border-radius: 2px;
  overflow: hidden;
}
.process-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--blue), var(--blue-mid));
  border-radius: 2px;
  transform-origin: top;
}
.process-steps { display: flex; flex-direction: column; gap: 0; padding-left: 60px; }
.process-step {
  position: relative;
  padding: 2rem 0 2rem;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-node {
  position: absolute;
  left: -60px;
  top: 2.1rem;
  width: 46px; height: 46px;
  background: var(--surface-2);
  border: 2px solid var(--border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: .78rem;
  color: var(--light);
  transition: border-color .4s ease, color .4s ease, background-color .4s ease, box-shadow .4s ease, scale .4s var(--ease-out);
  z-index: 1;
}
.process-step.active .process-node {
  border-color: var(--blue);
  color: var(--blue);
  background-color: #04222A;
  box-shadow: 0 0 20px rgba(0,225,253,.22), 0 0 0 4px rgba(0,225,253,.07);
  scale: 1.08 !important;
}
.step-label { font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.step-desc  { font-size: .875rem; color: var(--light); line-height: 1.65; max-width: 56ch; }

@media (max-width: 768px) {
  .process-layout { grid-template-columns: 1fr; }
  .process-left { position: static; }
}

/* ═══════════════════ IMPACT ═══════════════════ */
#impact {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(5.5rem, 11vw, 11rem) 0;
  background: radial-gradient(90% 130% at 50% 0%, #073641 0%, #03171D 50%, #010608 100%);
}
.impact-orbits {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.impact-inner { position: relative; z-index: 1; }
.impact-label { margin-bottom: 1.5rem; }
.impact-title {
  font-size: clamp(1.9rem, 6vw, 5.25rem);
  margin: 0 auto 1.5rem;
  line-height: 1.04;
}
.imp-line {
  display: block;
  overflow: hidden;
  padding: .06em 0 .2em;
  margin: -.06em 0 -.2em;
}
.imp-line-inner { display: block; }
.impact-title .imp-blue { color: var(--blue); }
.impact-sub {
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  color: #C3D0D6;
  max-width: 52ch;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}

/* ═══════════════════ FAQ ═══════════════════ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.faq-left { position: sticky; top: 100px; }
.faq-left-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.faq-left-text  { color: var(--light); line-height: 1.75; }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color .2s;
}
.faq-btn:hover { color: var(--blue); }
.faq-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.faq-icon-wrap {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  transition: transform .3s var(--ease-out), border-color .2s ease, color .2s ease;
}
.faq-btn[aria-expanded="true"] .faq-icon-wrap {
  transform: rotate(45deg);
  border-color: var(--blue);
  color: var(--blue);
}
/* Answers are readable without JavaScript; main.js adds .js and only then they collapse */
.faq-answer-inner {
  font-size: .875rem;
  color: var(--light);
  line-height: 1.8;
  max-width: 68ch;
}
.faq-answer-inner::after { content: ''; display: block; height: 1.5rem; }
.js .faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease-out);
}
.js .faq-answer-inner {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s linear .32s;
}
.js .faq-item.open .faq-answer { grid-template-rows: 1fr; }
.js .faq-item.open .faq-answer-inner { visibility: visible; transition-delay: 0s; }

@media (max-width: 768px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-left { position: static; }
}

/* ═══════════════════ CONTACT ═══════════════════ */
#contato {
  position: relative;
  overflow: hidden;
  padding: 0;
}
#contato::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: var(--surface-1);
  border-left: 1px solid var(--border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
  position: relative;
  z-index: 1;
}
.contact-left {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.25rem; }
.contact-text  { color: var(--light); line-height: 1.75; margin-bottom: 2rem; max-width: 46ch; }
.contact-info  { display: flex; flex-direction: column; gap: .75rem; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: var(--light);
}
.contact-info-icon {
  width: 36px; height: 36px;
  background: var(--blue-dim);
  border: 1px solid rgba(0,225,253,.15);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-info-item a { transition: color .2s; }
.contact-info-item a:hover { color: var(--blue); }

.contact-right {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}
.form-label { font-size: .78rem; font-weight: 500; color: var(--light); letter-spacing: .02em; transition: color .2s ease; }
.form-group:focus-within .form-label { color: var(--blue); }
.form-input, .form-select, .form-textarea {
  background: var(--black);
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  color: var(--white);
  font-family: var(--ff-body);
  font-size: .875rem;
  padding: .75rem 1rem;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,225,253,.12);
}
.form-select {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 8l4 4 4-4' fill='none' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-select option { background: var(--surface-2); color: var(--white); }
.form-textarea { resize: none; height: 110px; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
/* Honeypot: off-screen for people, a field like any other for bots */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Turnstile (anti-spam). Invisible unless a visitor actually has to interact. */
.form-turnstile { margin-bottom: 1rem; }
.form-turnstile:empty { display: none; }
.form-privacy {
  font-size: .75rem;
  color: var(--light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.form-btn { width: 100%; justify-content: center; padding: .8rem; font-size: .95rem; }
.form-err { display: block; font-size: .74rem; color: #F87171; margin-top: .25rem; }
.form-status {
  margin-top: 1rem;
  padding: .875rem 1rem;
  border-radius: var(--r);
  border-left: 3px solid currentColor;
  font-size: .875rem;
}
.form-status-success { color: #34D399; background: rgba(52,211,153,.08); }
.form-status-error   { color: #F87171; background: rgba(248,113,113,.08); }
.form-status-warning { color: #FBBF24; background: rgba(251,191,36,.08); }
.form-status a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  #contato::before { display: none; }
  .contact-left  { padding: clamp(3rem, 6vw, 5rem) 0 1.5rem; }
  .contact-right { padding: 1.5rem 0 clamp(3rem, 6vw, 5rem); }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════ FOOTER ═══════════════════ */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface-1);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: clamp(3rem, 6vw, 5rem) 0 3rem;
}
.footer-logo-link {
  display: inline-block;
  margin-bottom: 1.25rem;
}
.footer-logo-img {
  width: clamp(170px, 18vw, 220px);
  height: auto;
}
.footer-tagline { font-size: .84rem; color: var(--light); line-height: 1.7; max-width: 32ch; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .6rem; }
.footer-social-link {
  width: 36px; height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--light);
  transition: border-color .2s, color .2s, background .2s;
}
.footer-social-link:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }
.footer-col-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .875rem;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-link  { font-size: .84rem; color: var(--light); transition: color .2s; }
.footer-link:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: .78rem; color: var(--light); }
.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--light);
  transition: color .2s;
}
.footer-whatsapp-link:hover { color: #25D366; }

/* Lets any visitor switch the full animations on or off, whatever their system says */
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  font-size: .78rem;
  color: var(--light);
  transition: color .2s ease;
}
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: var(--white); }
.motion-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.motion-switch {
  position: relative;
  width: 30px;
  height: 17px;
  border-radius: 100px;
  border: 1px solid var(--border-mid);
  background: var(--surface-3);
  transition: background-color .2s ease, border-color .2s ease;
}
.motion-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--light);
  transition: translate .2s var(--ease-out), background-color .2s ease;
}
.motion-toggle[aria-pressed="true"] .motion-switch { background: var(--blue-dim); border-color: var(--blue); }
.motion-toggle[aria-pressed="true"] .motion-switch::after { translate: 13px 0; background: var(--blue); }

/* The brand name as a closing signature, outlined; it fills in as the page ends */
.footer-mega {
  padding: 0 clamp(.75rem, 2vw, 1.5rem) clamp(1rem, 2.5vw, 2rem);
  overflow: hidden;
}
.footer-mega-inner {
  position: relative;
  display: block;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 12.4vw, 15rem); /* "ZuniWeb" in Syne 800 is 7.33em wide: 12.4vw keeps it inside the screen */
  line-height: .9;
  letter-spacing: -.03em;
  text-align: center;
  white-space: nowrap;
  font-kerning: none;
  padding: .06em 0 .14em;
}
.footer-mega-outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); }
.footer-mega-fill {
  position: absolute;
  inset: .06em 0 .14em;
  background: linear-gradient(90deg, rgba(255,255,255,.1), rgba(0,225,253,.55) 55%, rgba(255,255,255,.18));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  clip-path: inset(0% 100% 0% 0%);
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ═══════════════════ WHATSAPP FLOAT ═══════════════════ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.5); }
.wa-float:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; }
@media (max-width: 600px) {
  .wa-float { width: 48px; height: 48px; right: 1rem; bottom: 1rem; }
}

/* ═══════════════════ UTILITY ═══════════════════ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* Holds the shared icons (<symbol>); takes no space */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
/* WhatsApp mark inside buttons; stays put while the label rolls */
.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ═══════════════════ COOKIE CONSENT ═══════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--surface-2);
  border-top: 1px solid var(--border-mid);
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .4s var(--ease-out), opacity .4s var(--ease-out);
}
.cookie-banner-enter { transform: translateY(0); opacity: 1; }
.cookie-banner-exit  { transform: translateY(100%); opacity: 0; }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.cookie-banner-text p {
  font-size: .84rem;
  color: var(--light);
  line-height: 1.6;
  margin: 0;
}
.cookie-banner-actions {
  display: flex;
  gap: .625rem;
  flex-shrink: 0;
}
.cookie-banner-actions .btn {
  padding: .5rem 1.125rem;
  font-size: .78rem;
  white-space: nowrap;
}

/* ── Cookie Preferences Panel ── */
.cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out);
}
.cookie-panel-enter { opacity: 1; pointer-events: auto; }
.cookie-panel-exit  { opacity: 0; pointer-events: none; }
.cookie-panel[hidden] { display: none; }
.cookie-panel-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.cookie-panel-content {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border-mid);
  border-radius: var(--r-card);
  width: 92%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(.97);
  transition: transform .3s var(--ease-out);
}
.cookie-panel-enter .cookie-panel-content { transform: translateY(0) scale(1); }
.cookie-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 0;
}
.cookie-panel-title { font-size: 1.125rem; }
.cookie-panel-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  color: var(--light);
  transition: color .2s, background .2s;
}
.cookie-panel-close:hover { color: var(--white); background: var(--surface-3); }
.cookie-panel-close:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cookie-panel-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cookie-panel-footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.cookie-panel-footer .btn { width: 100%; justify-content: center; }

/* Category cards */
.cookie-category {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.125rem;
}
.cookie-category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-category-info { flex: 1; min-width: 0; }
.cookie-category-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .875rem;
  margin-bottom: .25rem;
}
.cookie-category-desc { font-size: .78rem; color: var(--light); line-height: 1.5; margin: 0; }
.cookie-category-badge {
  font-size: .68rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-dim);
  padding: .2rem .625rem;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: .15rem;
}

/* Toggle switch */
.cookie-toggle { display: flex; align-items: center; cursor: pointer; flex-shrink: 0; margin-top: .15rem; }
.cookie-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-toggle-track {
  position: relative;
  width: 30px; height: 17px;
  border-radius: 100px;
  border: 1px solid var(--border-mid);
  background: var(--surface-1);
  transition: background .2s, border-color .2s;
}
.cookie-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--light);
  transition: translate .2s var(--ease-out), background .2s;
}
.cookie-toggle input:checked ~ .cookie-toggle-track { background: var(--blue-dim); border-color: var(--blue); }
.cookie-toggle input:checked ~ .cookie-toggle-track .cookie-toggle-thumb { translate: 13px 0; background: var(--blue); }
.cookie-toggle input:focus-visible ~ .cookie-toggle-track { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Cookie details */
.cookie-category-details { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.cookie-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .125rem .75rem;
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.5;
}
.cookie-detail-name { font-family: monospace; color: var(--light); grid-row: 1; }
.cookie-detail-type { grid-row: 1; text-align: right; }
.cookie-detail-desc { grid-column: 1 / -1; }

/* Footer cookie preferences trigger */
.cookie-prefs-trigger {
  font-size: .78rem;
  color: var(--light);
  transition: color .2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.cookie-prefs-trigger:hover { color: var(--blue); }
.cookie-prefs-trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* Reduced motion: instant transitions */
.motion-reduced .cookie-banner,
.motion-reduced .cookie-panel,
.motion-reduced .cookie-panel-content {
  transition-duration: .01ms !important;
}
@media (prefers-reduced-motion: reduce) {
  html:not(.motion-full) .cookie-banner,
  html:not(.motion-full) .cookie-panel,
  html:not(.motion-full) .cookie-panel-content {
    transition-duration: .01ms !important;
  }
}

@media (max-width: 768px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; gap: 1rem; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; justify-content: center; }
  .cookie-panel-content { width: 100%; max-width: none; max-height: 100vh; border-radius: 0; }
  .cookie-panel-header { padding: 1.25rem 1.25rem 0; }
  .cookie-panel-body { padding: 1rem 1.25rem; }
  .cookie-panel-footer { padding: .875rem 1.25rem 1.25rem; }
}
