/* ═══════════════════════════════════════════════════════════════════════
   Power Tuning — Design System
   Single-file monolithic CSS — BEM + CSS variables
   Palette: navy #191F70 + brand blue #1E2EB8 + gold #D9B81C + mustard #CC9A1A
   ═══════════════════════════════════════════════════════════════════════ */

/* ───── Tokens ───── */
:root {
  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Layout */
  --nav-h: 72px;
  --container: 1340px;
  --container-wide: 1320px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .4s cubic-bezier(.4, 0, .2, 1);

  /* Brand palette — logo: navy #191F70 · blue #1E2EB8 · gold #D9B81C · mustard #CC9A1A */
  --primary: #1E2EB8;           /* azul primário — cilindros da logo */
  --primary-hover: #16229A;
  --primary-light: #3142D0;
  --navy: #191F70;              /* azul-marinho — texto "power tuning" */
  --brand-blue: #2A3CC0;        /* azul — cilindros do banco de dados */
  --brand-blue-light: #4D5FE0;  /* azul claro — highlight */
  --cyan: #2A3CC0;              /* alias compat → brand-blue */
  --accent: #D9B81C;            /* dourado — raio da logo */
  --accent-hover: #CC9A1A;      /* mostarda — variante hover */

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #06B6D4;

  /* Surfaces — light (default) */
  --bg: #FFFFFF;
  --bg-2: #F4F7FD;
  --bg-3: #ECF1FA;
  --bg-card: #FFFFFF;
  --bg-raised: rgba(25, 31, 112, .04);
  --bg-overlay: rgba(5, 8, 20, .50);

  /* Text */
  --text: #0A0E1F;
  --text-2: #1F2937;
  --text-3: #475569;
  --muted: #64748B;
  --muted-2: #94A3B8;

  /* Borders */
  --border: #E4E8F0;
  --border-2: #D1D9E4;
  --border-strong: #B4BFD1;

  /* Nav */
  --nav-bg: rgba(255, 255, 255, .85);
  --nav-bg-scrolled: rgba(255, 255, 255, .95);
  --nav-border: rgba(228, 232, 240, .6);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #191F70 0%, #1E2EB8 100%);
  --grad-premium: linear-gradient(135deg, #191F70 0%, #2A3CC0 100%);
  --grad-hero: radial-gradient(ellipse at top, rgba(25, 31, 112, .10) 0%, rgba(42, 60, 192, .05) 50%, transparent 75%);
  --grad-text: linear-gradient(135deg, #191F70 0%, #2A3CC0 50%, #4D5FE0 100%);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 14, 31, .06), 0 1px 2px rgba(10, 14, 31, .04);
  --shadow: 0 4px 20px rgba(10, 14, 31, .08);
  --shadow-md: 0 8px 32px rgba(10, 14, 31, .10);
  --shadow-lg: 0 16px 48px rgba(10, 14, 31, .14);
  --shadow-xl: 0 24px 64px rgba(10, 14, 31, .18);
  --shadow-brand: 0 8px 32px rgba(30, 46, 184, .28);
  --shadow-brand-lg: 0 16px 48px rgba(30, 46, 184, .32);
  --shadow-navy: 0 8px 32px rgba(25, 31, 112, .24);
  --shadow-blue: 0 8px 32px rgba(42, 60, 192, .28);
}

[data-theme="dark"] {
  --bg: #060B1C;
  --bg-2: #0B1227;
  --bg-3: #101930;
  --bg-card: #0C1428;
  --bg-raised: rgba(42, 60, 192, .06);
  --bg-overlay: rgba(0, 0, 0, .72);

  --text: #F1F5F9;
  --text-2: #E2E8F0;
  --text-3: #CBD5E1;
  --muted: #94A3B8;
  --muted-2: #64748B;

  --border: #162040;
  --border-2: #1E2D56;
  --border-strong: #273A6E;

  --nav-bg: rgba(6, 11, 28, .82);
  --nav-bg-scrolled: rgba(6, 11, 28, .94);
  --nav-border: rgba(22, 32, 64, .8);

  --primary: #5D6FE5;
  --primary-hover: #4D5FE0;
  --primary-light: #A5B0F0;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .45);
  --shadow: 0 4px 20px rgba(0, 0, 0, .55);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .60);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .65);
  --shadow-xl: 0 24px 64px rgba(0, 0, 0, .70);
  --shadow-brand: 0 8px 32px rgba(30, 46, 184, .38);
  --shadow-brand-lg: 0 16px 48px rgba(30, 46, 184, .42);
  --shadow-navy: 0 8px 32px rgba(25, 31, 112, .40);
  --shadow-blue: 0 8px 32px rgba(42, 60, 192, .38);
}

/* ───── Reset ───── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 4vw + 1rem, 4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1vw + .75rem, 1.75rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; color: var(--text-3); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; color: var(--text-3); }
code, pre { font-family: var(--font-mono); font-size: .925em; }

/* Checkbox / radio reset (pitfall protection) */
input[type="checkbox"], input[type="radio"] {
  padding: 0; width: 1rem; height: 1rem; flex-shrink: 0;
  border: none; background: none;
}

/* ───── Container ───── */
.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 1.5rem;
}
.container--wide { max-width: var(--container-wide); }

/* ───── Utilities ───── */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-blue);
  background: rgba(42, 60, 192, .07);
  border: 1px solid rgba(42, 60, 192, .18);
  border-radius: 100px;
}
[data-theme="dark"] .eyebrow {
  color: var(--brand-blue-light);
  background: rgba(59, 125, 232, .10);
  border-color: rgba(59, 125, 232, .22);
}
.eyebrow i { font-size: .85rem; }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-title .eyebrow { margin-bottom: 1rem; }
.section-title p { font-size: 1.125rem; color: var(--text-3); }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .875rem 1.5rem;
  font-size: .95rem; font-weight: 600;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn i { font-size: 1.05em; }
.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-brand-lg);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn--ghost {
  background: var(--bg-raised);
  color: var(--text);
}
.btn--ghost:hover {
  background: var(--bg-3);
  color: var(--text);
  transform: translateY(-2px);
}
.btn--accent {
  background: var(--accent);
  color: #1a1000;
  font-weight: 700;
}
.btn--accent:hover {
  background: var(--accent-hover);
  color: #1a1000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 184, 28, .40);
}
.btn--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand-blue) 100%);
  color: #fff;
  box-shadow: var(--shadow-navy);
}
.btn--navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
  color: #fff;
}
.btn--sm { padding: .6rem 1.1rem; font-size: .85rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }

