/* ==========================
   UNIVERSAL COLOR TOKENS
==========================*/

:root {
  --text: #e8f1ff;
  --text-soft: #c8d5ef;
  --text-muted: #9cb2d9;
  --text-secondary: #a9b9da;

  --card: #071328;
  --card-alt: #0b1838;
  --surface: #0d1b3d;

  --border: #173065;

  --title: #ffffff;

  --icon: #82c7ff;

  --shadow-lg: 0 18px 40px rgba(0, 20, 65, 0.4);
}

:root {
  --bg: #02071a;
  --bg-alt: #06102a;
  --text: #e8f1ff;
  --text-soft: #c8d5ef;
  --text-muted: #9cb2d9;
  --text-secondary: #a9b9da;
  --muted: #9cb2d9;
  --line: #173065;
  --card: #050f2b;
  --card-alt: #0b1838;
  --surface: #0d1b3d;
  --brand: #1f72ff;
  --brand-dark: #0d46bb;
  --accent: #00e5ff;
  --danger-soft: #1b1623;
  --success-soft: #0a1d36;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(0, 20, 65, 0.45);
  --page-bg:
    radial-gradient(circle at 8% 6%, #0e2a73 0, #02071a 34%, transparent 50%),
    radial-gradient(circle at 90% 20%, #063f7c 0, #02071a 36%, transparent 52%),
    linear-gradient(180deg, #02071a 0%, #040d24 100%);
  --alt-end: #f4f8ef;
  --urgent-bar-bg: linear-gradient(90deg, #0c2b75, #1f72ff, #0c2b75);
  --topbar-bg: rgba(3, 11, 33, 0.9);
  --ghost-bg: #071436;
  --ghost-text: var(--accent);
  --menu-toggle-bg: #071436;
  --mobile-nav-bg: #071436;
  --input-bg: #071436;
  --input-text: var(--text);
  --input-placeholder: #7a96c1;
}

html[data-theme="light"] {
  --bg: #f4f8ff;
  --bg-alt: #eef5ff;
  --text: #10233f;
  --text-soft: #355070;
  --text-muted: #60789b;
  --text-secondary: #6e85a6;
  --muted: #60789b;
  --line: #d8e4f4;
  --card: #ffffff;
  --card-alt: #f7f9fc;
  --surface: #edf4ff;
  --border: #cfdff2;
  --title: #0f2440;
  --icon: #1766ff;
  --brand: #1261ff;
  --brand-dark: #0d4ecb;
  --accent: #0074ff;
  --danger-soft: #fff5f7;
  --success-soft: #f2f8ff;
  --shadow: 0 16px 42px rgba(16, 39, 90, 0.12);
  --page-bg:
    radial-gradient(circle at 8% 6%, #dceaff 0, #f4f8ff 34%, transparent 50%),
    radial-gradient(circle at 90% 20%, #c9dcff 0, #f4f8ff 36%, transparent 52%),
    linear-gradient(180deg, #f4f8ff 0%, #f8fbff 100%);
  --alt-end: #ffffff;
  --urgent-bar-bg: linear-gradient(90deg, #0f57d8, #3b8cff, #0f57d8);
  --topbar-bg: rgba(255, 255, 255, 0.9);
  --ghost-bg: #eaf4ff;
  --ghost-text: #0d4ecb;
  --menu-toggle-bg: #f7faff;
  --mobile-nav-bg: #ffffff;
  --input-bg: #ffffff;
  --input-text: #10233f;
  --input-placeholder: #6d84a1;
}

html[data-theme="dark"] {
  --surface-1: #071126;
  --surface-2: #0b1833;
  --surface-3: #0d2148;

  --heading: #f4f8ff;
  --paragraph: #bfd2ee;

  --text-primary: #edf4ff;
  --text-secondary: #9db6d9;
  --text-tertiary: #6e89af;

  --glass-bg: rgba(9, 18, 40, 0.58);
  --glass-border: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Exo 2", sans-serif;
  color: var(--text);
  background: var(--page-bg);
}

body {
  position: relative;
  --icons-intensity: 0.22;
  --float-scale: 0.9;
  --float-duration: 32s;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--title);
  letter-spacing: 0.01em;
}

p,
li,
span,
div,
a {
  color: inherit;
}

.hero h1,
.hero p,
.hero .hero-card,
.section h2,
.section h3,
.section p,
.template-card p,
.review-card p,
.footer p {
  text-shadow: 0 0 0.8px rgba(255, 255, 255, 0.12);
}

html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero p,
html[data-theme="light"] .section h2,
html[data-theme="light"] .section h3,
html[data-theme="light"] .section p,
html[data-theme="light"] .template-card p,
html[data-theme="light"] .review-card p,
html[data-theme="light"] .footer p {
  text-shadow: none;
}

body[data-icon-zone="hero"] {
  --icons-intensity: 0.3;
  --float-scale: 1;
  --float-duration: 22s;
}

body[data-icon-zone="inner"] {
  --icons-intensity: 0.22;
  --float-scale: 0.9;
  --float-duration: 32s;
}

.bg-floating-icons {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: var(--icons-intensity);
  transition: opacity 0.35s ease;
}

.bg-floating-icons .float-icon {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent 25%);
  background:
    radial-gradient(
      circle at 20% 22%,
      rgba(0, 229, 255, 0.34),
      transparent 58%
    ),
    color-mix(in srgb, var(--card) 78%, transparent 22%);
  color: color-mix(in srgb, var(--accent) 84%, #ffffff 16%);
  backdrop-filter: blur(2px);
  box-shadow: 0 10px 24px rgba(2, 19, 56, 0.28);
  --x1: 8px;
  --y1: -16px;
  --x2: -10px;
  --y2: -8px;
  --x3: 6px;
  --y3: 10px;
  --r1: 5deg;
  --r2: -4deg;
  --r3: 3deg;
  animation:
    bg-float-orbit var(--icon-duration, var(--float-duration)) ease-in-out
      infinite,
    bg-icon-pulse 6s ease-in-out infinite;
}

.bg-floating-icons .float-icon svg {
  width: 24px;
  height: 24px;
  position: absolute;
  inset: 0;
  margin: auto;
}

.bg-floating-icons .float-icon-code {
  left: 6%;
  top: 16%;
  --x1: 110px;
  --y1: -72px;
  --x2: 168px;
  --y2: 48px;
  --x3: 42px;
  --y3: 96px;
  --icon-duration: 31s;
  animation-delay: 0.3s;
}

.bg-floating-icons .float-icon-cloud {
  left: 82.5%;
  top: 22%;
  --x1: -124px;
  --y1: 64px;
  --x2: -186px;
  --y2: 136px;
  --x3: -58px;
  --y3: 182px;
  --icon-duration: 38s;
  animation-delay: 2.2s;
}

.bg-floating-icons .float-icon-mobile {
  left: 14%;
  top: 57%;
  --x1: 142px;
  --y1: -88px;
  --x2: 214px;
  --y2: 36px;
  --x3: 78px;
  --y3: 118px;
  --icon-duration: 35s;
  animation-delay: 4.2s;
}

.bg-floating-icons .float-icon-shield {
  left: 76%;
  top: 63%;
  --x1: -118px;
  --y1: -94px;
  --x2: -202px;
  --y2: 28px;
  --x3: -64px;
  --y3: 136px;
  --icon-duration: 41s;
  animation-delay: 3s;
}

.bg-floating-icons .float-icon-chart {
  left: 44%;
  top: 30%;
  --x1: -136px;
  --y1: 82px;
  --x2: 104px;
  --y2: 166px;
  --x3: 184px;
  --y3: -24px;
  --icon-duration: 34s;
  animation-delay: 5.1s;
}

.bg-floating-icons .float-icon-rocket {
  left: 53.5%;
  top: 73%;
  --x1: 132px;
  --y1: -146px;
  --x2: -94px;
  --y2: -202px;
  --x3: -174px;
  --y3: -62px;
  --icon-duration: 29s;
  animation-delay: 1.4s;
}

@keyframes bg-float-orbit {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  25% {
    transform: translate3d(
        calc(var(--x1) * var(--float-scale)),
        calc(var(--y1) * var(--float-scale)),
        0
      )
      rotate(var(--r1));
  }
  50% {
    transform: translate3d(
        calc(var(--x2) * var(--float-scale)),
        calc(var(--y2) * var(--float-scale)),
        0
      )
      rotate(var(--r2));
  }
  75% {
    transform: translate3d(
        calc(var(--x3) * var(--float-scale)),
        calc(var(--y3) * var(--float-scale)),
        0
      )
      rotate(var(--r3));
  }
}

@keyframes bg-icon-pulse {
  0%,
  100% {
    opacity: 0.68;
    filter: saturate(0.88);
  }
  50% {
    opacity: 1;
    filter: saturate(1.2);
  }
}

.topbar,
.urgent-bar,
main,
.footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  line-height: 1.65;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.urgent-bar {
  text-align: center;
  font-size: 0.92rem;
  padding: 8px 14px;
  color: var(--heading);
  background: var(--urgent-bar-bg);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.urgent-bar.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 4px;
  vertical-align: -0.08em;
  background: rgba(255, 255, 255, 0.95);
  animation: urgent-caret-blink 0.8s steps(1, end) infinite;
}

@keyframes urgent-caret-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  background: var(--topbar-bg);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand,
.brand-mini {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand img,
.brand-mini img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #1f72ff;
  box-shadow: 0 0 20px rgba(31, 114, 255, 0.6);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--menu-toggle-bg);
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 22px;
  border-radius: 999px;
  background: #0a58c9;
  margin: 3px auto;
  box-shadow: 0 1px 2px rgba(8, 54, 122, 0.22);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

html[data-theme="dark"] .menu-toggle span {
  background: #72d8ff;
  box-shadow: 0 1px 4px rgba(0, 229, 255, 0.42);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--muted);
}

.nav a:hover {
  color: var(--brand-dark);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--heading);
  background: linear-gradient(
    135deg,
    #f58529,
    #dd2a7b 45%,
    #8134af 70%,
    #515bd4
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 20px rgba(221, 42, 123, 0.35);
}

.instagram-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.instagram-link:hover {
  color: var(--heading);
  filter: brightness(1.05);
}

.admin-icon-link {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ghost-bg);
  color: var(--accent);
}

.admin-icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.admin-icon-link:hover {
  border-color: var(--accent);
  color: var(--title);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: var(--heading);
  box-shadow: 0 10px 24px rgba(0, 104, 255, 0.36);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0, 104, 255, 0.45);
}

.btn-sm {
  padding: 10px 15px;
  font-size: 0.93rem;
}

.btn-ghost {
  background: var(--ghost-bg);
  color: var(--ghost-text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 34px;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.72;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent 65%);
  box-shadow:
    inset 0 0 34px rgba(143, 220, 255, 0.16),
    0 0 42px rgba(31, 114, 255, 0.18);
  animation:
    hero-shape-float 16s ease-in-out infinite,
    hero-shape-rotate 20s linear infinite;
}

.bg-shape-a {
  width: 360px;
  height: 360px;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(142, 216, 255, 0.32),
      transparent 32%
    ),
    radial-gradient(
      circle at center,
      rgba(31, 114, 255, 0.16) 0,
      rgba(31, 114, 255, 0.08) 42%,
      transparent 68%
    ),
    conic-gradient(
      from 0deg,
      rgba(31, 114, 255, 0.5),
      rgba(0, 229, 255, 0.12),
      rgba(31, 114, 255, 0.5)
    );
  top: -150px;
  right: -80px;
}

.bg-shape-b {
  width: 320px;
  height: 320px;
  background:
    radial-gradient(
      circle at 64% 38%,
      rgba(142, 216, 255, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at center,
      rgba(13, 70, 187, 0.18) 0,
      rgba(13, 70, 187, 0.08) 40%,
      transparent 70%
    ),
    conic-gradient(
      from 180deg,
      rgba(13, 70, 187, 0.45),
      rgba(0, 229, 255, 0.1),
      rgba(13, 70, 187, 0.45)
    );
  bottom: -150px;
  left: -90px;
  animation-direction: reverse, reverse;
}

@keyframes hero-shape-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(10px, -14px, 0) scale(1.06);
  }
}

@keyframes hero-shape-rotate {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

h1,
h2,
h3,
h4 {
  font-family: "Orbitron", sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-top: 15px;
}

h2 {
  font-size: clamp(1.52rem, 2.8vw, 2.55rem);
}

h3 {
  font-size: 1.2rem;
}

.tag,
.hero-points span,
.strategy-cycle span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, #05122f 88%, transparent 12%);
  border: 1px solid var(--line);
  color: color-mix(in srgb, #f3f8ff 90%, var(--accent) 10%);
  font-size: 0.88rem;
}

html[data-theme="light"] .tag,
html[data-theme="light"] .hero-points span,
html[data-theme="light"] .strategy-cycle span {
  background: #f0f6ff;
  border-color: #c7d8ef;
  color: #1f3e66;
}

.subtitle {
  color: color-mix(in srgb, var(--text) 78%, #6f9de4 22%);
  max-width: 66ch;
}
.hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);

  /* Efeito elevado */
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08);

  cursor: pointer;
  transition: all 0.35s ease;

  /* Animação de entrada */
  animation: floatIn 0.8s ease forwards;
}

.hero-brand-badge:hover {
  transform: translateY(-6px) scale(1.02);

  box-shadow:
    0 18px 40px rgba(10, 37, 64, 0.22),
    0 8px 18px rgba(230, 108, 55, 0.18);
}

.hero-brand-badge:active {
  transform: translateY(-2px) scale(0.99);

  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.18);
}

