:root {
  /* Brand blues (pulled from logo globe) */
  --blue-50:  #F0F9FF;
  --blue-100: #E0F2FE;
  --blue-200: #BAE6FD;
  --blue-300: #7DD3FC;
  --blue-400: #38BDF8;
  --blue-500: #0EA5E9;   /* primary — logo globe */
  --blue-600: #0284C7;
  --blue-700: #0369A1;
  --blue-800: #075985;
  --blue-900: #0C4A6E;
  --blue-950: #082F49;

  /* Neutrals */
  --white:    #FFFFFF;
  --off:      #F8FAFC;
  --mist:     #F1F5F9;
  --border:   #E2E8F0;
  --border-2: #CBD5E1;
  --muted:    #64748B;
  --text:     #0F172A;
  --ink:      #0B1220;

  /* Surfaces */
  --surface:      #FFFFFF;
  --surface-soft: #F8FAFC;
  --surface-blue: #F0F9FF;

  /* Gradient tokens */
  --grad-hero:
    radial-gradient(1200px 800px at 85% -10%, rgba(14,165,233,.18), transparent 60%),
    radial-gradient(900px 700px at -10% 10%, rgba(56,189,248,.14), transparent 60%),
    radial-gradient(700px 600px at 50% 110%, rgba(2,132,199,.10), transparent 60%),
    linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 45%, #F0F9FF 100%);
  --grad-blue:   linear-gradient(135deg, #0EA5E9 0%, #0284C7 55%, #0369A1 100%);
  --grad-blue-2: linear-gradient(135deg, #38BDF8 0%, #0EA5E9 60%, #0284C7 100%);
  --grad-ink:    linear-gradient(180deg, #0B1220 0%, #082F49 100%);
  --grad-text:   linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%);

  /* Shadows (cool blue tint) */
  --sh-xs:  0 1px 2px rgba(15, 23, 42, .06);
  --sh-sm:  0 2px 6px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --sh-md:  0 10px 24px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .04);
  --sh-lg:  0 24px 48px rgba(15, 23, 42, .10), 0 4px 12px rgba(15, 23, 42, .06);
  --sh-xl:  0 40px 80px rgba(15, 23, 42, .14), 0 10px 20px rgba(15, 23, 42, .06);
  --sh-blue-sm: 0 6px 20px rgba(14,165,233,.18);
  --sh-blue-md: 0 16px 40px rgba(14,165,233,.25);
  --sh-blue-lg: 0 30px 70px rgba(14,165,233,.35);

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Motion */
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --ease-inout:  cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-xs: 120ms;
  --dur-sm: 200ms;
  --dur-md: 320ms;
  --dur-lg: 520ms;
  --dur-xl: 900ms;

  /* Type */
  --ff-display: "Sora", system-ui, sans-serif;
  --ff-body:    "Plus Jakarta Sans", system-ui, sans-serif;

  /* z-index scale */
  --z-float: 40;
  --z-nav:   50;
  --z-modal: 80;
}

/* =========================================================
   RESET
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }

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

::selection { background: rgba(14,165,233,.25); color: var(--ink); }

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(14,165,233,.18);
  animation: pulseDot 2.4s var(--ease-inout) infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(14,165,233,.18); }
  50%      { box-shadow: 0 0 0 8px rgba(14,165,233,.05); }
}

.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: 20px 0 14px;
  font-weight: 700;
  color: var(--ink);
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition:
    transform var(--dur-md) var(--ease-spring),
    box-shadow var(--dur-md) var(--ease-out),
    background-position var(--dur-md) var(--ease-out),
    color var(--dur-sm) var(--ease-out),
    border-color var(--dur-sm) var(--ease-out);
  position: relative;
  white-space: nowrap;
  will-change: transform;
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--dur-md) var(--ease-spring);
}

.btn--primary {
  color: var(--white);
  background: var(--grad-blue);
  background-size: 220% 220%;
  background-position: 0% 50%;
  box-shadow: var(--sh-blue-sm);
}

.btn--primary:hover {
  background-position: 100% 50%;
  box-shadow: var(--sh-blue-md);
  transform: translateY(-2px);
}

.btn--primary:hover .btn__arrow {
  transform: translateX(6px);
}

.btn--primary:active { transform: translateY(0); }

.btn--outline {
  color: var(--blue-700);
  background: var(--white);
  border-color: var(--blue-200);
  box-shadow: var(--sh-xs);
}

.btn--outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
  color: var(--blue-800);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.btn--full { width: 100%; }

/* =========================================================
   NAVBAR (floating glass)
   ========================================================= */
.navbar {
  position: fixed;
  inset: 14px 16px auto 16px;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--r-pill);
  padding: 6px 16px;
  box-shadow: var(--sh-sm);
  transition:
    box-shadow var(--dur-md) var(--ease-out),
    background var(--dur-md) var(--ease-out),
    border-color var(--dur-md) var(--ease-out),
    transform var(--dur-md) var(--ease-out);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--sh-md);
  border-color: rgba(14,165,233,0.20);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  gap: 24px;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform var(--dur-md) var(--ease-spring);
}