/* ───── Navbar ───── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: all var(--transition);
}
#navbar.scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--nav-border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  height: 100%; max-width: var(--container-wide);
  margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.15rem;
  color: var(--text); letter-spacing: -.02em;
}
.nav-logo:hover { color: var(--text); }
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--grad-brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: var(--shadow-brand);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-logo-text span:first-child { font-weight: 800; font-size: 1.05rem; }
.nav-logo-text span:last-child { font-size: .7rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.nav-logo-img { max-height: 38px; width: auto; display: block; }
:root:not([data-theme="dark"]) .nav-logo-img--dark  { display: none; }
:root[data-theme="dark"]       .nav-logo-img--light { display: none; }
.nav-links {
  display: flex; align-items: center; gap: .25rem;
  flex: 1; justify-content: center;
}
.nav-link {
  position: relative;
  padding: .6rem .85rem;
  font-size: .9rem; font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: .35rem;
  cursor: pointer;
}
.nav-link:hover { color: var(--primary); background: var(--bg-raised); }
.nav-link i.bi-chevron-down { font-size: .75rem; opacity: .7; transition: transform var(--transition); }
.nav-dropdown { position: relative; }
.nav-dropdown:hover > .nav-link i.bi-chevron-down { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-4px);
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: .5rem; padding-top: calc(.5rem + 8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 150ms;
  z-index: 110;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity var(--transition), transform var(--transition), visibility 0s linear 0s;
}
.nav-dropdown-menu--wide { min-width: 340px; }
.nav-dropdown-item {
  display: flex; flex-direction: column; gap: .2rem;
  padding: .7rem .85rem;
  border-radius: 8px;
  color: var(--text-2);
  font-size: .9rem; font-weight: 500;
  transition: background var(--transition);
}
.nav-dropdown-item:hover { background: var(--bg-raised); color: var(--primary); }
.nav-dropdown-item small { font-size: .75rem; color: var(--muted); font-weight: 400; }
.nav-dropdown-item span { display: flex; align-items: center; gap: .45rem; }
.nav-favicon { width: 16px; height: 16px; border-radius: 3px; object-fit: contain; flex-shrink: 0; }
.nav-dropdown-divider {
  height: 1px; background: var(--border); margin: .4rem .25rem;
}
.nav-dropdown-section {
  padding: .6rem 1rem .2rem;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted);
}
.nav-actions {
  display: flex; align-items: center; gap: .5rem;
}
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 100px;
  color: var(--text-2);
  transition: all var(--transition);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.theme-toggle:hover { background: var(--bg-raised); color: var(--primary); }
.lang-switcher { position: relative; }
.lang-btn-current {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .8rem;
  border-radius: 100px;
  color: var(--text-2);
  font-size: .85rem; font-weight: 500;
  transition: all var(--transition);
}
.lang-btn-current:hover { background: var(--bg-raised); color: var(--primary); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 180px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .35rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-4px);
  transition: all var(--transition);
  z-index: 110;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.lang-btn {
  display: flex; align-items: center; gap: .6rem;
  width: 100%; padding: .55rem .7rem;
  border-radius: 8px;
  color: var(--text-2);
  font-size: .85rem; font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}
.lang-btn:hover { background: var(--bg-raised); }
.lang-btn .fi { width: 20px; height: 14px; border-radius: 2px; }

/* Theme icon swap */
:root[data-theme='dark'] .icon-moon { display: none; }
:root[data-theme='dark'] .icon-sun { display: inline-block; }
:root:not([data-theme='dark']) .icon-moon { display: inline-block; }
:root:not([data-theme='dark']) .icon-sun { display: none; }

.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 100px;
  color: var(--text);
  font-size: 1.25rem;
  align-items: center; justify-content: center;
}
.mobile-menu-btn:hover { background: var(--bg-raised); }
.nav-mobile-action {
  display: none;
  width: 40px; height: 40px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  align-items: center; justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
}
.nav-mobile-action:hover { background: var(--bg-raised); }
.nav-mobile-action--wa { color: #25D366; }
.nav-mobile-action--chat { color: var(--primary); }

/* ───── Mobile drawer ───── */
#mobileNav {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom) + 80px);
}
#mobileNav.open { transform: translateX(0); }
.mobile-nav-section { margin-bottom: 1rem; }
.mobile-nav-section-title {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin-bottom: .5rem;
  padding: 0 .5rem;
}
.mobile-nav-subsection {
  font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted);
  padding: .7rem .5rem .15rem;
  margin-top: .1rem;
  border-top: 1px solid var(--border);
}
.mobile-nav-section-title + .mobile-nav-subsection,
.mobile-nav-section-title + * + .mobile-nav-subsection:first-of-type {
  border-top: none; padding-top: .2rem; margin-top: 0;
}
.mobile-nav-link {
  display: block;
  padding: .8rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem; font-weight: 500;
  transition: background var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link:active { background: var(--bg-raised); color: var(--primary); }
.mobile-nav-cta {
  margin-top: 1.5rem;
  display: flex; flex-direction: column; gap: .75rem;
}

/* ───── Hero ───── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  /* brand palette — navy(C100M95Y0K30), cobalt(C100M90Y0K10), gold(C0M15Y100K15), deep-gold(C0M25Y100K20) */
  background:
    radial-gradient(ellipse 80% 60% at 10%  0%,  rgba(0,   9, 179, .10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 45%  0%,  rgba(0,  23, 230, .07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 80% 20%,  rgba(217,184,   0, .06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 95% 40%,  rgba(204,153,   0, .04) 0%, transparent 60%);
}
[data-theme="dark"] .hero {
  background: #02040d;
}
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 90% 70% at 10%  0%,  rgba(0,   9, 179, .60) 0%, transparent 65%),
    radial-gradient(ellipse 70% 55% at 45%  0%,  rgba(0,  23, 230, .42) 0%, transparent 65%),
    radial-gradient(ellipse 55% 50% at 80% 25%,  rgba(217,184,   0, .20) 0%, transparent 65%),
    radial-gradient(ellipse 40% 45% at 95% 50%,  rgba(204,153,   0, .13) 0%, transparent 65%),
    linear-gradient(180deg, #060d24 0%, #03061a 60%, #02040d 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 10%, transparent 80%);
}
[data-theme="dark"] .hero-grid { opacity: .25; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  animation: float 14s ease-in-out infinite;
}
.hero-orb-1 {
  top: 10%; left: -5%;
  width: 380px; height: 380px;
  background: rgba(25, 31, 112, .28);    /* logo navy */
}
.hero-orb-2 {
  top: 40%; right: -8%;
  width: 420px; height: 420px;
  background: rgba(42, 60, 192, .22);    /* logo brand blue */
  animation-delay: -4s;
}
.hero-orb-3 {
  bottom: -10%; left: 30%;
  width: 340px; height: 340px;
  background: rgba(217, 184, 28, .15);   /* logo gold */
  animation-delay: -8s;
}
[data-theme="dark"] .hero-orb-1 { background: rgba(0,   9, 179, .65); }  /* navy */
[data-theme="dark"] .hero-orb-2 { background: rgba(0,  23, 230, .50); }  /* cobalt */
[data-theme="dark"] .hero-orb-3 { background: rgba(217,184,   0, .22); } /* gold */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(.95); }
}
.hero-inner { text-align: center; max-width: 880px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8rem; font-weight: 600;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .4); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.75rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: clamp(1.05rem, .5vw + 1rem, 1.35rem);
  color: var(--text-3);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex; gap: .75rem; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}
.hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted);
}
.hero-trust-item {
  display: inline-flex; align-items: center; gap: .5rem;
}
.hero-trust-item i { color: var(--primary); }

/* ───── Hero Carousel ───── */
.hero-carousel {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
  padding: 0;
}
.hc-track {
  display: flex;
  height: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.hc-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hc-slide > .container {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: var(--nav-h);
}
.hc-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(255,255,255,.06) 0%, transparent 65%);
  z-index: 0;
}
/* Per-service: overlay cinza escuro 80% sobre imagem de fundo
   Nova ordem (HTML): resumo, Produtos, Monitoramento, BI, SQL, Oracle, PostgreSQL, MySQL, Azure */
.hc-slide--produtos      { background: url('../img/slide-produtos.jpg') center/cover no-repeat; }  /* pos 1 */
.hc-slide--monitoramento { background: url('../img/slide-ia.jpg') center/cover no-repeat, #B3B3B3; }  /* pos 2 */
.hc-slide--bi            { background: url('../img/slide-bi.jpg') center/cover no-repeat, #0017E6; }        /* pos 3 */
.hc-slide--sql           { background: url('../img/slide-sql.jpg') center/cover no-repeat, #333333; }       /* pos 4 */
.hc-slide--oracle        { background: url('../img/slide-oracle.jpg') center/cover no-repeat, #0009B3; }    /* pos 5 */
.hc-slide--pg            { background: url('../img/slide-postgres.jpg') center/cover no-repeat, #D9B800; }  /* pos 6 */
.hc-slide--mysql         { background: url('../img/slide-mysql.jpg') center/cover no-repeat, #B3B3B3; }     /* pos 7 */
.hc-slide--azure         { background: #0017E6; }  /* cobalt (sem img) — pos 8 */

/* Dark mode: overlay escuro sutil sobre imagens, igual ao resumo */
[data-theme="dark"] .hc-slide--produtos      { background: url('../img/slide-produtos.jpg') center/cover no-repeat; }
[data-theme="dark"] .hc-slide--monitoramento { background: url('../img/slide-ia.jpg') center/cover no-repeat, #4D4D4D; }
[data-theme="dark"] .hc-slide--bi            { background: url('../img/slide-bi.jpg') center/cover no-repeat; }
[data-theme="dark"] .hc-slide--sql           { background: url('../img/slide-sql.jpg') center/cover no-repeat; }
[data-theme="dark"] .hc-slide--oracle        { background: url('../img/slide-oracle.jpg') center/cover no-repeat; }
[data-theme="dark"] .hc-slide--pg            { background: url('../img/slide-postgres.jpg') center/cover no-repeat; }
[data-theme="dark"] .hc-slide--mysql         { background: url('../img/slide-mysql.jpg') center/cover no-repeat; }

/* Content column */
.hc-content { display: flex; flex-direction: column; gap: 1.25rem; }
.hc-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: .35rem .9rem; border-radius: 20px;
  width: fit-content;
}
.hc-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  letter-spacing: -.02em;
}
.hc-title-hl {
  display: block;
  opacity: .82;
  font-weight: 700;
  font-size: .82em;
  margin-top: .2em;
}
.hc-lead {
  font-size: clamp(.92rem, 1.3vw, 1.08rem);
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin: 0;
}
.hc-bullets {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .55rem;
}
.hc-bullets li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .9rem; color: rgba(255,255,255,.88); line-height: 1.5;
}
.hc-bullets li .bi {
  color: #FCD34D; font-size: .82rem;
  flex-shrink: 0; margin-top: .22rem;
}
.hc-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .25rem; }
/* White CTAs for carousel */
.btn--white {
  background: #fff; color: #1a1a2e !important;
  border: 2px solid #fff;
}
.btn--white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }
.btn--outline-white {
  background: transparent; color: #fff !important;
  border: 2px solid rgba(255,255,255,.45);
}
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }
/* WhatsApp branded CTA */
.btn--whatsapp {
  background: #25D366; color: #fff !important;
  border: 2px solid #25D366;
}
.btn--whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; transform: translateY(-2px); }
/* Visual column — big decorative icon */
.hc-visual {
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hc-icon {
  font-size: clamp(180px, 20vw, 320px);
  opacity: .1;
  color: #fff;
  line-height: 1;
  display: block;
  filter: drop-shadow(0 0 80px rgba(255,255,255,.3));
  user-select: none;
}
/* Tech badge grid (replaces big icon in hc-visual) */
.hc-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
  width: 100%;
  max-width: 600px;
}
.hc-tech-grid--lg {
  grid-template-columns: repeat(4, 1fr);
  max-width: 600px;
}
.hc-tech-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  padding: 1.1rem .75rem .85rem;
  transition: transform .2s, background .2s;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 14px;
}
.hc-tech-badge:hover { transform: translateY(-3px); background: rgba(255,255,255,.22); }
.hc-tech-badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.hc-tech-badge span {
  font-size: .68rem;
  color: rgba(255,255,255,.92);
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
}