.hero-brand-badge img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;

  animation: logoPulse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.06);
  }

  50% {
    transform: scale(1.18);
  }

  80% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

.hero-brand-badge:hover img {
  transform: scale(1.08);
}

.hero-brand-label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 5px;
  color: var(--text-soft);
}

.hero-brand-badge strong {
  display: block;
  color: var(--title);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.hero-brand-badge .hero-brand-name {
  color: #1f72ff;
}

.hero-highlight-card h2 {
  color: var(--title);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

.hero-highlight-card p {
  color: var(--text-soft);
  margin: 0;
  font-size: 1rem;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-card {
  border: 1px solid color-mix(in srgb, var(--line) 80%, #8fc9ff 20%);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(7, 19, 40, 0.98),
    rgba(11, 29, 60, 0.96)
  );
  padding: 22px;
  box-shadow: 0 20px 42px rgba(2, 14, 41, 0.48);
}

html[data-theme="light"] .hero-card {
  border-color: #c8dbf2;
  background: linear-gradient(145deg, #ffffff, #eaf4ff);
  box-shadow: 0 18px 34px rgba(27, 71, 125, 0.14);
}

.hero-card h3 {
  color: var(--title);
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.hero-card ul {
  margin: 10px 0 0;
  padding-left: 0;
  line-height: 1.65;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-card ul li {
  border: 1px solid rgba(143, 201, 255, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .hero-card ul li {
  border-color: #d4e3f5;
  background: #f7fbff;
  color: #294c75;
  box-shadow: none;
}

.hero-li-icon {
  margin-top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent 24%);
  color: color-mix(in srgb, var(--accent) 82%, #ffffff 18%);
  background: color-mix(in srgb, var(--ghost-bg) 85%, transparent 15%);
}

html[data-theme="light"] .hero-li-icon {
  border-color: #c7dcf5;
  color: #0d5ac8;
  background: #e8f3ff;
}

.hero-li-icon svg {
  width: 16px;
  height: 16px;
}

.section {
  padding: 74px 0;
}

.alt {
  background: linear-gradient(160deg, var(--bg-alt) 0%, var(--alt-end) 100%);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.theme-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.theme-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--muted);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.theme-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.theme-toggle-track {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--ghost-bg);
  padding: 2px;
  display: inline-flex;
  align-items: center;
}

.theme-toggle-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  transition: transform 0.2s ease;
  transform: translateX(0);
}

#theme-toggle-input:checked + .theme-toggle-track .theme-toggle-thumb {
  transform: translateX(20px);
}

#theme-toggle-input:not(:checked) ~ .theme-icon-sun {
  opacity: 1;
  color: var(--brand-dark);
}

#theme-toggle-input:checked ~ .theme-icon-moon {
  opacity: 1;
  color: var(--brand);
}

.section-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.78rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

#sobre .split {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
}

.about-copy {
  display: grid;
  align-content: center;
  gap: 2px;
}

.about-headline {
  min-height: 2.6em;
}

.about-headline.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.08em;
  vertical-align: -0.08em;
  background: currentColor;
  animation: urgent-caret-blink 0.8s steps(1, end) infinite;
}

#about-headline-primary,
#about-headline-accent {
  white-space: pre-wrap;
}