.navbar__brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.navbar__brand-tag {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 9.5px;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 4px;
}

.navbar__brand:hover .navbar__brand-text { transform: translateX(2px); }

.navbar__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--dur-md) var(--ease-spring);
}

.navbar__brand:hover .navbar__logo { transform: scale(1.06); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-pill);
  transition: color var(--dur-sm) var(--ease-out), background var(--dur-sm) var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--grad-blue);
  transform: translateX(-50%);
  transition: width var(--dur-md) var(--ease-spring);
  border-radius: 2px;
}

.nav-link:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-link.active { color: var(--blue-700); }
.nav-link.active::after { width: 20px; }

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

.lang-switcher {
  display: flex;
  padding: 3px;
  gap: 2px;
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}

.lang-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-radius: var(--r-pill);
  transition: background var(--dur-sm) var(--ease-out), color var(--dur-sm) var(--ease-out);
}

.lang-btn:hover { color: var(--blue-700); }
.lang-btn.active {
  background: var(--grad-blue);
  color: var(--white);
  box-shadow: var(--sh-blue-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--dur-sm) var(--ease-out);
}

.hamburger:hover { background: var(--blue-50); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-md) var(--ease-spring), opacity var(--dur-sm) var(--ease-out);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 100px;
  overflow: hidden;
  background: var(--grad-hero);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(14,165,233,0.15) 1px, transparent 0);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 45%, #000 0%, transparent 75%);
  z-index: -1;
  opacity: 0.55;
}

.hero::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  left: -200px;
  bottom: -400px;
  background: radial-gradient(circle, rgba(56,189,248,0.14), transparent 60%);
  z-index: -2;
  animation: blobDrift 22s var(--ease-inout) infinite;
}

@keyframes blobDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(200px, -100px) scale(1.1); }
}

.hero__layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}

.hero__content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn var(--dur-xl) var(--ease-out) forwards;
}
.hero__content > *:nth-child(1) { animation-delay: 100ms; }
.hero__content > *:nth-child(2) { animation-delay: 240ms; }
.hero__content > *:nth-child(3) { animation-delay: 380ms; }
.hero__content > *:nth-child(4) { animation-delay: 520ms; }
.hero__content > *:nth-child(5) { animation-delay: 660ms; }

@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: var(--sh-xs);
}

.hero__badge::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), transparent 40%),
    var(--grad-blue);
  box-shadow: 0 0 0 3px rgba(14,165,233,.12);
}

.hero__title {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 24px 0 22px;
  color: var(--ink);
}

.hero__title .grad {
  --hero-title-gradient: linear-gradient(135deg, #0EA5E9 0%, #0369A1 60%, #082F49 100%);
  color: #0369A1;
  position: relative;
  display: inline-block;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title .grad {
    background: var(--hero-title-gradient);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.hero__title .grad::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px 0;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8' preserveAspectRatio='none'><path d='M2 5 Q 25 0 50 4 T 100 5 T 150 4 T 198 5' stroke='%230EA5E9' stroke-width='2.5' fill='none' stroke-linecap='round'/></svg>") center/100% 100% no-repeat;
  opacity: 0.6;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.175rem);
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 0 34px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat__number {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.stat__label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.01em;
}

/* Hero showcase (right side: logo + floating pills, no card) */
.hero__logo-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 620px;
  margin: 0 auto;
  margin-top: -8px;
}

.hero__logo-showcase::before,
.hero__logo-showcase::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(14,165,233,0.12);
  pointer-events: none;
}

.hero__logo-showcase::after {
  inset: 26%;
  border-color: rgba(14,165,233,0.10);
}

.hero__logo-card {
  position: absolute;
  inset: 2%;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
  padding: 0;
  animation: logoBreath 6s var(--ease-inout) infinite;
}