/* ── Slide de RESUMO institucional (sempre o primeiro) ───────────────────────── */
.hc-slide--resumo { background: url('../img/slide-main.jpg') center/cover no-repeat, #0009B3; }
[data-theme="dark"] .hc-slide--resumo { background: linear-gradient(rgba(0,4,107,.55),rgba(0,4,107,.55)), url('../img/slide-main.jpg') center/cover no-repeat; }
.hc-slide--resumo > .container,
.hc-slide--produtos > .container,
.hc-slide--bi > .container,
.hc-slide--monitoramento > .container,
.hc-slide--sql > .container,
.hc-slide--oracle > .container,
.hc-slide--pg > .container,
.hc-slide--mysql > .container { align-items: end; }
.hc-slide--resumo .hc-visual,
.hc-slide--produtos .hc-visual,
.hc-slide--bi .hc-visual,
.hc-slide--monitoramento .hc-visual,
.hc-slide--sql .hc-visual,
.hc-slide--oracle .hc-visual,
.hc-slide--pg .hc-visual,
.hc-slide--mysql .hc-visual { align-items: flex-end; justify-content: flex-end; }
.hc-slide--resumo::before {
  background: radial-gradient(ellipse at 75% 50%, rgba(252,211,77,.18) 0%, transparent 65%);
}
/* Mosaico de produtos no visual do slide resumo */
.hc-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  width: 100%;
  max-width: 520px;
}
.hc-product-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .5rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 14px;
  padding: 1rem .75rem;
  text-decoration: none;
  color: #fff;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  min-height: 96px;
  pointer-events: auto;
}
.hc-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
  background: rgba(255,255,255,.26);
  border-color: rgba(255,255,255,.5);
}
.hc-product-card img {
  height: 30px; max-width: 100%; object-fit: contain;
  filter: brightness(0) invert(1); /* branco sobre fundo escuro */
}
.hc-product-card span {
  font-size: .68rem; color: rgba(255,255,255,.85); text-align: center;
  font-weight: 600; line-height: 1.3;
}
/* Variante com ícone Bootstrap (consultorias / serviços) */
.hc-product-card > i.bi {
  font-size: 1.9rem; color: rgba(255,255,255,.9); line-height: 1;
}
.hc-product-card--service span { color: #fff; font-weight: 700; font-size: .72rem; }
.hc-product-card--cta {
  background: #D9B800; border-color: #D9B800; color: #0F1117;
}
.hc-product-card--cta i { font-size: 1.6rem; color: #0F1117; line-height: 1; }
.hc-product-card--cta span { color: #0F1117; font-weight: 700; font-size: .78rem; }
.hc-product-card--cta:hover { background: #CC9900; border-color: #CC9900; }

/* Progress bar */
.hc-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,.15); z-index: 10;
}
.hc-progress-bar {
  height: 100%; background: rgba(255,255,255,.9);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}
/* Arrows */
.hc-prev, .hc-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; cursor: pointer; z-index: 10;
  transition: background .2s;
}
.hc-prev { left: 1.5rem; }
.hc-next { right: 1.5rem; }
.hc-prev:hover, .hc-next:hover { background: rgba(255,255,255,.25); }
/* Dots */
.hc-dots {
  position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 10;
}
.hc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: none; cursor: pointer; padding: 0;
  transition: all .25s;
}
.hc-dot.is-active { width: 28px; border-radius: 4px; background: #fff; }
/* Mobile */
@media (max-width: 900px) {
  .hc-visual { display: none; }
  .hc-slide > .container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-carousel { height: 100svh; min-height: 560px; }
  .hc-slide > .container {
    padding-top: calc(var(--nav-h) + 1.25rem);
    padding-bottom: 7rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    gap: 1.5rem;
  }
  .hc-prev { left: .5rem; width: 40px; height: 40px; font-size: 1.1rem; }
  .hc-next { right: .5rem; width: 40px; height: 40px; font-size: 1.1rem; }
  .hc-dots { bottom: 5.5rem; }
  /* Hero: reduce density on small screens */
  .hc-content { gap: 1rem; }
  .hc-title { font-size: clamp(1.65rem, 6vw, 2.1rem); line-height: 1.15; }
  .hc-lead {
    display: block;
    font-size: .92rem;
    line-height: 1.55;
    color: rgba(255,255,255,.88);
  }
  .hc-bullets { display: none; }
  .hc-actions {
    gap: .6rem;
    margin-top: .25rem;
    flex-direction: column;
    align-items: stretch;
  }
  .hc-actions .btn,
  .hc-actions .btn--lg {
    width: 100%;
    padding: .8rem 1rem;
    font-size: .92rem;
    justify-content: center;
  }
}

/* ───── Section ───── */
section { padding: 6rem 0; }
section.section-alt { background: var(--bg-2); }
@media (max-width: 768px) { section { padding: 4rem 0; } }

/* ───── Stats strip ───── */
.stats {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem;
}
.stat { text-align: center; }
.stat-value {
  font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800;
  letter-spacing: -.02em;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { font-size: .9rem; color: var(--text-3); margin-top: .5rem; font-weight: 500; }

/* ───── Cards ───── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-hero);
  opacity: 0; transition: opacity var(--transition);
  pointer-events: none;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  background: var(--bg-raised);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  border: 1px solid var(--border);
}
.feature-icon--gradient {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-brand);
}
.feature-logo {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radius);
  padding: .5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 200px;
  margin: 0 auto 1.25rem;
  position: relative;
}
.feature-logo img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
.clientes-mapa-wrap { margin-top: 2.5rem; }
.clientes-total { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.clientes-total-inner {
  display: inline-flex; align-items: center; gap: .875rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 2.25rem;
  box-shadow: var(--shadow);
}
.clientes-total-inner > i { font-size: 1.75rem; color: var(--primary); flex-shrink: 0; }
.clientes-total-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800; color: var(--text);
  letter-spacing: -.02em; line-height: 1;
}
.clientes-total-label {
  font-size: .8rem; color: var(--muted);
  max-width: 80px; line-height: 1.3;
}
.clients-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.clients-map-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: .6rem;
  color: var(--muted); font-size: .95rem;
  background: var(--bg-2);
}
@media (max-width: 768px) {
  #clientesMapCanvas { height: 460px !important; }
  .clientes-total-inner { padding: .75rem 1.25rem; gap: .6rem; }
  .clientes-total-num { font-size: 1.75rem; }
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: .75rem; position: relative; }
.feature-card p { color: var(--text-3); font-size: .95rem; position: relative; }
.feature-card-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1rem;
  font-size: .875rem; font-weight: 600;
  color: var(--primary);
  position: relative;
}
.feature-card-link i { transition: transform var(--transition); }
.feature-card:hover .feature-card-link i { transform: translateX(4px); }

/* ───── Product "other" cards ───── */
.produto-other-card {
  display: flex; align-items: flex-start; gap: .875rem;
  padding: .875rem 1rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.produto-other-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.produto-other-icon {
  font-size: 1.25rem; color: var(--primary);
  margin-top: .1rem; flex-shrink: 0;
}
.produto-other-card strong {
  display: block; font-size: .9rem; font-weight: 600; margin-bottom: .15rem;
}
.produto-other-card span {
  font-size: .8rem; color: var(--muted); line-height: 1.4;
}

/* ───── Solutions / Services Grid ───── */
.solutions-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.solution-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.solution-card-badge {
  display: inline-flex;
  padding: .3rem .7rem;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--bg-raised);
  color: var(--primary);
  border-radius: 100px;
  margin-bottom: 1rem;
}
.solution-card h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.solution-card ul {
  list-style: none; padding: 0; margin: 1rem 0 1.5rem;
}
.solution-card ul li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .35rem 0;
  font-size: .9rem; color: var(--text-3);
}
.solution-card ul li i { color: var(--success); margin-top: 4px; flex-shrink: 0; }

/* ───── Pillar (Why us) ───── */
.pillar-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
}
.pillar {
  text-align: left;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.pillar:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow); }
.pillar-icon {
  width: 48px; height: 48px;
  background: var(--grad-brand);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.35rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-brand);
}
.pillar h3 { font-size: 1.15rem; margin-bottom: .5rem; }

/* ───── Partner badges ───── */
.partner-strip {
  display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; align-items: center;
  padding: 2rem 0;
}
.partner-badge {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .85rem; font-weight: 600;
  color: var(--text-2);
}
.partner-badge i { color: var(--primary); font-size: 1.1rem; }
.partner-badge--gold i { color: var(--accent); }