#about-headline-accent {
  color: var(--brand);
}

.about-copy > p {
  max-width: 62ch;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: center;
}

.profile-photo-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.profile-photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.company-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.company-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 110px;
  box-shadow: var(--shadow);
}

/* Logo esquerda */
.company-logo {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 14px;
}

/* Área texto */
.company-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Categoria */
.company-info .badge-type {
  font-size: 0.65rem;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

/* Nome */
.company-badge strong {
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--title);
}

/* Descrição */
.company-badge p {
  margin: 5px 0 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.panel-group {
  display: grid;
  gap: 12px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 18px;
}

.panel ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.panel-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.panel-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
}

.panel-li-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
}

.warning .panel-li-icon {
  color: #ffe5e8;
  border: 1px solid color-mix(in srgb, #ff6b80 68%, transparent 32%);
  background: color-mix(in srgb, #8f1f34 66%, transparent 34%);
}

.success .panel-li-icon {
  color: #ddf9ff;
  border: 1px solid color-mix(in srgb, #2f9dff 70%, transparent 30%);
  background: color-mix(in srgb, #0e4f8d 62%, transparent 38%);
}

html[data-theme="light"] .warning .panel-li-icon {
  color: #a30f2f;
  border-color: #e6a7b5;
  background: #fdeef1;
}

html[data-theme="light"] .success .panel-li-icon {
  color: #0c4a7e;
  border-color: #9ec7ea;
  background: #e9f4ff;
}

.warning {
  background: var(--danger-soft);
}

.success {
  background: var(--success-soft);
}

.steps-grid,
.cards,
.stats,
.portfolio-grid,
.testimonials {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

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

.strategy-cycle {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reference-metrics {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.reference-metrics article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 16px;
  display: grid;
  gap: 7px;
}

.reference-metrics strong {
  font-family: "Orbitron", sans-serif;
  color: var(--accent);
  font-size: 1.16rem;
}

.reference-metrics span {
  color: var(--muted);
  line-height: 1.4;
}

.steps-grid article,
.service-card,
.project-card,
.testimonials blockquote {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  padding: 18px;
}

.social-proof-cta {
  display: flex;
  width: fit-content;
  margin: 20px auto 0;
  justify-content: center;
}

.steps-grid strong {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--brand-dark);
  color: var(--heading);
}

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

.service-card {
  box-shadow: var(--shadow);
}

.templates-title {
  margin-top: 18px;
  margin-bottom: 8px;
}

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

.template-card {
  border: 1px solid rgba(143, 201, 255, 0.24);
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    rgba(7, 18, 39, 0.97),
    rgba(12, 28, 58, 0.95)
  );
  padding: 14px 14px 16px;
  display: grid;
  gap: 10px;
  box-shadow: 0 16px 34px rgba(1, 9, 32, 0.42);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.template-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.template-favicon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 2px;
  background: color-mix(in srgb, var(--card) 74%, #cfe0ff 26%);
  object-fit: contain;
}

.template-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.template-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--brand) 58%, var(--line) 42%);
  background: color-mix(in srgb, var(--card) 72%, #cfe0ff 28%);
  color: color-mix(in srgb, var(--brand-dark) 72%, var(--text) 28%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.template-card:hover {
  transform: translateY(-4px);
  border-color: #2f74dd;
  box-shadow: 0 18px 36px rgba(0, 16, 50, 0.5);
}

.template-thumb {
  width: 100%;
  height: 158px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #2a64c8;
  background: color-mix(in srgb, var(--card) 80%, #052663 20%);
}

.template-preview {
  border: 1px solid rgba(0, 229, 255, 0.34);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.78rem;
  width: fit-content;
  color: #dff7ff;
  background: rgba(0, 229, 255, 0.12);
}

.template-card p {
  margin: 0;
  color: #cfe6ff;
}

html[data-theme="light"] .template-card h4 {
  color: #18335a;
}

html[data-theme="light"] .template-card p {
  color: #49658f;
}

html[data-theme="light"] .template-preview {
  color: #1c3f70;
  background: #e9f1ff;
}

.template-card .btn {
  width: fit-content;
}

.digital-diagnostic {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(0, 229, 255, 0.08), transparent 48%),
    var(--card);
}

.digital-diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: 52px;
}

.digital-diagnostic .subtitle {
  max-width: 58ch;
  margin-bottom: 22px;
}

.digital-diagnostic-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.digital-diagnostic-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.digital-diagnostic-steps strong {
  color: var(--accent);
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
}

.digital-diagnostic-steps span {
  color: var(--muted);
  line-height: 1.5;
}

.service-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.service-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1px solid var(--line);
  font-size: 0.7rem;
}

.icon-card-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card) 86%, #113a7c 14%);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: color-mix(in srgb, var(--text) 86%, #79a5ea 14%);
}

.mini-card span {
  color: var(--accent);
}

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

.stats div {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  padding: 13px;
  text-align: center;
}

.stats strong {
  display: block;
  font-size: 1.35rem;
}

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

.portfolio-section-header {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.portfolio-section-header .section-label,
.portfolio-section-header h2,
.portfolio-section-header .subtitle {
  margin: 0;
}

.portfolio-marquee {
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.portfolio-marquee-shell {
  position: relative;
  z-index: 1;
  margin-top: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.portfolio-quote-cta {
  display: flex;
  width: fit-content;
  margin: 24px auto 0;
  justify-content: center;
  text-align: center;
}

.portfolio-marquee-shell .portfolio-marquee {
  margin-top: 0;
}

.portfolio-marquee-nav {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 88%, #0f3d8a 12%);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.portfolio-marquee-nav:hover,
.portfolio-marquee-nav:focus-visible {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 64%, var(--line) 36%);
  background: color-mix(in srgb, var(--card) 76%, #1755b8 24%);
  box-shadow: 0 12px 24px rgba(3, 20, 52, 0.34);
  outline: none;
}

.portfolio-marquee-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.portfolio-marquee-nav svg {
  width: 18px;
  height: 18px;
}

.portfolio-empty {
  width: 100%;
  border: 1px dashed color-mix(in srgb, var(--line) 72%, #73afff 28%);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: color-mix(in srgb, var(--card) 84%, #0e326d 16%);
}

.portfolio-grid.is-marquee {
  margin-top: 0;
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: portfolio-marquee var(--marquee-duration, 34s) linear infinite;
  will-change: transform;
}

.portfolio-grid.is-marquee .project-card {
  flex: 0 0 min(360px, 82vw);
}

.portfolio-marquee:hover .portfolio-grid.is-marquee {
  animation-play-state: paused;
}

@keyframes portfolio-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.project-card {
  overflow: hidden;
  min-height: 280px;
  display: grid;
  grid-template-rows: 180px auto;
  color: var(--text);
  border-color: var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.project-card.portfolio-template-card {
  min-height: 0;
  grid-template-rows: 180px auto auto auto;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, #79b3ff 18%);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card) 94%, #133f86 6%),
    color-mix(in srgb, var(--card) 98%, #091a3f 2%)
  );
  box-shadow: 0 18px 36px rgba(2, 16, 48, 0.24);
}

.project-card.portfolio-template-card .project-link {
  width: fit-content;
}

.project-card.portfolio-template-card .template-title-row {
  padding: 16px 16px 0;
  align-items: flex-start;
}

.project-card.portfolio-template-card h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.project-card.portfolio-template-card .template-preview {
  margin: 8px 16px 0;
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--muted) 72%, #a9cfff 28%);
}

.project-card.portfolio-template-card .project-legend {
  margin: 10px 16px 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: color-mix(in srgb, var(--text) 94%, #c1dcff 6%);
}

.project-card.portfolio-template-card > p:last-child {
  margin: 8px 16px 16px;
  font-size: 0.9rem;
  line-height: 1.58;
  color: color-mix(in srgb, var(--muted) 88%, #d8e8ff 12%);
}

.portfolio-project-link {
  margin: 0 16px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 66%, var(--line) 34%);
  border-radius: 999px;
  background: linear-gradient(135deg, #1f72ff, #00b7ff);
  color: #f8fbff;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.portfolio-project-link:hover,
.portfolio-project-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(31, 114, 255, 0.24);
  border-color: #66b7ff;
  outline: none;
}

.portfolio-project-link.is-disabled {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.project-status-badge {
  width: fit-content;
  margin: 0 12px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--text) 82%, #93b7ec 18%);
  background: color-mix(in srgb, var(--card) 84%, #0f3878 16%);
}

.project-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: color-mix(in srgb, var(--card) 78%, #174a9d 22%);
}

.project-content {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.project-content h3 {
  font-size: 1rem;
}

.project-content p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 78%, #84aee8 22%);
}

.project-actions {
  margin-top: 2px;
  display: flex;
  align-items: center;
}

.project-link[aria-disabled="true"] {
  opacity: 0.7;
  cursor: default;
}

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

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  margin: 28px auto 0;
  align-items: stretch;
}

.testimonials blockquote {
  margin: 0;
  width: 100%;
  display: grid;
  gap: 14px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--card) 96%, #123b63 4%),
    color-mix(in srgb, var(--card) 90%, #0d245b 10%)
  );
  padding: 24px 24px 28px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(10, 37, 64, 0.14);
  border: 1px solid var(--line);
  transition: all 0.4s ease;
}

.testimonials blockquote:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(10, 37, 64, 0.2);
}

.testimonials p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 90%, #8bb9ff 10%);
  font-size: 1rem;
  line-height: 1.7;
}

.testimonials cite {
  color: var(--accent);
  font-style: normal;
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.testimonials .stars {
  color: #fbbc04;
  font-size: 22px;
  letter-spacing: 3px;
  margin-bottom: 5px;
}

.testimonials.is-review-carousel {
  display: block;
  position: relative;
  max-width: 720px;
}

.testimonials.is-review-carousel blockquote {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
}

.testimonials.is-review-carousel blockquote.is-review-measuring {
  position: relative;
  inset: auto;
  visibility: hidden;
  opacity: 0;
  transform: none;
}

.testimonials.is-review-carousel blockquote.is-review-active {
  position: relative;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  animation: review-card-enter 0.45s ease both;
}

@keyframes review-card-enter {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

  .testimonials.is-review-carousel {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonials.is-review-carousel blockquote.is-review-active {
    animation: none;
  }
}

.budget-wrap {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 16px;
}

.budget-form {
  margin-top: 14px;
  display: grid;
  gap: 14px;
}

.budget-form label,
.budget-form legend {
  font-weight: 600;
}

.segment-helper {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.budget-form select,
.budget-form input,
.budget-form textarea,
.budget-form fieldset,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--input-bg);
  font: inherit;
  color: var(--input-text);
  padding: 11px;
}

.budget-form select,
.budget-form input,
.budget-form textarea,
.budget-form fieldset {
  border-color: color-mix(in srgb, var(--brand) 62%, var(--line) 38%);
  box-shadow: 0 0 0 1px rgba(31, 114, 255, 0.08);
}

.budget-form select:focus,
.budget-form input:focus,
.budget-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 114, 255, 0.16);
}

.budget-form input::placeholder,
.budget-form textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--input-placeholder);
}

.budget-form fieldset {
  display: grid;
  gap: 10px;
}

.whatsapp-structure-note {
  display: block;
  margin-top: -6px;
  padding: 9px 11px;
  border-left: 3px solid #00e5ff;
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 85%, #0d4664 15%);
  color: color-mix(in srgb, var(--text) 88%, #b9f7ff 12%);
  font-size: 0.81rem;
  line-height: 1.45;
}

.goal-picker {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.goal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.goal-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

.goal-option input[type="checkbox"] {
  width: auto;
  margin: 2px 0 0;
  padding: 0;
}

.goal-option input[type="checkbox"]:disabled + span {
  opacity: 0.55;
}

.goal-feedback {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.goal-feedback.is-warning {
  color: #c97900;
}

.budget-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 20px;
}

.price {
  margin: 8px 0;
  font-size: 2rem;
  color: var(--accent);
  font-family: "Orbitron", sans-serif;
}

.installments {
  color: var(--muted);
  margin: 0;
}

.recommendation-text {
  margin: 8px 0;
  color: color-mix(in srgb, var(--text) 80%, #7da9ea 20%);
}

.recommendation-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--text);
}

.recommendation-list li {
  margin-bottom: 6px;
}

.recommendation-list li strong {
  color: color-mix(in srgb, var(--text) 82%, #88b6ff 18%);
}

.recommend-reading-step {
  --reading-order: 0;
}

.budget-result.is-reading-guide .recommend-reading-step {
  animation: recommend-reading-step 0.55s ease both;
  animation-delay: calc(var(--reading-order) * 120ms);
}

.recommend-rank-item {
  border-left: 2px solid rgba(0, 229, 255, 0.35);
  padding: 7px 10px;
  margin-bottom: 7px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 88%, #0b3f63 12%);
}

.recommend-rank-item strong {
  color: #00e5ff;
}

.budget-result.is-reading-guide .recommend-rank-item {
  animation: recommend-rank-pop 0.5s ease both;
  animation-delay: calc(var(--rank-order, 0) * 120ms + 420ms);
}

.recommendation-selection-box {
  margin: 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--card) 82%, #174ea6 18%),
    color-mix(in srgb, var(--card) 90%, #0f3674 10%)
  );
}

.recommendation-selection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.recommendation-selection-head strong {
  font-size: 0.9rem;
  color: color-mix(in srgb, #eef6ff 92%, #9cd0ff 8%);
}

.recommendation-selection-head span {
  font-size: 0.84rem;
  color: #e8f5ff;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  background: linear-gradient(
    120deg,
    rgba(91, 165, 255, 0.28),
    rgba(55, 122, 215, 0.2),
    rgba(91, 165, 255, 0.28)
  );
  background-size: 220% 100%;
  border: 1px solid rgba(145, 201, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 0 1px rgba(42, 119, 221, 0.2),
    0 7px 16px rgba(6, 35, 86, 0.28);
  animation: recommend-chip-shine 3.8s linear infinite;
}

.recommend-project-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.recommend-project-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, #6ea9ff 18%);
  border-radius: 10px;
  background: color-mix(in srgb, var(--card) 94%, #0d2d60 6%);
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.recommend-project-option:hover,
.recommend-project-option:focus-within {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand) 62%, var(--line) 38%);
  background: color-mix(in srgb, var(--card) 84%, #174a96 16%);
  box-shadow: 0 10px 18px rgba(3, 20, 52, 0.2);
}

.recommend-project-option input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1.5px solid color-mix(in srgb, var(--line) 70%, #8bc0ff 30%);
  border-radius: 4px;
  background: transparent;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.recommend-project-option input::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  transform: scale(0);
  transition: transform 0.18s ease;
}

.recommend-project-option input:checked {
  border-color: var(--brand);
  background: color-mix(in srgb, var(--brand) 16%, transparent 84%);
}

.recommend-project-option input:checked::after {
  transform: scale(1);
}

.recommend-project-option span {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}

.recommendation-selection-box small {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(153, 204, 255, 0.22);
  background: linear-gradient(
    135deg,
    rgba(142, 196, 255, 0.18),
    rgba(46, 115, 214, 0.16)
  );
  color: #eef7ff;
  font-weight: 700;
  line-height: 1.45;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 18px rgba(3, 22, 52, 0.24);
}

#recommend-selected-type {
  letter-spacing: 0.01em;
  text-shadow:
    0 0 10px rgba(156, 214, 255, 0.45),
    0 0 22px rgba(74, 148, 255, 0.24);
}

#recommend-suggested-type {
  position: relative;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  border-left: 3px solid #78bcff;
  background: linear-gradient(
    122deg,
    rgba(126, 187, 255, 0.22),
    rgba(57, 128, 228, 0.2),
    rgba(126, 187, 255, 0.22)
  );
  background-size: 230% 100%;
  animation:
    recommend-suggestion-shine 4.2s ease-in-out infinite,
    recommend-suggestion-pulse 2.4s ease-in-out infinite;
}

#recommend-suggested-type .recommend-summary-label {
  display: inline-block;
  margin-right: 4px;
  color: #c7f6ff;
  font-weight: 800;
}

/* Contrast variants for the project recommendation controls. */
html[data-theme="dark"] .recommendation-selection-box {
  border-color: #2d5c9c;
  background: linear-gradient(135deg, #0a2147, #0d2d60);
}

html[data-theme="dark"] .recommendation-selection-head strong,
html[data-theme="dark"] .recommend-project-option,
html[data-theme="dark"] .recommendation-selection-box small {
  color: #eef7ff;
}

html[data-theme="light"] .recommendation-selection-box {
  border-color: #a9c8ee;
  background: linear-gradient(135deg, #f8fbff, #e5f1ff);
  box-shadow: 0 10px 22px rgba(21, 77, 148, 0.1);
}

html[data-theme="light"] .recommendation-selection-head strong {
  color: #102f59;
}

html[data-theme="light"] .recommendation-selection-head span {
  color: #0c3f85;
  background: #d9ebff;
  border-color: #8dbced;
  box-shadow: none;
}

html[data-theme="light"] .recommend-project-option {
  color: #173a67;
  border-color: #bad2ec;
  background: #ffffff;
}

html[data-theme="light"] .recommend-project-option:hover,
html[data-theme="light"] .recommend-project-option:focus-within {
  border-color: #2771c5;
  background: #e8f3ff;
  box-shadow: 0 7px 16px rgba(25, 91, 168, 0.14);
}

html[data-theme="light"] .recommend-project-option input {
  border-color: #5d8fc7;
  background: #ffffff;
}

html[data-theme="light"] .recommendation-selection-box small,
html[data-theme="light"] #recommend-suggested-type {
  color: #174574;
  border-color: #9fc6ed;
  border-left-color: #2875ca;
  background: #dceeff;
  box-shadow: none;
}

html[data-theme="light"] #recommend-suggested-type .recommend-summary-label {
  color: #0c4d97;
}

#recommend-suggested-type::after {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 42%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-18deg);
  animation: recommend-sweep 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes recommend-chip-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 220% 50%;
  }
}