/* Subtle blue halo behind the logo — replaces the old white card */
.hero__logo-card::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,165,233,0.14) 0%, rgba(56,189,248,0.06) 45%, transparent 70%);
  filter: blur(28px);
  z-index: 0;
  animation: haloPulse 5s var(--ease-inout) infinite;
}

.hero__logo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes logoBreath {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

@keyframes haloPulse {
  0%,100% { opacity: 0.65; transform: scale(1); }
  50%     { opacity: 1;    transform: scale(1.08); }
}

/* Floating pills around logo */
.hero__float {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  z-index: 3;
  animation: floatY 7s var(--ease-inout) infinite;
}

.hero__float svg {
  width: 20px; height: 20px;
  color: var(--blue-600);
  flex-shrink: 0;
}

.hero__float--bpo   { top: 4%;    left: 22%;  animation-delay: 0s;   }
.hero__float--globe { top: 18%;   right: -4%; animation-delay: 1.2s; }
.hero__float--check { bottom: 14%; left: 24%; animation-delay: 2.4s; }

@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-16px); }
}

/* =========================================================
   SOBRE
   ========================================================= */
.sobre { background: var(--white); }

.sobre__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sobre__card {
  position: relative;
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition:
    transform var(--dur-md) var(--ease-spring),
    box-shadow var(--dur-md) var(--ease-out),
    border-color var(--dur-md) var(--ease-out);
  overflow: hidden;
}

.sobre__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-blue);
  opacity: 0;
  transition: opacity var(--dur-md) var(--ease-out);
}

.sobre__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: var(--blue-200);
}

.sobre__card:hover::before { opacity: 1; }

.sobre__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  transition: background var(--dur-md) var(--ease-out), transform var(--dur-md) var(--ease-spring), color var(--dur-md) var(--ease-out);
}

.sobre__card:hover .sobre__icon {
  background: var(--grad-blue);
  color: var(--white);
  transform: rotate(-6deg) scale(1.06);
}

.sobre__icon svg { width: 28px; height: 28px; }

.sobre__card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.sobre__card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.975rem;
}

/* =========================================================
   EMPRESA (about the company)
   ========================================================= */
.empresa {
  background: var(--surface-soft);
  position: relative;
  overflow: hidden;
}

.empresa__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(720px 420px at 92% -10%, rgba(14,165,233,.10), transparent 60%),
    radial-gradient(620px 420px at -5% 110%, rgba(56,189,248,.08), transparent 60%);
}

.empresa .container { position: relative; z-index: 1; }

.empresa__body {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 72px;
  align-items: start;
}

.empresa__narrative {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.empresa__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
}

.empresa__lead strong {
  color: var(--blue-700);
  font-weight: 700;
}

.empresa__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.empresa__highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.empresa__highlight {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.empresa__highlight-num {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}

.empresa__highlight-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
}

.empresa__pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pillar {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition:
    transform var(--dur-md) var(--ease-spring),
    border-color var(--dur-md) var(--ease-out),
    box-shadow var(--dur-md) var(--ease-out);
}

.pillar::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--grad-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-md) var(--ease-out);
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--blue-200);
  box-shadow: var(--sh-md);
}

.pillar:hover::before { transform: scaleX(1); }

.pillar--wide { grid-column: span 2; }

.pillar__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  transition:
    background var(--dur-md) var(--ease-out),
    color var(--dur-md) var(--ease-out),
    transform var(--dur-md) var(--ease-spring);
}

.pillar:hover .pillar__icon {
  background: var(--grad-blue);
  color: var(--white);
  transform: rotate(-6deg) scale(1.05);
}

.pillar__icon svg { width: 24px; height: 24px; }

.pillar__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pillar__title {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.pillar__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================================================
   FUNDADOR (about the founder)
   ========================================================= */
.fundador {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.fundador__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 400px at 10% 20%, rgba(14,165,233,.07), transparent 60%),
    radial-gradient(500px 350px at 90% 80%, rgba(56,189,248,.05), transparent 60%);
}

.fundador .container { position: relative; z-index: 1; }

.fundador__body {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: center;
}

.fundador__photo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.fundador__photo-card {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 4px solid var(--white);
  outline: 2px solid var(--blue-200);
  outline-offset: 4px;
}