/* ───── Leadership ───── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-card > img {
  width: 100%; height: auto;
  display: block;
  object-fit: cover; object-position: top center;
}
.team-card-info { padding: 1rem .75rem .85rem; }
.team-card h4 { margin: 0 0 .3rem; font-size: 1rem; font-weight: 700; }
.team-card-role { font-size: .82rem; color: var(--muted); margin: 0 0 .75rem; font-style: italic; }
.team-card-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-raised);
  color: var(--muted);
  font-size: 1rem;
  transition: all var(--transition);
}
.team-card-link:hover { background: #0A66C2; color: #fff; }

/* ───── Clients / Logo cloud ───── */
.logos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem 2rem; align-items: center;
  opacity: .7;
  transition: opacity var(--transition);
}
.logos-grid:hover { opacity: 1; }
.client-logo {
  display: flex; align-items: center; justify-content: center;
  height: 60px;
  font-size: .9rem; font-weight: 700;
  color: var(--text-3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: all var(--transition);
}
.client-logo:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ───── FAQ ───── */
.faq {
  max-width: 820px; margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-size: 1rem; font-weight: 600;
  color: var(--text);
  text-align: left; width: 100%;
  cursor: pointer;
}
.faq-q i { color: var(--primary); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition);
  padding: 0 1.4rem;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 1.4rem 1.25rem; }
.faq-a p { color: var(--text-3); font-size: .95rem; }

/* ───── CTA band ───── */
.cta-band {
  background: var(--grad-brand);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  max-width: var(--container);
  margin: 2rem auto;
  width: calc(100% - 3rem);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255, 255, 255, .2) 0%, transparent 60%);
  z-index: -1;
}
.cta-band h2 { color: #fff; font-size: clamp(1.75rem, 2.5vw + 1rem, 2.75rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, .9); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-band .btn--accent { box-shadow: 0 8px 32px rgba(217, 184, 28, .45); }
.cta-band .btn--outline { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .08); }
.cta-band .btn--outline:hover { background: rgba(255, 255, 255, .15); border-color: #fff; color: #fff; }
/* E-mail ghost button dentro do cta-band — fundo branco semi-transparente para destacar */
.cta-band .btn--ghost {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
}
.cta-band .btn--ghost:hover {
  background: #fff;
  color: #1a1a2e;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
/* WhatsApp CTA dentro do cta-band — usa cor oficial do WhatsApp */
.cta-band a[href*="whatsapp"],
.cta-band a[href*="wa.me"] {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.cta-band a[href*="whatsapp"]:hover,
.cta-band a[href*="wa.me"]:hover {
  background: #1DA851;
  border-color: #1DA851;
  color: #fff;
}

/* ───── Booking Section (HubSpot embed) ───── */
.booking-section { padding: 5rem 0; }
.booking-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.booking-card__header {
  background: var(--grad-brand);
  padding: 3rem 2.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.booking-card__header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.18) 0%, transparent 60%);
}
.booking-card__header .eyebrow {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.25);
  position: relative;
}
.booking-card__header h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: .75rem 0 .75rem;
  position: relative;
}
.booking-card__header p {
  color: rgba(255,255,255,.9);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}
.booking-card__iframe {
  background: var(--bg);
  padding: 0;
  overflow: visible;
}
.booking-card__iframe iframe {
  display: block;
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
@media (max-width: 768px) {
  .booking-card__header { padding: 2rem 1.25rem 1.75rem; }
  .booking-card__iframe iframe { height: 800px; }
}

/* ───── Contact Form Section (HubSpot embed) ───── */
.contact-form-section {
  padding: 5rem 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.contact-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(30, 46, 184, .08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(217, 184, 28, .07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .contact-form-section::before {
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%, rgba(3, 169, 244, .14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(124, 58, 237, .12) 0%, transparent 60%);
}
.contact-form-section > .container { position: relative; z-index: 1; }
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) 1.15fr;
}
.contact-form-card__intro {
  padding: 3rem 2.5rem;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-light) 70%, #16229A 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
[data-theme="dark"] .contact-form-card__intro {
  background: linear-gradient(150deg, #0b1d3a 0%, #11305a 60%, #0a1633 100%);
}
.contact-form-card__intro::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(255,255,255,.18) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(255,255,255,.10) 0%, transparent 55%);
  pointer-events: none;
}
.contact-form-card__intro > * { position: relative; z-index: 1; }
.contact-form-card__intro .eyebrow {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  width: fit-content;
}
.contact-form-card__intro h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: .25rem 0 .5rem;
  line-height: 1.2;
}
.contact-form-card__intro p {
  color: rgba(255,255,255,.92);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.contact-form-card__intro .contact-form-card__pitch {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
}
.contact-form-card__perks {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.contact-form-card__perks li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .92rem;
  color: rgba(255,255,255,.92);
  line-height: 1.5;
}
.contact-form-card__perks li i {
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: .2rem;
}
.contact-form-card__embed-wrap {
  padding: 2.5rem 2.5rem;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-form-card__embed-wrap > h3 {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  color: var(--text);
}
#contact_form_container {
  width: 100%;
}
/* HubSpot form polish */
#contact_form_container .hs-form,
#contact_form_container form.hs-form {
  font-family: var(--font-body);
}
#contact_form_container .hs-form-field {
  margin-bottom: 1rem;
}
#contact_form_container .hs-form-field > label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .35rem;
}
#contact_form_container .hs-form-field > label .hs-form-required {
  color: var(--danger);
  margin-left: .15rem;
}
#contact_form_container .hs-input:not([type="checkbox"]):not([type="radio"]) {
  width: 100% !important;
  box-sizing: border-box;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
#contact_form_container textarea.hs-input {
  min-height: 110px;
  resize: vertical;
}
#contact_form_container .hs-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 46, 184, .15);
}
#contact_form_container .hs-error-msgs,
#contact_form_container .hs-error-msg {
  list-style: none;
  padding: 0;
  margin: .35rem 0 0;
  font-size: .82rem;
  color: var(--danger);
}
#contact_form_container .hs-button,
#contact_form_container input.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: .9rem 1.5rem;
  margin-top: .5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(30, 46, 184, .25);
}
#contact_form_container .hs-button:hover,
#contact_form_container input.hs-button:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 46, 184, .35);
}
#contact_form_container .hs-richtext,
#contact_form_container .hs-richtext p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}
#contact_form_container .legal-consent-container {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .75rem;
}
#contact_form_container .submitted-message {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(22, 163, 74, .08);
  border: 1px solid rgba(22, 163, 74, .25);
  color: var(--text);
  font-size: .95rem;
}
@media (max-width: 900px) {
  .contact-form-card { grid-template-columns: 1fr; }
  .contact-form-card__intro { padding: 2.25rem 1.75rem 2rem; }
  .contact-form-card__embed-wrap { padding: 2rem 1.75rem 2.25rem; }
}
@media (max-width: 480px) {
  .contact-form-section { padding: 3.5rem 0; }
  .contact-form-card__intro { padding: 1.75rem 1.25rem 1.5rem; }
  .contact-form-card__embed-wrap { padding: 1.5rem 1.25rem 1.75rem; }
  .contact-form-card__intro h2 { font-size: 1.4rem; }
}