@keyframes recommend-suggestion-shine {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes recommend-suggestion-pulse {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 10px 18px rgba(3, 22, 52, 0.2);
    border-color: rgba(153, 204, 255, 0.25);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 12px 24px rgba(16, 83, 170, 0.32),
      0 0 0 1px rgba(115, 188, 255, 0.2);
    border-color: rgba(153, 204, 255, 0.52);
  }
}

@keyframes recommend-sweep {
  0% {
    left: -45%;
    opacity: 0;
  }
  14% {
    opacity: 0.45;
  }
  48% {
    left: 118%;
    opacity: 0;
  }
  100% {
    left: 118%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recommendation-selection-head span,
  #recommend-suggested-type,
  #recommend-suggested-type::after {
    animation: none;
  }

  .budget-result.is-reading-guide .recommend-reading-step,
  .budget-result.is-reading-guide .recommend-rank-item {
    animation: none;
  }
}

.ai-suggestion-box {
  margin: 10px 0 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 12px;
  background: color-mix(in srgb, var(--card) 88%, #10397d 12%);
}

.ai-suggestion-box h4 {
  margin: 0 0 7px;
}

.ai-suggestion-box p {
  margin: 0;
  color: color-mix(in srgb, var(--text) 80%, #78a8ef 20%);
}

.ai-suggestion-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-suggestion-box small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.recommendation-selection-box.is-focus-pulse {
  border-color: #00e5ff;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.4),
    0 14px 26px rgba(0, 229, 255, 0.22);
  animation: recommend-focus-box 1.05s ease;
}

.recommend-template-card {
  margin: 10px 0 12px;
}

.recommend-template-card .template-card {
  padding: 12px;
  box-shadow: none;
}

.recommend-template-card .template-card.is-recommended {
  border-color: color-mix(in srgb, var(--brand) 62%, var(--line) 38%);
  animation: recommended-card-enter 0.35s ease;
}

.recommend-template-card .template-card.is-top-recommended {
  border-width: 2px;
  border-color: #00e5ff;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.36),
    0 18px 32px rgba(0, 229, 255, 0.18);
}

.recommend-template-card .template-card.is-top-recommended.is-cyan-flash {
  animation:
    recommended-card-enter 0.35s ease,
    recommend-card-cyan-flash 1.05s ease;
}

.recommend-template-card .template-card .btn {
  width: 100%;
}

.payment-methods {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.payment-methods h4 {
  margin: 0 0 8px;
}

.payment-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 90%, #0d315f 10%);
  font-weight: 600;
  color: color-mix(in srgb, var(--text) 92%, #cfe1ff 8%);
}

.payment-chip svg {
  width: 16px;
  height: 16px;
}

.payment-chip-debit svg {
  color: #8fd3ff;
}

.payment-chip-credit svg {
  color: #a9b8ff;
}

.payment-chip-pix svg {
  color: #6de0c8;
}

.payment-chip-provider {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line) 58%);
  background: color-mix(in srgb, var(--card) 82%, #114a8d 18%);
}

.payment-chip-provider svg {
  color: #a5d7ff;
}

.card-flags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--text) 84%, #c9dcff 16%);
  background: color-mix(in srgb, var(--card) 94%, #08224b 6%);
  font-weight: 700;
}

.card-flag i {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 20px;
  border-radius: 6px;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

.card-flag-visa i {
  background: linear-gradient(135deg, #1a4cd9, #78a8ff);
}

.card-flag-visa i::before {
  content: "V";
  font-size: 0.78rem;
  font-weight: 900;
  font-style: italic;
  color: var(--heading);
  letter-spacing: 0.02em;
}

.card-flag-mastercard i {
  background:
    radial-gradient(circle at 38% 50%, #ff5b4d 0 42%, transparent 44%),
    radial-gradient(circle at 62% 50%, #ffb347 0 42%, transparent 44%),
    linear-gradient(135deg, #161b29, #2a3042);
}

@keyframes recommended-card-enter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes recommend-reading-step {
  from {
    opacity: 0.2;
    transform: translateY(8px);
    filter: saturate(0.86);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: saturate(1);
  }
}

@keyframes recommend-rank-pop {
  0% {
    transform: translateX(-6px);
    border-left-color: rgba(0, 229, 255, 0.16);
  }
  65% {
    transform: translateX(0);
    border-left-color: rgba(0, 229, 255, 0.92);
  }
  100% {
    border-left-color: rgba(0, 229, 255, 0.45);
  }
}

@keyframes recommend-focus-box {
  0% {
    box-shadow:
      0 0 0 0 rgba(0, 229, 255, 0.42),
      0 0 0 0 rgba(0, 229, 255, 0);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 229, 255, 0.55),
      0 0 0 10px rgba(0, 229, 255, 0.1);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(0, 229, 255, 0.4),
      0 14px 26px rgba(0, 229, 255, 0.22);
  }
}

@keyframes recommend-card-cyan-flash {
  0% {
    box-shadow:
      0 0 0 1px rgba(0, 229, 255, 0.2),
      0 14px 24px rgba(0, 229, 255, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 2px rgba(0, 229, 255, 0.5),
      0 20px 34px rgba(0, 229, 255, 0.26);
  }
  100% {
    box-shadow:
      0 0 0 1px rgba(0, 229, 255, 0.36),
      0 18px 32px rgba(0, 229, 255, 0.18);
  }
}

.bonus,
.guarantee {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.bonus ul {
  margin: 7px 0;
  padding-left: 18px;
}

.cta-banner {
  padding-top: 24px;
}

.cta-banner-inner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    130deg,
    color-mix(in srgb, var(--card) 50%, #082468 50%) 0%,
    color-mix(in srgb, var(--brand-dark) 58%, var(--card) 42%) 100%
  );
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 24px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.contact-map-wrap {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.contact-map {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.contact-map-wrap a {
  color: var(--accent);
  text-decoration: none;
}

.contact-map-wrap a:hover {
  text-decoration: underline;
}

.admin-form {
  max-width: 760px;
}

.admin-supabase-box {
  margin: 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(
      circle at 100% 0%,
      color-mix(in srgb, var(--brand) 18%, transparent 82%),
      transparent 42%
    ),
    color-mix(in srgb, var(--card) 90%, #113a80 10%);
  display: grid;
  gap: 10px;
}

.admin-supabase-box p {
  margin: 0;
  color: var(--muted);
}

.admin-supabase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-supabase-head h3 {
  margin: 0;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--brand) 54%, var(--line) 46%);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--brand) 72%, #fff 28%);
  background: color-mix(in srgb, var(--ghost-bg) 88%, #114aa6 12%);
}

.admin-supabase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.admin-supabase-grid label {
  display: grid;
  gap: 4px;
}

.admin-supabase-grid input {
  width: 100%;
}

.admin-supabase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-sync-views {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
}

.admin-sync-views input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

#supabase-status {
  color: color-mix(in srgb, var(--text) 82%, #8ab4f0 18%);
  font-weight: 600;
}

.admin-login-form {
  max-width: 480px;
  margin-inline: auto;
}

#admin-login .container {
  text-align: center;
}

#admin-login .admin-login-form {
  text-align: left;
}

.admin-access-row {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card) 88%, #10356f 12%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-access-row small {
  color: color-mix(in srgb, var(--text) 82%, #9ab6e8 18%);
  font-weight: 600;
}

.admin-project-head {
  margin-top: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-project-grid {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: color-mix(in srgb, var(--card) 90%, #123d86 10%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

body.admin-authenticated .urgent-bar,
body.admin-authenticated header,
body.admin-authenticated main > section:not(#admin),
body.admin-authenticated footer,
body.admin-authenticated .floating-whatsapp {
  display: none !important;
}

body.admin-authenticated #admin {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#admin-login,
#admin {
  opacity: 1;
  transform: translateY(0);
}

.field-preview,
.field-description,
.field-quick,
.field-submit {
  grid-column: 1 / -1;
}

.admin-cover-preview-box {
  display: grid;
  gap: 8px;
}

.admin-cover-preview-box img {
  width: min(220px, 100%);
  border-radius: 10px;
  border: 1px solid var(--line);
  display: block;
}

.admin-cover-upload-field {
  display: grid;
  gap: 4px;
}

.admin-cover-upload-field input {
  width: 100%;
}

.admin-cover-upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.field-url small,
.admin-quick-actions small {
  color: color-mix(in srgb, var(--text) 74%, #78a1e3 26%);
  font-weight: 600;
}

.field-submit {
  display: grid;
  gap: 8px;
}

.admin-submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.external-connect-box {
  margin-top: 10px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px;
  background: color-mix(in srgb, var(--card) 88%, #154491 12%);
  display: grid;
  gap: 8px;
}

.external-connect-box strong {
  font-size: 0.92rem;
}

.external-connect-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-quick-actions {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.admin-quick-actions small {
  color: var(--muted);
  font-weight: 600;
}

#external-connect-status {
  color: color-mix(in srgb, var(--text) 78%, #7fa8e8 22%);
  font-weight: 600;
}

#admin-login-feedback {
  color: color-mix(in srgb, var(--brand) 62%, var(--text) 38%);
  font-weight: 600;
}

#admin-feedback {
  color: var(--accent);
  font-weight: 600;
}

#admin-manager-feedback {
  color: color-mix(in srgb, var(--brand) 62%, var(--text) 38%);
  font-weight: 600;
}

#sync-urls-feedback {
  color: color-mix(in srgb, var(--brand) 62%, var(--text) 38%);
  font-weight: 600;
}

.admin-project-manager {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.admin-project-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: color-mix(in srgb, var(--card) 90%, #133a7d 10%);
  display: grid;
  gap: 8px;
}

.admin-project-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.admin-project-item p {
  margin: 0;
  color: var(--muted);
}

.admin-project-url-field {
  display: grid;
  gap: 4px;
  color: color-mix(in srgb, var(--text) 82%, #9ab6e8 18%);
  font-weight: 600;
}

.admin-project-url-field input {
  width: 100%;
  color: var(--muted);
  cursor: text;
}

.admin-project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-project-inline-controls {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-project-inline-controls label {
  display: grid;
  gap: 4px;
  color: color-mix(in srgb, var(--text) 82%, #9ab6e8 18%);
  font-weight: 600;
}

.admin-project-inline-controls input,
.admin-project-inline-controls select {
  width: 100%;
}

.admin-submit-help {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-project-status {
  font-weight: 700;
}

.admin-project-status.is-active {
  color: #2bd47e;
}

.admin-project-status.is-inactive {
  color: #ff8c8c;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 44px 0 20px;
}

.footer-inner {
  display: grid;
  gap: 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(170px, 0.7fr));
  gap: 28px;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.footer-brand p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer-cta {
  color: var(--heading);
  font-weight: 700;
  text-decoration: none;
}

.footer-cta::after {
  content: " \2192";
  color: var(--accent);
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-nav h3,
.footer-contact h3 {
  margin: 0 0 4px;
  color: var(--heading);
  font-family: "Orbitron", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-contact a,
.footer-legal > a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-legal > a:hover,
.footer-legal > a:focus-visible,
.footer-cta:hover,
.footer-cta:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-meta {
  display: grid;
  gap: 4px;
}

.footer-meta p {
  margin: 0;
}

.footer-dev {
  color: color-mix(in srgb, var(--brand) 58%, var(--text) 42%);
  font-weight: 600;
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-legal .admin-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-legal .admin-icon-link svg {
  width: 15px;
  height: 15px;
}
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: linear-gradient(135deg, #0fbcf9 0%, #00a856 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    0 16px 36px rgba(0, 168, 86, 0.28),
    0 0 0 4px rgba(0, 229, 255, 0.18);
  z-index: 999;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.floating-whatsapp-message {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 0;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 8px;
  background: #ffffff;
  color: #12325f;
  box-shadow: 0 12px 26px rgba(0, 16, 50, 0.22);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1;
  animation: whatsapp-message-write 4.5s steps(24, end) 1 forwards;
}

.floating-whatsapp img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.04);
  box-shadow:
    0 20px 44px rgba(0, 168, 86, 0.34),
    0 0 0 6px rgba(0, 229, 255, 0.22);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

.floating-whatsapp:hover .floating-whatsapp-message,
.floating-whatsapp:focus-visible .floating-whatsapp-message {
  width: max-content;
  padding: 10px 14px;
  animation: none;
}

@keyframes whatsapp-message-write {
  0%,
  12% {
    width: 0;
    padding-inline: 0;
  }
  55%,
  76% {
    width: 183px;
    padding-inline: 14px;
  }
  100% {
    opacity: 0;
  }
  88%,
  100% {
    width: 0;
    padding-inline: 0;
  }
}

@media (max-width: 640px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp-message {
    width: max-content;
    padding-inline: 14px;
    opacity: 1;
    animation: none;
  }
}
.section-reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

@media (min-width: 821px) and (max-width: 1100px) {
  .container {
    width: min(1120px, 94vw);
  }

  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 12px;
    font-size: 0.93rem;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .hero-grid,
  .profile-grid,
  .split,
  .admin-supabase-grid,
  .admin-project-grid,
  .budget-wrap,
  .contact-wrap,
  .cta-banner-inner {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .cards,
  .template-grid,
  .icon-card-grid,
  .reference-metrics,
  .portfolio-grid,
  .testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .digital-diagnostic-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-legal {
    justify-content: flex-start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
  }
}

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

  .hero {
    padding: 54px 0 24px;
  }

  h1 {
    font-size: clamp(1.8rem, 8vw, 2.45rem);
    margin-top: 10px;
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }

  .container {
    width: min(1120px, 92vw);
  }

  .topbar-inner {
    gap: 10px;
    padding: 10px 0;
  }

  .bg-floating-icons {
    opacity: 0.2;
  }

  .bg-floating-icons .float-icon {
    width: 44px;
    height: 44px;
  }

  .bg-floating-icons .float-icon svg {
    width: 21px;
    height: 21px;
  }

  .desktop-only {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 14px 4vw;
    background: var(--mobile-nav-bg);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .brand,
  .brand-mini {
    gap: 8px;
    font-size: 0.95rem;
  }

  .brand img,
  .brand-mini img {
    width: 40px;
    height: 40px;
  }

  .hero-grid,
  .profile-grid,
  .split,
  .steps-grid,
  .cards,
  .template-grid,
  .icon-card-grid,
  .reference-metrics,
  .stats,
  .portfolio-grid,
  .testimonials,
  .budget-wrap,
  .cta-banner-inner,
  .contact-wrap,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .goal-options {
    grid-template-columns: 1fr;
  }

  .recommend-project-picker {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    margin-top: 18px;
    gap: 10px;
  }

  .tag {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .subtitle {
    font-size: 0.96rem;
    line-height: 1.5;
  }

  .hero-card,
  .profile-photo-wrap,
  .steps-grid article,
  .testimonials blockquote,
  .reference-metrics article,
  .contact-form,
  .budget-result,
  .template-card,
  .panel {
    padding: 16px;
  }

  .about-copy,
  .panel-group,
  .contact-wrap,
  .budget-wrap {
    gap: 14px;
  }

  .budget-form,
  .contact-form {
    gap: 10px;
  }

  .budget-form select,
  .budget-form input,
  .budget-form textarea,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 10px;
    font-size: 0.96rem;
  }

  .payment-methods {
    margin-top: 8px;
  }

  .payment-chips,
  .card-flags {
    gap: 8px;
  }

  .payment-chip,
  .card-flag {
    font-size: 0.85rem;
  }

  .testimonials {
    gap: 12px;
  }

  .footer {
    padding: 22px 0 26px;
  }

  .footer-nav {
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.92rem;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .theme-toggle {
    gap: 5px;
  }

  .hero-actions .btn,
  #cta-whatsapp {
    width: 100%;
  }

  .social-proof-cta {
    width: fit-content;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-map {
    aspect-ratio: 4 / 5;
    min-height: 300px;
  }

  .contact-map-wrap a {
    word-break: break-word;
    font-size: 0.92rem;
  }

  .portfolio-marquee-shell {
    grid-template-columns: 1fr;
  }

  .portfolio-marquee {
    overflow: hidden;
  }

  .portfolio-marquee-nav {
    display: none;
  }

  .portfolio-grid.is-marquee .project-card {
    flex-basis: min(300px, 84vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-grid.is-marquee {
    animation: none;
  }

  .bg-floating-icons .float-icon {
    animation: none;
  }

  .urgent-bar.is-typing::after {
    animation: none;
  }
}
/* ================================
   PAGAMENTO PREMIUM
================================ */

.payment-description {
  margin: 10px 0 20px;

  line-height: 1.6;

  color: var(--text-secondary);
}

/* CARD PRINCIPAL */

.payment-highlight {
  position: relative;

  overflow: hidden;

  display: flex;

  align-items: center;

  gap: 18px;

  margin-top: 28px;

  padding: 24px;

  border-radius: 22px;

  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.95),
    rgba(37, 99, 235, 0.95)
  );

  color: var(--heading);

  box-shadow:
    0 20px 50px rgba(13, 110, 253, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);

  backdrop-filter: blur(12px);

  animation: paymentFloat 4s ease-in-out infinite;
}

/* EFEITO DE LUZ PASSANDO */

.payment-highlight::before {
  content: "";

  position: absolute;

  top: 0;

  left: -120%;

  width: 80%;

  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );

  transform: skewX(-25deg);

  animation: paymentShine 4s infinite;
}

/* ÍCONE */

.payment-highlight-icon {
  position: relative;

  z-index: 2;

  width: 68px;

  height: 68px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 34px;

  background: rgba(255, 255, 255, 0.18);

  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);

  animation: paymentPulse 2.5s infinite;
}

.payment-highlight div:last-child {
  position: relative;

  z-index: 2;
}

.payment-highlight strong {
  display: block;

  font-size: 1.18rem;

  margin-bottom: 8px;

  letter-spacing: 0.2px;
}

.payment-highlight p {
  margin: 0;

  line-height: 1.6;

  font-size: 0.98rem;
}

.payment-highlight p strong {
  display: inline;

  font-size: 1.15rem;

  color: var(--heading);

  text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.payment-highlight small {
  display: block;

  margin-top: 10px;

  opacity: 0.9;
}

/* ANIMAÇÕES */

@keyframes paymentFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes paymentPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes paymentShine {
  0% {
    left: -120%;
  }

  40% {
    left: 140%;
  }

  100% {
    left: 140%;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .payment-highlight {
    flex-direction: column;

    text-align: center;

    padding: 22px;
  }

  .payment-highlight-icon {
    width: 60px;

    height: 60px;
  }
} /* ==================================================
   PAYMENT PREMIUM ULTRA
   Vilarinho Tech Solutions
================================================== */

.payment-description {
  margin: 12px 0 22px;

  max-width: 520px;

  line-height: 1.7;

  color: var(--text-secondary);
}

/* CONTAINER PRINCIPAL */

.payment-highlight {
  position: relative;

  isolation: isolate;

  overflow: hidden;

  display: flex;

  align-items: center;

  gap: 22px;

  margin-top: 30px;

  padding: 28px;

  border-radius: 26px;

  background: linear-gradient(
    135deg,
    rgba(8, 47, 110, 0.95),
    rgba(15, 118, 255, 0.85)
  );

  border: 1px solid rgba(255, 255, 255, 0.18);

  color: var(--heading);

  backdrop-filter: blur(18px);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  animation: premiumFloat 5s ease-in-out infinite;
}

/* BRILHO INTERNO */

.payment-highlight::before {
  content: "";

  position: absolute;

  inset: -2px;

  background: linear-gradient(
    120deg,
    transparent 20%,

    rgba(255, 255, 255, 0.35),
    transparent 60%
  );

  transform: translateX(-120%);

  animation: premiumLight 6s infinite;

  z-index: -1;
}

/* GLOW DE FUNDO */

.payment-highlight::after {
  content: "";

  position: absolute;

  width: 180px;

  height: 180px;

  right: -50px;

  bottom: -80px;

  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.35),
    transparent 70%
  );

  filter: blur(20px);

  animation: glowMove 5s infinite alternate;
}

/* ÍCONE PREMIUM */

.payment-highlight-icon {
  position: relative;

  width: 78px;

  height: 78px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 24px;

  font-size: 38px;

  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.25),
    rgba(255, 255, 255, 0.08)
  );

  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.2),
    0 15px 35px rgba(0, 0, 0, 0.25);

  animation: iconPremium 3s infinite;
}

/* TEXTO */

.payment-highlight strong {
  display: block;

  font-size: 1.25rem;

  font-weight: 800;

  letter-spacing: 0.3px;

  margin-bottom: 10px;
}

.payment-highlight p {
  margin: 0;

  font-size: 1rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.95);
}

/* DESTAQUE 12X */

.payment-highlight p strong {
  display: inline;

  color: var(--heading);

  font-size: 1.3rem;

  font-weight: 900;

  background: linear-gradient(90deg, #ffffff, #bfdbfe);

  background-clip: text;
  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

.payment-highlight small {
  display: block;

  margin-top: 12px;

  font-size: 0.9rem;

  color: rgba(255, 255, 255, 0.8);
}

/* ANIMAÇÕES */

@keyframes premiumFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes premiumLight {
  0% {
    transform: translateX(-130%);
  }

  45% {
    transform: translateX(130%);
  }

  100% {
    transform: translateX(130%);
  }
}

@keyframes glowMove {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-40px, -20px);
  }
}

@keyframes iconPremium {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

/* MOBILE PREMIUM */

@media (max-width: 768px) {
  .payment-highlight {
    flex-direction: column;

    text-align: center;

    padding: 25px 20px;
  }

  .payment-highlight-icon {
    width: 68px;

    height: 68px;
  }
}

/* =====================================================
   PAYMENT PREMIUM MINIMAL
   Elegant SaaS Style
===================================================== */

.payment-description {
  margin: 12px 0 24px;

  max-width: 520px;

  font-size: 0.95rem;

  line-height: 1.7;

  color: var(--text-secondary);
}

/* CARD PREMIUM */

.payment-highlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--card) 92%, var(--accent) 8%),
    color-mix(in srgb, var(--card) 86%, var(--brand) 14%)
  );
  border: 1px solid color-mix(in srgb, var(--line) 82%, var(--accent) 18%);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* LINHA DE LUZ SUPERIOR */

.payment-highlight::before {
  content: "";

  position: absolute;

  top: 0;

  left: 10%;

  width: 80%;

  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(96, 165, 250, 0.9),
    transparent
  );
}

/* BRILHO SUTIL */

.payment-highlight::after {
  content: "";

  position: absolute;

  width: 180px;

  height: 180px;

  right: -80px;

  top: -80px;

  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.18),
    transparent 70%
  );

  pointer-events: none;
}

/* ÍCONE */

.payment-highlight-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 34px;
  background: color-mix(in srgb, var(--accent) 16%, transparent 84%);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, var(--line) 64%);
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(16, 77, 203, 0.12);
}

/* TEXTO PRINCIPAL */

.payment-highlight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--title);
}

.payment-highlight p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* DESTAQUE 12X */

.payment-highlight p strong {
  display: inline;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
}

/* TEXTO INFERIOR */

.payment-highlight small {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Keep the payment callout readable against its blue surface in every theme. */
.payment-highlight {
  background: linear-gradient(145deg, #0756c8, #1678ee);
  border-color: #78b8ff;
}

.payment-highlight strong,
.payment-highlight p,
.payment-highlight p strong,
.payment-highlight small {
  color: #ffffff;
  text-shadow: none;
}

.payment-highlight p strong {
  color: #e8f4ff;
  -webkit-text-fill-color: #e8f4ff;
}

html[data-theme="light"] .payment-highlight {
  background: linear-gradient(145deg, #0b63d1, #3289f4);
  border-color: #0a55b5;
}

html[data-theme="light"] .payment-highlight strong,
html[data-theme="light"] .payment-highlight p,
html[data-theme="light"] .payment-highlight p strong,
html[data-theme="light"] .payment-highlight small {
  color: #ffffff;
}

html[data-theme="light"] .payment-highlight p strong {
  -webkit-text-fill-color: #ffffff;
}

/* HOVER PREMIUM */

.payment-highlight {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.payment-highlight:hover {
  transform: translateY(-4px);

  border-color: rgba(96, 165, 250, 0.45);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(59, 130, 246, 0.12);
}

/* MOBILE */

@media (max-width: 768px) {
  .payment-highlight {
    flex-direction: column;

    text-align: center;

    padding: 24px 20px;
  }
}

/* ===========================
   RESPONSIVIDADE MOBILE
=========================== */

@media (max-width: 991px) {
  .container {
    width: 94%;
  }

  /* MENU */

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .topbar-inner {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 18px;
    padding: 20px 0;
    text-align: center;
    background: var(--card);
    border-top: 1px solid var(--line);
  }

  .nav.active {
    display: flex;
  }

  /* HERO */

  .hero {
    padding: 40px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-brand-badge {
    width: 100%;
    justify-content: center;
  }

  .hero-card {
    padding: 18px;
  }

  /* SEÇÕES */

  .split,
  #sobre .split,
  .budget-wrap,
  .contact-wrap,
  .profile-grid,
  .cta-banner-inner {
    grid-template-columns: 1fr;
  }

  .cards,
  .steps-grid,
  .portfolio-grid,
  .template-grid,
  .stats,
  .reference-metrics,
  .icon-card-grid {
    grid-template-columns: 1fr;
  }

  .goal-options,
  .recommend-project-picker {
    grid-template-columns: 1fr;
  }

  .company-badge {
    flex-direction: column;
    text-align: center;
  }

  .company-info {
    text-align: center;
  }

  .profile-photo {
    max-height: 380px;
  }

  .project-card {
    min-height: auto;
  }

  .project-cover {
    height: 220px;
  }

  .project-card.portfolio-template-card {
    grid-template-rows: 220px auto;
  }

  .portfolio-marquee-shell {
    grid-template-columns: 1fr;
  }

  .portfolio-marquee-nav {
    display: none;
  }

  .testimonials {
    max-width: 100%;
    margin: 25px auto;
  }

  .testimonials blockquote {
    padding: 22px;
  }

  .budget-form,
  .contact-form {
    padding: 18px;
  }

  .price {
    font-size: 1.8rem;
  }

  iframe,
  video,
  img {
    max-width: 100%;
    height: auto;
  }
}

/* CELULARES PEQUENOS */

@media (max-width: 576px) {
  body {
    overflow-x: hidden;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  p {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .social-proof-cta {
    width: fit-content;
    max-width: 100%;
  }

  .hero-points {
    flex-direction: column;
  }

  .hero-points span {
    width: 100%;
    justify-content: center;
  }

  .strategy-cycle {
    flex-direction: column;
  }

  .strategy-cycle span {
    width: 100%;
    justify-content: center;
  }

  .hero-brand-badge img {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 820px) {
  .portfolio-marquee-shell {
    position: relative;
    display: block;
  }

  .portfolio-marquee {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .portfolio-marquee::-webkit-scrollbar {
    display: none;
  }

  .portfolio-grid.is-marquee {
    width: max-content;
    animation: none;
  }

  .portfolio-grid.is-marquee .project-card {
    scroll-snap-align: start;
  }

  .portfolio-grid.is-marquee .project-card.is-clone {
    display: none;
  }

  .portfolio-grid.is-marquee .project-card {
    flex-basis: min(352px, calc(100vw - 38px));
  }

  .portfolio-marquee-nav {
    display: none;
  }
}