.fundador__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.fundador__name-plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.fundador__name {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.fundador__role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fundador__linkedin {
  width: 42px;
  height: 42px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  transition:
    background var(--dur-sm) var(--ease-out),
    color var(--dur-sm) var(--ease-out),
    transform var(--dur-md) var(--ease-spring),
    border-color var(--dur-sm) var(--ease-out),
    box-shadow var(--dur-sm) var(--ease-out);
}

.fundador__linkedin:hover {
  background: var(--grad-blue);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}

.fundador__linkedin svg {
  width: 18px;
  height: 18px;
}

.fundador__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fundador__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: var(--ink);
  font-weight: 500;
}

.fundador__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
}

.fundador__credentials {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.fundador__credential {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 500;
}

.fundador__credential svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--blue-500);
}

/* =========================================================
   BPO (diagram + text)
   ========================================================= */
.bpo {
  background: var(--surface-soft);
  position: relative;
  overflow: hidden;
}

.bpo__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 500px at 90% 10%, rgba(14,165,233,.08), transparent 60%),
    radial-gradient(500px 400px at 5% 80%, rgba(56,189,248,.07), transparent 60%);
  pointer-events: none;
}

.bpo__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.bpo__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.bpo__diagram {
  position: relative;
  width: 440px;
  height: 440px;
  max-width: 100%;
  display: grid;
  place-items: center;
}

.bpo__diagram::before,
.bpo__diagram::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px dashed var(--blue-200);
}

.bpo__diagram::after {
  inset: 22%;
  border-style: solid;
  border-color: var(--blue-100);
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

.bpo__center {
  position: relative;
  z-index: 2;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
}

.bpo__center-logo {
  width: 85%;
  height: auto;
  object-fit: contain;
}

.bpo__center span {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bpo__center small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 4px;
}

.bpo__orbit { position: absolute; inset: 8%; z-index: 1; animation: slowSpin 22s linear infinite; }

.bpo__node {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 10px 14px 8px;
  background: transparent;
  border: none;
  border-radius: var(--r-md);
  box-shadow: none;
  min-width: 100px;
  transition: color var(--dur-sm) var(--ease-out);
}

.bpo__node:hover svg {
  color: var(--blue-500);
  transform: scale(1.15);
}

.bpo__node svg { width: 24px; height: 24px; color: var(--blue-600); }
.bpo__node span {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-align: center;
}

.bpo__orbit--1 .bpo__node { animation: counterSpin 22s linear infinite; }
.bpo__orbit--1 .bpo__node:nth-child(1) { top: 0%;     left: 50%; }
.bpo__orbit--1 .bpo__node:nth-child(2) { top: 34.5%;  left: 97.5%; }
.bpo__orbit--1 .bpo__node:nth-child(3) { top: 90.5%;  left: 79.4%; }
.bpo__orbit--1 .bpo__node:nth-child(4) { top: 90.5%;  left: 20.6%; }
.bpo__orbit--1 .bpo__node:nth-child(5) { top: 34.5%;  left: 2.5%; }

@keyframes counterSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

.bpo__text .bpo__lead {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.bpo__list {
  display: grid;
  gap: 14px;
}

.bpo__list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: transform var(--dur-sm) var(--ease-out), border-color var(--dur-sm) var(--ease-out), box-shadow var(--dur-sm) var(--ease-out);
}

.bpo__list li:hover {
  border-color: var(--blue-300);
  box-shadow: var(--sh-sm);
  transform: translateX(4px);
}

.bpo__list li svg {
  width: 20px; height: 20px;
  color: var(--blue-600);
  padding: 3px;
  background: var(--blue-50);
  border-radius: 50%;
  margin-top: 2px;
}

.bpo__list li span {
  color: var(--text);
  font-size: 0.975rem;
  font-weight: 500;
}

/* =========================================================
   VANTAGENS (6 cards)
   ========================================================= */
.vantagens { background: var(--white); }

.vantagens__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vantagem-card {
  position: relative;
  padding: 36px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition:
    transform var(--dur-md) var(--ease-spring),
    box-shadow var(--dur-md) var(--ease-out),
    border-color var(--dur-md) var(--ease-out);
}

.vantagem-card::before {
  content: "";
  position: absolute;
  inset: auto -50% -50% auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(14,165,233,0.14), transparent 70%);
  opacity: 0;
  transition: opacity var(--dur-md) var(--ease-out);
}

.vantagem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--blue-200);
}

.vantagem-card:hover::before { opacity: 1; }

.vantagem-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-700);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: transform var(--dur-md) var(--ease-spring), background var(--dur-md) var(--ease-out), color var(--dur-md) var(--ease-out);
}