/* ───── Deliverables checklist grid ───── */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .875rem;
  margin-top: 2.5rem;
}
.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--text);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.deliverable-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.deliverable-item i {
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* ───── Process steps (horizontal timeline) ───── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}
.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.process-step__num {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .75rem;
  display: block;
}
.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  line-height: 1.4;
}
.process-step p {
  font-size: .875rem;
  color: var(--muted);
  margin: 0;
}
.process-steps--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 767px) {
  .process-steps--3col {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .process-steps--3col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ───── Why Us / Differentiators grid ───── */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.why-us-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.why-us-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.why-us-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.why-us-card__icon i {
  color: #fff;
  font-size: 1.1rem;
}
.why-us-card h4 {
  font-size: .9375rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  line-height: 1.4;
  color: var(--text);
}
.why-us-card p {
  font-size: .875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ───── Tech stack / tool chips ───── */
.tool-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.tool-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 1.75rem 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.tool-chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.tool-chip__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  flex-shrink: 0;
}
.tool-chip__icon img {
  width: 2rem;
  height: 2rem;
  filter: brightness(0) invert(1);
}
.tool-chip__name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.tool-chip__sub {
  font-size: .75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ───── LGPD Document Pages ───── */
.lgpd-doc-section { padding: calc(var(--nav-h) + 3rem) 0 5rem; }
.lgpd-doc-header { margin-bottom: 2.5rem; }
.lgpd-doc-header h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin: .75rem 0 1rem; color: var(--text); }
.lgpd-doc-lead { font-size: 1.05rem; color: var(--muted); max-width: 640px; margin-bottom: 1.5rem; }
.lgpd-doc-viewer { width: 100%; aspect-ratio: 4/5; max-height: 80vh; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); }
.lgpd-doc-viewer iframe { width: 100%; height: 100%; border: none; display: block; }
.lgpd-doc-fallback { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.lgpd-doc-fallback a { color: var(--primary); }
.lgpd-prose { max-width: 760px; line-height: 1.75; color: var(--text); }
.lgpd-prose h2 { font-size: 1.3rem; font-weight: 700; margin: 2.5rem 0 .75rem; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.lgpd-prose h3 { font-size: 1.05rem; font-weight: 700; margin: 1.75rem 0 .5rem; color: var(--text); }
.lgpd-prose h4 { font-size: .95rem; font-weight: 700; margin: 1.25rem 0 .4rem; color: var(--muted); }
.lgpd-prose p { margin-bottom: 1rem; }
.lgpd-prose ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.lgpd-prose ul li { margin-bottom: .35rem; }
.lgpd-prose a { color: var(--primary); }
.lgpd-prose a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .lgpd-doc-viewer { aspect-ratio: auto; height: 70vh; }
  .lgpd-doc-section { padding: calc(var(--nav-h) + 1.5rem) 0 3rem; }
}

/* ───── Footer ───── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1rem;
}
.footer-brand p { font-size: .9rem; color: var(--text-3); margin-bottom: 1.5rem; max-width: 300px; }
.footer-social {
  display: flex; gap: .5rem;
}
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-2px); }
.footer-col h4 {
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text); margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col a {
  font-size: .9rem; color: var(--text-3); font-weight: 500;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--muted);
  gap: 1rem; flex-wrap: wrap;
}
.footer-partner-badges { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ───── Floating WhatsApp ───── */
.wa-float {
  position: fixed; bottom: 86px; right: 18px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 32px rgba(37, 211, 102, .4);
  z-index: 2147483646;
  transition: all var(--transition);
}
.wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 40px rgba(37, 211, 102, .55); }
@media (max-width: 768px) {
  .wa-float { bottom: calc(86px + env(safe-area-inset-bottom)); right: 18px; width: 44px; height: 44px; font-size: 1.3rem; }
}

/* ───── Back to Top (desktop only) ───── */
.back-to-top {
  position: fixed; bottom: 24px; left: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(30, 46, 184, .35);
  z-index: 90;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background var(--transition), box-shadow var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-light); box-shadow: 0 12px 32px rgba(30, 46, 184, .5); transform: translateY(-2px); }
@media (max-width: 768px) {
  .back-to-top { display: none; }
}

/* ───── Content Carousels (Blog & YouTube) ───── */
.cc-section { padding: 5rem 0; }
.cc-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.cc-head-left { display: flex; flex-direction: column; gap: .4rem; }
.cc-head h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin: 0; }