.vantagem-card:hover .vantagem-card__icon {
  background: var(--grad-blue);
  color: var(--white);
  transform: rotate(-8deg) scale(1.08);
}

.vantagem-card__icon svg { width: 26px; height: 26px; }

.vantagem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.vantagem-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* =========================================================
   SERVIÇOS — NO TABS · stacked + alternating
   ========================================================= */
.servicos {
  background: var(--surface-soft);
  position: relative;
  overflow: hidden;
}

.servicos::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  right: -150px; top: 15%;
  background: radial-gradient(circle, rgba(14,165,233,0.10), transparent 60%);
  pointer-events: none;
}

/* Tab nav hidden — defensive (markup will be removed, but keep for safety) */
.tabs__nav { display: none !important; }

.servicos__tabs { width: 100%; position: relative; z-index: 1; }

.tabs__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  counter-reset: svc;
}

.tab-panel,
.tab-panel[hidden] {
  display: block !important;     /* force every panel visible */
}

.service-detail {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 52px 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-sm);
  counter-increment: svc;
  overflow: hidden;
  transition:
    box-shadow var(--dur-md) var(--ease-out),
    border-color var(--dur-md) var(--ease-out);
}

.service-detail:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--blue-200);
}

.service-detail::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 28px;
  right: 48px;
  font-family: var(--ff-display);
  font-size: 9rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(14,165,233,0.14) 0%, rgba(14,165,233,0) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 0;
}

/* Alternate layout on middle panel */
#contab .service-detail {
  grid-template-columns: 1fr 1.1fr;
  direction: rtl;
}
#contab .service-detail > * { direction: ltr; }
#contab .service-detail::before { right: auto; left: 48px; }

.service-detail__text { position: relative; z-index: 1; }

.service-detail__text h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 16px;
  color: var(--ink);
}

.service-detail__text p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
  font-size: 1rem;
}

.service-list { display: grid; gap: 10px; }

.service-list li {
  position: relative;
  padding: 10px 12px 10px 42px;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
  color: var(--text);
  transition: background var(--dur-sm) var(--ease-out), transform var(--dur-sm) var(--ease-out);
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background-color: var(--blue-50);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230284C7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: background-color var(--dur-sm) var(--ease-out), transform var(--dur-md) var(--ease-spring);
}

.service-list li:hover { background: var(--blue-50); transform: translateX(4px); }

.service-list li:hover::before {
  background-color: var(--blue-500);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  transform: translateY(-50%) scale(1.12);
}

.service-detail__visual { position: relative; z-index: 1; }

.service-kpi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.kpi-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 24px 34px;
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-md) var(--ease-spring), box-shadow var(--dur-md) var(--ease-out), border-color var(--dur-md) var(--ease-out);
}

.kpi-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-blue);
}

.kpi-card:hover {
  transform: translateX(6px) translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--blue-300);
}

.kpi-value {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
}

.kpi-label {
  font-family: var(--ff-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  max-width: 55%;
  line-height: 1.35;
}

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.depoimentos {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.depoimentos__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 500px at 10% 50%, rgba(14,165,233,.08), transparent 60%),
    radial-gradient(500px 400px at 90% 30%, rgba(56,189,248,.06), transparent 60%);
  pointer-events: none;
}

.testimonials-slider {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  padding: 12px;
}

.testimonials-track {
  display: flex;
  gap: 40px;
  transition: transform 700ms var(--ease-inout);
  will-change: transform;
}

.testimonial-card {
  position: relative;
  flex: 0 0 100%;
  padding: 56px 56px 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-md);
  overflow: hidden;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 20px;
  right: 56px;
  font-family: "Sora", serif;
  font-size: 10rem;
  line-height: 1;
  color: var(--blue-100);
  font-weight: 800;
  pointer-events: none;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--blue-500);
}

.testimonial-card__stars svg { width: 20px; height: 20px; }

.testimonial-card blockquote { margin: 0 0 28px; }

.testimonial-card blockquote p {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: var(--sh-blue-sm);
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--ink);
  font-weight: 700;
}

.testimonial-card__author span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 2px;
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 40px;
}

.ctrl-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  transition: background var(--dur-sm) var(--ease-out), transform var(--dur-md) var(--ease-spring), box-shadow var(--dur-md) var(--ease-out), color var(--dur-sm) var(--ease-out);
}

.ctrl-btn:hover {
  background: var(--grad-blue);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: var(--sh-blue-sm);
}

.ctrl-btn svg { width: 20px; height: 20px; }

.testimonials-dots { display: flex; gap: 10px; align-items: center; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-2);
  cursor: pointer;
  transition: background var(--dur-sm) var(--ease-out), width var(--dur-md) var(--ease-spring);
  border: 0;
}

.dot.active {
  background: var(--blue-500);
  width: 32px;
  border-radius: var(--r-pill);
}

/* =========================================================
   CONTATO
   ========================================================= */
.contato {
  background: var(--surface-soft);
  position: relative;
}

.contato__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contato__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur-md) var(--ease-spring), box-shadow var(--dur-md) var(--ease-out), border-color var(--dur-md) var(--ease-out);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--blue-200);
}

.contact-item__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-700);
  display: grid;
  place-items: center;
  transition: background var(--dur-md) var(--ease-out), color var(--dur-md) var(--ease-out);
}

.contact-item:hover .contact-item__icon {
  background: var(--grad-blue);
  color: var(--white);
}

.contact-item__icon svg { width: 26px; height: 26px; }

.contact-item__icon--whatsapp {
  background: linear-gradient(135deg, #DCFCE7, #BBF7D0);
  color: #16A34A;
}

.contact-item:hover .contact-item__icon--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
}

.contact-item__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-item__value {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}

.contact-item__value--whatsapp { color: #16A34A; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-pill);
  margin-top: 8px;
  box-shadow: 0 6px 20px rgba(37,211,102,.25);
  transition: transform var(--dur-md) var(--ease-spring), box-shadow var(--dur-md) var(--ease-out);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(37,211,102,.35);
}

.btn-whatsapp svg { width: 20px; height: 20px; }

/* Form */
.contato__form {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  background: var(--off);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color var(--dur-sm) var(--ease-out), background var(--dur-sm) var(--ease-out), box-shadow var(--dur-sm) var(--ease-out);
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #94A3B8; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14,165,233,0.12);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-error {
  font-size: 13px;
  color: #DC2626;
  min-height: 18px;
}

.form-success {
  padding: 16px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #047857;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}

/* =========================================================
   LOCALIZAÇÃO
   ========================================================= */
.localizacao { background: var(--white); }

.localizacao__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.localizacao__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.address-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--dur-md) var(--ease-spring), box-shadow var(--dur-md) var(--ease-out), border-color var(--dur-md) var(--ease-out);
}

.address-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  border-color: var(--blue-200);
}

.address-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
  color: var(--blue-700);
  display: grid;
  place-items: center;
  transition: background var(--dur-md) var(--ease-out), color var(--dur-md) var(--ease-out);
}

.address-card:hover .address-card__icon {
  background: var(--grad-blue);
  color: var(--white);
}

.address-card__icon svg { width: 24px; height: 24px; }

.address-card strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.address-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-link {
  color: var(--blue-700);
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-sm) var(--ease-out), color var(--dur-sm) var(--ease-out);
}

.contact-link:hover {
  color: var(--blue-800);
  border-color: var(--blue-400);
}

.localizacao__map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--border);
}

.localizacao__map iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(1.1);
}

/* =========================================================
   FOOTER (dark navy)
   ========================================================= */
.footer {
  background: var(--grad-ink);
  color: #CBD5E1;
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  left: -150px; top: -200px;
  background: radial-gradient(circle, rgba(14,165,233,0.12), transparent 60%);
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  right: -100px; bottom: -150px;
  background: radial-gradient(circle, rgba(56,189,248,0.08), transparent 60%);
  pointer-events: none;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  position: relative;
  z-index: 1;
}

.footer__logo {
  height: 46px;
  width: auto;
  margin-bottom: 20px;
}

.footer__brand p {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #CBD5E1;
  display: grid;
  place-items: center;
  transition: background var(--dur-sm) var(--ease-out), color var(--dur-sm) var(--ease-out), transform var(--dur-md) var(--ease-spring), border-color var(--dur-sm) var(--ease-out);
}

.social-link:hover {
  background: var(--grad-blue);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-3px) rotate(-4deg);
}

.social-link svg { width: 18px; height: 18px; }

.footer__links h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer__links ul {
  display: grid;
  gap: 10px;
}

.footer__links a,
.footer__links span {
  color: #94A3B8;
  font-size: 0.925rem;
  transition: color var(--dur-sm) var(--ease-out), transform var(--dur-sm) var(--ease-out);
  display: inline-block;
}

.footer__links a:hover {
  color: var(--blue-300);
  transform: translateX(3px);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  position: relative;
  z-index: 1;
}