/* Section label: app-icon badge + name */
.cc-section-label { display: flex; align-items: center; gap: .6rem; margin-bottom: .15rem; }
.cc-section-icon {
  width: 2rem; height: 2rem; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.cc-section-icon--blog { background: linear-gradient(135deg, #1E2EB8, #3b82f6); }
.cc-section-icon--yt   { background: linear-gradient(135deg, #b91c1c, #ef4444); }
.cc-section-name {
  font-size: .65rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.cc-view-all {
  font-size: .875rem; font-weight: 600; color: var(--primary);
  text-decoration: none; display: flex; align-items: center; gap: .4rem;
  white-space: nowrap; padding-top: .3rem;
}
.cc-view-all:hover { text-decoration: underline; }
.cc-wrapper { position: relative; }
.cc-btn-prev, .cc-btn-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; z-index: 3;
  box-shadow: var(--shadow); transition: background .2s, border-color .2s, color .2s;
}
.cc-btn-prev { left: -22px; }
.cc-btn-next { right: -22px; }
.cc-btn-prev:hover, .cc-btn-next:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.cc-btn-prev:disabled, .cc-btn-next:disabled { opacity: .35; cursor: default; }
.cc-btn-prev:disabled:hover, .cc-btn-next:disabled:hover { background: var(--bg-card); border-color: var(--border); color: var(--text); }
.cc-viewport { overflow: hidden; }
.cc-track {
  display: flex; gap: 1.5rem;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  list-style: none; margin: 0; padding: 4px 2px 8px;
}
/* ── Blog cards ── */
.bc-card { flex-shrink: 0; }
.bc-card-link {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.bc-card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bc-card-img {
  height: 430px; overflow: hidden;
  background: var(--bg-2); flex-shrink: 0;
}
.bc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-card-body {
  padding: 1.1rem 1.25rem 1.4rem;
  display: flex; flex-direction: column; gap: .5rem; flex: 1;
}
.bc-card-cat {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--primary); background: rgba(30,46,184,.08);
  border-radius: 4px; padding: .2rem .55rem; width: fit-content;
}
[data-theme="dark"] .bc-card-cat { background: rgba(3,169,244,.12); }
.bc-card-title {
  font-size: .97rem; font-weight: 700; line-height: 1.45; color: var(--text);
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bc-card-date { font-size: .78rem; color: var(--muted); margin-top: auto; display: flex; align-items: center; gap: .35rem; }
/* ── YouTube cards ── */
.yc-card { flex-shrink: 0; }
.yc-card-link {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.yc-card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.yc-thumb {
  aspect-ratio: 16 / 9; overflow: hidden; position: relative;
  background: #000; flex-shrink: 0;
}
.yc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.yc-card-link:hover .yc-thumb img { transform: scale(1.03); }
.yc-badge {
  position: absolute; top: .6rem; left: .6rem;
  font-size: .6rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 3px;
}
.yc-badge--live     { background: #DC2626; color: #fff; }
.yc-badge--upcoming { background: #F59E0B; color: #fff; }
.yc-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
  opacity: 0; transition: opacity .2s;
}
.yc-card-link:hover .yc-play-overlay { opacity: 1; }
.yc-play-overlay i { font-size: 2.75rem; color: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.yc-card-body { padding: .9rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.yc-card-title {
  font-size: .95rem; font-weight: 700; line-height: 1.4; color: var(--text);
  margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.yc-card-meta { display: flex; gap: 1rem; margin-top: auto; flex-wrap: wrap; }
.yc-card-date, .yc-card-views { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; }
/* Loading skeleton */
.cc-skeleton {
  height: 300px; background: var(--bg-2); border-radius: var(--radius-lg);
  animation: cc-pulse 1.5s ease-in-out infinite;
}
@keyframes cc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
/* Responsive */
@media (max-width: 768px) {
  .cc-btn-prev { left: 0; }
  .cc-btn-next { right: 0; }
  .cc-section { padding: 3.5rem 0; }
}

/* ───── Product Carousel Cards ───── */
.prod-ci { flex-shrink: 0; }
.prod-card {
  display: flex; flex-direction: column; gap: .75rem;
  width: 100%; height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none; color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.prod-card-logo { height: 32px; object-fit: contain; object-position: left; max-width: 140px; }
.prod-card-name { font-size: 1rem; font-weight: 700; margin: 0; color: var(--text); }
.prod-card-desc { font-size: .875rem; color: var(--muted); margin: 0; flex: 1; line-height: 1.5; }
.prod-card-cta {
  font-size: .8rem; font-weight: 600; color: var(--primary);
  display: flex; align-items: center; gap: .3rem;
  margin-top: auto; padding-top: .5rem;
}
.prod-card:hover .prod-card-cta { text-decoration: underline; }

/* ───── Chatbot ───── */
.chat-toggle {
  position: fixed; bottom: 92px; right: 24px;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-brand);
  color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  box-shadow: var(--shadow-brand);
  z-index: 91;
  transition: transform var(--transition), box-shadow var(--transition);
}
.chat-toggle:hover { transform: scale(1.08); box-shadow: var(--shadow-brand-lg); }
.chat-toggle .bi-x-lg { display: none; }
.chat-toggle.is-active .bi-chat-dots-fill { display: none; }
.chat-toggle.is-active .bi-x-lg { display: inline; }
@media (max-width: 768px) {
  .chat-toggle { bottom: calc(140px + env(safe-area-inset-bottom)); right: 16px; width: 44px; height: 44px; font-size: 1.2rem; }
}

.chat-window {
  position: fixed; bottom: 160px; right: 24px;
  width: 360px; max-height: 520px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column;
  z-index: 91;
  opacity: 0; transform: translateY(16px) scale(.97);
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.4,0,.2,1), transform .22s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.chat-window.is-open { opacity: 1; transform: none; pointer-events: all; }
@media (max-width: 480px) {
  .chat-window {
    right: 8px; left: 8px; width: auto;
    bottom: calc(210px + env(safe-area-inset-bottom));
    max-height: 58vh;
  }
}

.chat-header {
  display: flex; align-items: center; gap: .75rem;
  padding: .9rem 1rem;
  background: var(--grad-brand); color: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  flex-shrink: 0;
}
.chat-header-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-name { font-weight: 700; font-size: .92rem; line-height: 1.2; }
.chat-header-status { font-size: .75rem; opacity: .85; }
.chat-header-status::before { content: '●'; font-size: .5rem; margin-right: .3rem; vertical-align: middle; }
.chat-close {
  background: none; border: none; color: #fff; cursor: pointer;
  font-size: 1.1rem; padding: .25rem; opacity: .85; line-height: 1;
  flex-shrink: 0;
}
.chat-close:hover { opacity: 1; }

.chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: .65rem;
  scroll-behavior: smooth;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.chat-msg { display: flex; }
.chat-msg--user { justify-content: flex-end; }
.chat-msg--bot  { justify-content: flex-start; }

.chat-bubble {
  max-width: 82%; padding: .6rem .85rem;
  border-radius: 16px;
  font-size: .875rem; line-height: 1.55;
}
.chat-msg--user .chat-bubble {
  background: var(--primary); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-msg--bot .chat-bubble {
  background: var(--bg-2); color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}
.chat-msg--wa { justify-content: flex-start; }
.chat-wa-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #25D366; color: #fff !important;
  padding: .55rem 1rem; border-radius: 20px;
  font-size: .855rem; font-weight: 600; text-decoration: none !important;
  transition: background var(--transition), transform var(--transition);
}
.chat-wa-btn:hover { background: #128C7E; transform: scale(1.03); }
.chat-wa-btn .bi { font-size: 1rem; }

.chat-quick-btns {
  padding: .5rem 1rem .5rem;
  display: flex; flex-wrap: wrap; gap: .4rem;
  flex-shrink: 0;
  max-height: 220px; overflow-y: auto;
}
.chat-quick-btn {
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--primary); border-radius: 20px;
  padding: .35rem .8rem; font-size: .8rem; cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.chat-quick-btn:hover { background: var(--bg-raised); border-color: var(--primary); }
.chat-quick-btn--wa {
  background: #25D366 !important; border-color: #25D366 !important; color: #fff !important;
}
.chat-quick-btn--wa:hover { background: #1ebe5a !important; border-color: #1ebe5a !important; }
.chat-quick-btn--back {
  background: transparent; border-color: var(--border); color: var(--muted);
  font-size: .75rem;
}
.chat-quick-btn--back:hover { border-color: var(--primary); color: var(--primary); background: transparent; }

.chat-input-row {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
#chatInput {
  flex: 1; padding: .55rem .85rem;
  border: 1px solid var(--border); border-radius: 20px;
  background: var(--bg); color: var(--text);
  font-size: .875rem; outline: none;
  transition: border-color var(--transition);
}
#chatInput:focus { border-color: var(--primary); }
#chatInput::placeholder { color: var(--muted); }
#chatSend {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; cursor: pointer; flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
#chatSend:hover { background: var(--primary-hover); transform: scale(1.08); }

/* ───── Reveal on scroll ───── */
.fade-up, .fade-in, .fade-left, .fade-right {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}
.fade-up { transform: translateY(24px); }
.fade-left { transform: translateX(-24px); }
.fade-right { transform: translateX(24px); }
.fade-up.visible, .fade-in.visible, .fade-left.visible, .fade-right.visible {
  opacity: 1; transform: none;
}
.delay-100 { transition-delay: .1s; }
.delay-200 { transition-delay: .2s; }
.delay-300 { transition-delay: .3s; }
.delay-400 { transition-delay: .4s; }
.delay-500 { transition-delay: .5s; }

/* ───── Mobile App Bar ───── */
#mobileAppBar { display: none; }
@media (max-width: 768px) {
  #mobileAppBar {
    display: block;
    position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--nav-bg-scrolled);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--border);
    z-index: 95;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mab-inner {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    padding: .25rem 0;
    padding-bottom: 0;
  }
  .mab-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    flex: 1 1 0;
    gap: .2rem;
    padding: .4rem .25rem;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: .65rem; font-weight: 600;
    text-align: center;
    min-height: 52px;
    min-width: 0;
    transition: background var(--transition);
  }
  button.mab-btn {
    -webkit-appearance: none; appearance: none;
  }
  .mab-btn:hover, .mab-btn.is-active { background: var(--bg-raised); color: var(--primary); }
  .mab-icon { font-size: 1.15rem; line-height: 1; }
  .mab-flag { width: 1.375rem !important; height: 1.15rem !important; border-radius: 2px; }
  .mab-label { line-height: 1; }
  /* .mab-cta-primary removed — active state handled by .is-active via JS */
}

/* Bottom sheet */
#mabLangOverlay {
  position: fixed; inset: 0;
  background: var(--bg-overlay);
  z-index: 96;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--transition);
}
#mabLangOverlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
#mabLangSheet {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  z-index: 97;
  padding: 1rem 1.25rem calc(2rem + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform var(--transition-slow);
  max-width: 560px; margin: 0 auto;
  box-shadow: 0 -8px 48px rgba(0, 0, 0, .2);
}
#mabLangSheet.open { transform: translateY(0); }
.mab-sheet-handle {
  width: 40px; height: 4px;
  background: var(--border-strong);
  border-radius: 100px;
  margin: 0 auto 1rem;
}
.mab-sheet-title {
  text-align: center; font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1rem;
}
.mab-lang-options { display: flex; flex-direction: column; gap: .4rem; }
.mab-lang-option {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--text);
  font-weight: 500; font-size: .95rem;
  cursor: pointer;
  text-align: left; width: 100%;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.mab-lang-option:hover { background: var(--bg-raised); border-color: var(--primary); }
.mab-lang-option.active { border-color: var(--primary); background: var(--bg-raised); color: var(--primary); }
.mab-lang-option .fi { width: 24px; height: 16px; border-radius: 2px; flex-shrink: 0; }

/* ───── Page hero (internal pages) ───── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 3rem;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
[data-theme="dark"] .page-hero {
  background: linear-gradient(180deg, #060d24 0%, #03061a 100%);
  border-bottom-color: #1e293b;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  /* brand colors em ordem fixa: navy (#0009B3) → cobalt (#0017E6) → gold (#D9B800) → deep-gold (#CC9900) */
  background:
    radial-gradient(ellipse 55% 70% at 10%  0%,  rgba(0,   9, 179, .07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 55% at 40%  0%,  rgba(0,  23, 230, .05) 0%, transparent 70%),
    radial-gradient(ellipse 35% 50% at 70%  5%,  rgba(217,184,   0, .05) 0%, transparent 70%),
    radial-gradient(ellipse 30% 45% at 95% 15%,  rgba(204,153,   0, .04) 0%, transparent 70%);
}
[data-theme="dark"] .page-hero-bg {
  background:
    radial-gradient(ellipse 65% 85% at 10%  0%,  rgba(0,   9, 179, .55) 0%, transparent 65%),
    radial-gradient(ellipse 50% 65% at 40%  0%,  rgba(0,  23, 230, .38) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 70% 10%,  rgba(217,184,   0, .18) 0%, transparent 70%),
    radial-gradient(ellipse 30% 45% at 95% 25%,  rgba(204,153,   0, .12) 0%, transparent 70%);
}
.page-hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.page-hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
  margin-bottom: 1rem;
}
.page-hero p { font-size: 1.125rem; color: var(--text-3); max-width: 640px; margin: 0 auto 2rem; }
.breadcrumb {
  display: flex; justify-content: center; gap: .5rem;
  font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ───── Content prose ───── */
.prose {
  max-width: 780px; margin: 0 auto;
  font-size: 1.05rem; line-height: 1.7;
}
.prose h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: .75rem; }
.prose p { color: var(--text-2); }
.prose ul, .prose ol { color: var(--text-2); }
.prose ul li, .prose ol li { margin-bottom: .5rem; }
.prose strong { color: var(--text); font-weight: 700; }
.prose blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--primary);
  background: var(--bg-raised);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text);
  font-style: italic;
}

/* Two-column prose + sidebar */
.page-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem;
  max-width: var(--container); margin: 0 auto;
}
.page-sidebar {
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
  align-self: start;
  display: flex; flex-direction: column; gap: 1rem;
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.sidebar-card h4 { font-size: 1rem; margin-bottom: .75rem; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.sidebar-card ul li { padding: .35rem 0; }
.sidebar-card ul li i { color: var(--success); margin-right: .5rem; }
.sidebar-card--brand {
  background: var(--grad-brand);
  color: #fff; border: none;
}
.sidebar-card--brand h4, .sidebar-card--brand p { color: #fff; }
.sidebar-card--brand p { color: rgba(255, 255, 255, .9); font-size: .9rem; margin-bottom: 1rem; }

@media (max-width: 980px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: static; }
}

/* ───── Responsive ───── */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .lang-switcher { display: none; }
  .nav-actions .btn:not(.mobile-menu-btn) { display: none; }
  .nav-actions .theme-toggle { display: none; }
  .nav-actions { margin-left: auto; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-mobile-action { display: inline-flex; }
  .wa-float { display: none; }
  body:not(.hs-mobile-chat-open) #hubspot-messages-iframe-container {
    visibility: hidden !important;
    pointer-events: none !important;
  }
  body.hs-mobile-chat-open #hubspot-messages-iframe-container {
    visibility: visible !important;
    pointer-events: auto !important;
  }
  main { padding-bottom: 80px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { flex-direction: column; gap: .75rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-band { padding: 3rem 1.5rem; border-radius: var(--radius-lg); }
  .page-hero { padding: calc(var(--nav-h) + 2.5rem) 0 2rem; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.25rem; }
  .hero { padding: calc(var(--nav-h) + 3rem) 0 4rem; }
  /* Hero carousel: prevent content from being clipped on small screens */
  .hero-carousel { min-height: 100svh; }
  .hc-slide { align-items: center; }
  .hc-slide > .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hc-title { font-size: 1.6rem; }
  .hc-title-hl { font-size: .78em; }
  .hc-lead { font-size: .88rem; line-height: 1.55; }
  .hc-content { gap: .9rem; }
  .hc-eyebrow { font-size: .68rem; padding: .28rem .75rem; }
  .hc-bullets li { font-size: .82rem; }
}

/* ───── Accessibility ───── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}