.footer__bottom p {
  color: #64748B;
  font-size: 0.875rem;
  text-align: center;
}

/* =========================================================
   WHATSAPP FLOATING
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.whatsapp-float {
  --wpp-icon-size: 28px;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--z-float);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(37,211,102,.35);
  transition:
    transform var(--dur-md) var(--ease-spring),
    box-shadow var(--dur-md) var(--ease-out),
    bottom var(--dur-md) var(--ease-out);
  animation: wppPulse 2.6s var(--ease-inout) infinite;
}

@property --btt-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.back-to-top {
  position: fixed;
  right: 100px;
  bottom: 26px;
  z-index: var(--z-float);
  width: 56px; height: 56px;
  border-radius: 50%;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: var(--white);
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 120% at 30% 15%, rgba(255,255,255,.22), transparent 55%),
    linear-gradient(140deg, #0284C7 0%, #0369A1 55%, #075985 100%);
  box-shadow:
    0 14px 34px rgba(3, 105, 161, .38),
    0 4px 10px rgba(3, 105, 161, .22),
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -1px 0 rgba(2, 44, 71, .35);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.92);
  pointer-events: none;
  transition:
    opacity 480ms var(--ease-out),
    transform 560ms var(--ease-spring),
    box-shadow var(--dur-md) var(--ease-out);
  isolation: isolate;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow:
    0 20px 48px rgba(3, 105, 161, .55),
    0 6px 16px rgba(3, 105, 161, .32),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -1px 0 rgba(2, 44, 71, .35);
}

.back-to-top.is-visible:active {
  transform: translateY(2px) scale(.94);
  transition-duration: 140ms;
}

/* Rotating conic shimmer ring — reveals on hover */
.back-to-top__ring {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  padding: 1.5px;
  background: conic-gradient(
    from var(--btt-angle),
    transparent 0deg,
    rgba(186, 230, 253, .95) 40deg,
    rgba(56, 189, 248, .6) 90deg,
    transparent 160deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 380ms var(--ease-out);
  animation: btt-spin 2.6s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes btt-spin { to { --btt-angle: 360deg; } }

.back-to-top:hover .back-to-top__ring { opacity: 1; }

/* Soft halo — breathes outward on hover */
.back-to-top__glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 55%, rgba(125, 211, 252, .7), transparent 62%);
  opacity: 0;
  transform: scale(.55);
  transition:
    opacity 420ms var(--ease-out),
    transform 720ms var(--ease-out);
  pointer-events: none;
  filter: blur(2px);
  z-index: 1;
}

.back-to-top:hover .back-to-top__glow {
  opacity: .9;
  transform: scale(1.6);
}

/* Icon marquee — first arrow exits top, second rises from below */
.back-to-top__icons {
  position: relative;
  width: 22px;
  height: 22px;
  overflow: hidden;
  z-index: 3;
}

.back-to-top__track {
  display: flex;
  flex-direction: column;
  transition: transform 520ms var(--ease-spring);
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .15));
}

.back-to-top__track svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.back-to-top:hover .back-to-top__track {
  transform: translateY(-22px);
}

@media (max-width: 560px) {
  .back-to-top {
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
  }
  .back-to-top__icons { width: 18px; height: 18px; }
  .back-to-top__track svg { width: 18px; height: 18px; }
  .back-to-top:hover .back-to-top__track { transform: translateY(-18px); }
  .whatsapp-float {
    right: 14px;
    bottom: 18px;
    width: 52px;
    height: 52px;
    --wpp-icon-size: 24px;
  }
  .back-to-top.is-visible + .whatsapp-float { bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top__ring,
  .back-to-top__glow,
  .back-to-top__track {
    transition: opacity var(--dur-sm) linear;
    animation: none;
  }
  .back-to-top { transform: none; }
  .back-to-top.is-visible { transform: none; }
  .back-to-top:hover .back-to-top__ring { opacity: 0; }
  .back-to-top:hover .back-to-top__glow { opacity: 0; transform: scale(1); }
  .back-to-top:hover .back-to-top__track { transform: none; }
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 22px 54px rgba(37,211,102,.45);
  animation: none;
}

.whatsapp-float svg { width: var(--wpp-icon-size); height: var(--wpp-icon-size); }

@keyframes wppPulse {
  0%,100% { box-shadow: 0 16px 40px rgba(37,211,102,.35), 0 0 0 0 rgba(37,211,102,.35); }
  70%     { box-shadow: 0 16px 40px rgba(37,211,102,.35), 0 0 0 16px rgba(37,211,102,0); }
}

/* =========================================================
   REVEAL (IntersectionObserver adds .visible)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }
.reveal:nth-child(6) { transition-delay: 400ms; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero__layout { grid-template-columns: 1fr; gap: 48px; }
  .hero__logo-showcase { max-width: 420px; }
  .bpo__content { grid-template-columns: 1fr; gap: 56px; }
  .service-detail,
  #contab .service-detail { grid-template-columns: 1fr; direction: ltr; }
  #contab .service-detail > * { direction: ltr; }
  .contato__grid,
  .localizacao__grid { grid-template-columns: 1fr; }
  .sobre__grid { grid-template-columns: repeat(2, 1fr); }
  .vantagens__grid { grid-template-columns: repeat(2, 1fr); }
  .empresa__body { grid-template-columns: 1fr; gap: 48px; }
  .fundador__body { grid-template-columns: 1fr; gap: 48px; }
  .fundador__photo-wrapper { flex-direction: row; gap: 28px; }
}

@media (max-width: 860px) {
  .section { padding: 88px 0; }

  .navbar { inset: 10px 12px auto 12px; padding: 5px 12px; }
  .navbar__nav {
    position: fixed;
    top: 60px; left: 12px; right: 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 18px;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--sh-lg);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur-md) var(--ease-out), opacity var(--dur-md) var(--ease-out);
  }
  .navbar__nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: 12px 16px; width: 100%; text-align: left; }
  .hamburger { display: inline-flex; }

  .navbar__logo { height: 40px; }
  .navbar__brand:hover .navbar__logo { transform: scale(1.05); }

  .hero { padding: 130px 0 70px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .hero__float--check { bottom: 4%; }

  .bpo__diagram { width: 340px; height: 340px; }
  .bpo__center { width: 140px; height: 140px; }
  .bpo__center span { font-size: 1.5rem; }

  .service-detail { padding: 36px 28px; gap: 36px; }
  .service-detail::before { font-size: 5.5rem; top: 20px; right: 24px; }
  #contab .service-detail::before { left: 24px; }

  .contato__form { padding: 28px; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }

  .testimonial-card { padding: 38px 28px 32px; }
  .testimonial-card::before { font-size: 6rem; right: 20px; }
}

@media (max-width: 560px) {
  .sobre__grid,
  .vantagens__grid { grid-template-columns: 1fr; }
  .empresa__pillars { grid-template-columns: 1fr; }
  .fundador__photo-wrapper { flex-direction: column; }
  .fundador__photo-card { width: 220px; height: 220px; }
  .pillar--wide { grid-column: auto; }
  .empresa__highlights { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero__title .grad {
    --hero-title-gradient: linear-gradient(100deg, #38BDF8 0%, #0EA5E9 42%, #7DD3FC 66%, #0284C7 84%, #075985 100%);
  }
  .hero__stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .hero__stats .stat:last-child { grid-column: span 2; }
  .hero__float--bpo   { left: -4%; top: 2%; }
  .hero__float--globe { top: 2%; right: -4%; }
  .hero__float--check {
    bottom: -2%;
    left: 0;
    right: 0;
    width: fit-content;
    max-width: calc(100% - 40px);
    margin-inline: auto;
    gap: 8px;
    padding: 12px 16px;
    justify-content: center;
    white-space: nowrap;
  }
  .bpo__diagram { width: 100%; max-width: 300px; height: 300px; }
  .bpo__center { width: 120px; height: 120px; }
  .bpo__center span { font-size: 1.25rem; }
  .bpo__node { min-width: 90px; padding: 10px 10px 8px; }
  .bpo__node span { font-size: 10px; }
  .service-detail { padding: 56px 24px 30px; gap: 32px; }
  .service-detail::before { top: 16px; right: 20px; }
  #contab .service-detail::before { left: 20px; }
  #contab .service-detail__text { padding-top: 20px; }
  .kpi-label { max-width: 60%; }
  .contato__form { padding: 22px; }

  .navbar__logo { height: 36px; }
  .navbar__brand:hover .navbar__logo { transform: scale(1.05); }
  .navbar__brand-name { font-size: 16px; }
  .navbar__brand-tag { display: none; }
}

@media (max-width: 430px) {
  .hero__float--check {
    width: fit-content;
    max-width: calc(100% - 28px);
    box-sizing: border-box;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__content > * { opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; }
}
