:root {
  --bg: #070707;
  --bg-soft: #0f1016;
  --surface: rgba(16, 18, 28, 0.8);
  --surface-strong: rgba(24, 26, 38, 0.96);
  --surface-glow: rgba(31, 17, 40, 0.82);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f0ea;
  --muted: #bdb6c7;
  --red: #ff2626;
  --gold: #ffee00;
  --plum: #661a5c;
  --plum-bright: #8a2d78;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 38, 38, 0.18), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(102, 26, 92, 0.34), transparent 34%),
    radial-gradient(circle at 62% 72%, rgba(255, 238, 0, 0.09), transparent 18%),
    linear-gradient(145deg, #050507, #0d0d13 42%, #08070b 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  position: relative;
  width: 100%;
  max-width: 1260px;   /* 1180 px conteúdo + 40 px padding cada lado */
  margin: 0 auto;
  padding: 0 40px 72px;
}

.ambient,
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-left {
  background: radial-gradient(circle at left center, rgba(255, 38, 38, 0.14), transparent 38%);
}

.ambient-right {
  background: radial-gradient(circle at right top, rgba(102, 26, 92, 0.18), transparent 40%);
}

.grid-overlay {
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  margin-top: 18px;
  padding: 2px 4px;
  background: rgba(10, 10, 14, 0.72);
  border: 1px solid var(--line);
  height: 100px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);

    flex-wrap: nowrap;
    gap: 8px;
    padding-right: 16px;
    border-radius: 32px;
}

.brand {
  width: 270px;
  flex-shrink: 0;
}

.mobile-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  order: 3;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 35px;
  height: 35px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.main-nav {
  flex-wrap: nowrap;
  order: 2;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
}

.main-nav a {
  flex-wrap: nowrap;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  flex-wrap: nowrap;
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a.is-active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.proposal-trigger {
  margin-left: 8px;
}

.lang-toggle,
.button {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.lang-toggle {
  width: 35px;
  height: 35px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  background: linear-gradient(135deg, rgba(102, 26, 92, 0.9), rgba(30, 31, 43, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible,
.lang-toggle:hover,
.lang-toggle:focus-visible,
.chat-toggle:hover,
.chat-toggle:focus-visible,
.chatbot-quick-actions button:hover,
.chatbot-quick-actions button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #0b0b0b;
  background: #ffe163;
  box-shadow: 0 16px 42px rgba(255, 226, 99, 0.24);
}

.button-secondary,
.button-outline {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding: 48px 0 28px;
  overflow: clip; /* contém overflow dos elementos decorativos (pills, rings) */
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffdcb7;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero h1,
.section-heading h2 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 6vw, 3rem);
}

.hero-text,
.section-heading p,
.contact-copy p {
  max-width: 62ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 36px;
}

.hero-metrics article,
.glass-card,
.process-step,
.testimonial,
.service-group,
.project-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}
.contact-card{
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-metrics article {
  padding: 20px;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 690px;
  perspective: 1500px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}

.rotating-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.04);
}

.ring-one {
  top: 34px;
  right: 10px;
  width: 220px;
  height: 220px;
  border-top-color: rgba(255, 238, 0, 0.9);
  border-right-color: rgba(255, 38, 38, 0.7);
  animation: spinRing 18s linear infinite;
}

.ring-two {
  right: 120px;
  bottom: 34px;
  width: 300px;
  height: 300px;
  border-left-color: rgba(102, 26, 92, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  animation: spinRingReverse 22s linear infinite;
}

.orb-one {
  inset: 4% 8% auto auto;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(255, 238, 0, 0.72), rgba(255, 238, 0, 0));
  animation: pulseGlow 5s ease-in-out infinite;
}

.orb-two {
  inset: auto auto 12% 4%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 38, 38, 0.25), rgba(255, 38, 38, 0));
  animation: pulseGlow 6s ease-in-out infinite reverse;
}

.dashboard-card {
  position: absolute;
  inset: 80px 0 0 40px;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(17, 19, 30, 0.88), rgba(37, 15, 40, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  transform: rotateX(10deg) rotateY(-14deg);
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dash-panel {
  border-radius: 24px;
  padding: 22px;
  min-height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-panel-large {
  grid-column: 1 / -1;
  min-height: 260px;
  padding-top: 28px;
  background:
    linear-gradient(135deg, rgba(102, 26, 92, 0.68), rgba(255, 38, 38, 0.12)),
    radial-gradient(circle at 80% 20%, rgba(255, 238, 0, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.04);
}

.panel-label,
.project-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f5d7a9;
  background: rgba(255, 255, 255, 0.06);
}

.dash-panel-large strong {
  display: block;
  margin-top: 24px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.dash-panel-large p,
.stat span,
.project-copy p,
.testimonial span,
.service-group li span,
.process-step p {
  color: var(--muted);
  line-height: 1.65;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stat strong {
  font-size: 2rem;
}

.red-box {
  background: linear-gradient(160deg, rgba(255, 38, 38, 0.24), rgba(255, 38, 38, 0.08));
}

.gold-box {
  background: linear-gradient(160deg, rgba(255, 238, 0, 0.28), rgba(255, 255, 255, 0.03));
  color: #141108;
}

.gold-box span {
  color: rgba(20, 17, 8, 0.8);
}

.chart-box {
  display: flex;
  align-items: flex-end;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.chart-bars span {
  flex: 1;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, var(--gold), var(--plum));
  animation: bounceBars 2.8s ease-in-out infinite;
}

.chart-bars span:nth-child(1) { height: 36%; }
.chart-bars span:nth-child(2) { height: 58%; animation-delay: 0.2s; }
.chart-bars span:nth-child(3) { height: 82%; animation-delay: 0.35s; }
.chart-bars span:nth-child(4) { height: 64%; animation-delay: 0.5s; }
.chart-bars span:nth-child(5) { height: 92%; animation-delay: 0.65s; }

.floating-pill {
  position: absolute;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  animation: float 5.5s ease-in-out infinite;
}

.pill-left { top: 60px; left: -14px; }
.pill-right { top: 210px; right: 14px; animation-delay: 0.5s; }
.pill-bottom { bottom: 90px; left: 16px; animation-delay: 1s; }

.trust-band,
.section {
  position: relative;
  z-index: 1;
}

.trust-band {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 26px 28px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
}

.trust-band p {
  margin: 0;
  font-size: 1.05rem;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.section {
  padding-top: 20px;
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 3rem);
}

.intro-grid,
.process-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.glass-card,
.process-step,
.testimonial,
.service-group,
.contact-card,
.project-card {
  border-radius: var(--radius-lg);
}

.glass-card,
.process-step,
.testimonial {
  padding: 8px;
}

.glass-card strong,
.project-copy h3,
.process-step h3,
.contact-copy h2,
.service-group h3 {
  font-family: "Space Grotesk", sans-serif;
}

.glass-card strong {
  font-size: 1.3rem;
}

.service-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.service-group {
  overflow: hidden;
}

.service-group header {
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-group h3 {
  margin: 0;
  font-size: 1.5rem;
}

.service-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-group li {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.service-group li:first-child {
  border-top: 0;
}

.service-group strong {
  font-size: 1.05rem;
  line-height: 1.45;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-top: 34px;
}

.about-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.about-card > strong {
  font-family: "Space Grotesk", sans-serif;
}

.about-card > strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.about-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.65;
}

.catalogue-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.solutions-grid {
  display: grid;
  gap: 20px;
  margin-top: 36px;
  grid-template-columns: repeat(2, 1fr);
}

.solution-card,
.catalogue-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgb(230 226 229 / 14%);
}

.solution-card {
  overflow: hidden;
}

.solution-screen {
  position: relative;
  min-height: 290px;
  padding: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(12, 16, 28, 0.96), rgba(36, 13, 40, 0.84));
}

.solution-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 238, 0, 0.16), transparent 24%);
  pointer-events: none;
}

.screen-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.screen-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.screen-layout,
.health-layout,
.queue-stage {
  position: relative;
  z-index: 1;
}

.screen-layout {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
}

.screen-sidebar {
  min-height: 220px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.screen-content,
.full-content {
  display: grid;
  gap: 14px;
}

.screen-row,
.screen-row-group span,
.screen-table span,
.kpi-row span,
.short-row-group span,
.health-card,
.queue-ticket,
.queue-display,
.queue-line span {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.screen-row-wide {
  min-height: 62px;
  background: linear-gradient(135deg, rgba(102, 26, 92, 0.68), rgba(255, 38, 38, 0.16));
}

.screen-row-group,
.kpi-row,
.short-row-group {
  display: grid;
  gap: 12px;
}

.screen-row-group,
.kpi-row {
  grid-template-columns: repeat(3, 1fr);
}

.short-row-group {
  grid-template-columns: repeat(2, 1fr);
}

.screen-row-group span,
.kpi-row span,
.short-row-group span {
  min-height: 60px;
}

.screen-table {
  display: grid;
  gap: 10px;
}

.screen-table span {
  min-height: 20px;
}

.split-layout {
  grid-template-columns: 1fr;
}

.chart-surface {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-height: 116px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.chart-surface i {
  flex: 1;
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--gold), var(--red));
  animation: bounceBars 3.4s ease-in-out infinite;
}

.chart-surface i:nth-child(1) { height: 34%; }
.chart-surface i:nth-child(2) { height: 52%; animation-delay: 0.2s; }
.chart-surface i:nth-child(3) { height: 72%; animation-delay: 0.4s; }
.chart-surface i:nth-child(4) { height: 58%; animation-delay: 0.55s; }
.chart-surface i:nth-child(5) { height: 88%; animation-delay: 0.7s; }

.health-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.health-card {
  min-height: 84px;
}

.health-card.large {
  grid-column: 1 / -1;
  min-height: 132px;
  background: linear-gradient(135deg, rgba(255, 38, 38, 0.18), rgba(255, 255, 255, 0.06));
}

.health-pulse {
  grid-column: 1 / -1;
  min-height: 58px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.14) 8% 9%, transparent 9% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  position: relative;
  overflow: hidden;
}

.health-pulse::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 50%;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 18px rgba(255, 238, 0, 0.7);
  animation: scanPulse 3.4s linear infinite;
}

.queue-stage {
  display: grid;
  gap: 16px;
}

.queue-ticket {
  min-height: 84px;
  width: 42%;
  background: linear-gradient(135deg, rgba(255, 238, 0, 0.28), rgba(255, 255, 255, 0.06));
  animation: float 4.8s ease-in-out infinite;
}

.queue-display {
  min-height: 108px;
  background: linear-gradient(135deg, rgba(102, 26, 92, 0.78), rgba(255, 38, 38, 0.18));
}

.queue-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.queue-line span {
  min-height: 56px;
}

.screen-school {
  background: linear-gradient(160deg, rgba(9, 16, 34, 0.96), rgba(102, 26, 92, 0.72));
}

.screen-enterprise {
  background: linear-gradient(160deg, rgba(16, 16, 20, 0.96), rgba(44, 14, 26, 0.84));
}

.screen-health {
  background: linear-gradient(160deg, rgba(9, 19, 28, 0.96), rgba(20, 55, 68, 0.7));
}

.screen-queue {
  background: linear-gradient(160deg, rgba(22, 15, 20, 0.96), rgba(45, 13, 54, 0.82));
}

.solution-copy {
  padding: 24px;
}

.solution-copy h3,
.catalogue-card h3 {
  margin: 18px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

.solution-copy p,
.catalogue-card li {
  color: var(--muted);
  line-height: 1.7;
}

.catalogue-grid {
  grid-template-columns: repeat(3, 1fr);
}

.catalogue-card {
  padding: 24px;
}

.catalogue-card header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.catalogue-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #120f07;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #ffca53);
}

.catalogue-card h3 {
  margin: 0;
}

.catalogue-card ul {
  margin: 0;
  padding-left: 18px;
}

.catalogue-card li + li {
  margin-top: 12px;
}

.accent-card {
  background:
    radial-gradient(circle at top right, rgba(255, 238, 0, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(102, 26, 92, 0.3), rgba(255, 255, 255, 0.03));
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.project-card {
  overflow: hidden;
  grid-column: span 4;
}

.project-card.wide {
  grid-column: span 8;
}

.project-art {
  min-height: 260px;
  background-color: #10131d;
}

.art-school {
  background:
    linear-gradient(135deg, rgba(102, 26, 92, 0.75), rgba(255, 38, 38, 0.15)),
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.08) 18% 20%, transparent 20% 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 38%, transparent 38% 100%),
    radial-gradient(circle at 72% 30%, rgba(255, 238, 0, 0.34), transparent 22%);
}

.art-pharmacy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 14%, transparent 14% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 28%, transparent 28% 100%),
    radial-gradient(circle at 18% 72%, rgba(255, 38, 38, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(13, 24, 44, 0.8), rgba(102, 26, 92, 0.68));
}

.art-queue {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 46px, transparent 46px 92px),
    radial-gradient(circle at 84% 26%, rgba(255, 238, 0, 0.28), transparent 18%),
    linear-gradient(135deg, rgba(255, 38, 38, 0.18), rgba(102, 26, 92, 0.85));
}

.project-copy {
  padding: 24px;
}

.project-copy h3 {
  margin: 18px 0 12px;
  font-size: 1.55rem;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-step {
  position: relative;
  overflow: hidden;
}

.process-step span:first-child {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 18px;
  font-weight: 800;
  color: #130f05;
  background: linear-gradient(135deg, var(--gold), #ffd155);
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.testimonials-grid {
  margin-top: 36px;
}

.testimonial {
  position: relative;
}

.stars {
  margin-bottom: 18px;
  color: var(--gold);
  letter-spacing: 0.18em;
}

.testimonial p {
  margin: 0 0 24px;
  line-height: 1.75;
}

.testimonial strong {
  display: block;
  margin-bottom: 6px;
}

.testimonials-carousel {
  position: relative;
  margin-top: 36px;
  padding: 0 56px;
  overflow: hidden;
}

.testimonials-carousel .testimonials-grid {
  margin-top: 0;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch;
}

.testimonials-carousel .testimonials-grid::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel .testimonial {
  flex: 0 0 calc((100% - 36px) / 3);
  height: auto;
  min-height: 280px;
  min-width: 0;
  scroll-snap-align: start;
  padding: 18px;
  overflow: hidden;
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.testimonial-dot:hover,
.testimonial-dot:focus-visible {
  background: rgba(255, 238, 0, 0.65);
  transform: scale(1.15);
}

.testimonial-dot.is-active {
  width: 24px;
  background: linear-gradient(135deg, rgba(255, 238, 0, 0.95), rgba(255, 171, 64, 0.95));
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 12, 22, 0.9);
  color: #f7f8ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.testimonial-nav:hover,
.testimonial-nav:focus-visible {
  border-color: rgba(255, 238, 0, 0.46);
  transform: translateY(-50%) scale(1.06);
}

.testimonial-nav:disabled {
  opacity: 0.4;
  cursor: default;
}

.testimonial-nav svg {
  width: 25px;
  height: 25px;
}

.testimonial-nav-prev {
  left: 0;
}

.testimonial-nav-next {
  right: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.testimonial-avatar-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 238, 0, 0.18);
  color: #ffe600;
  font-size: 1.2rem;
  font-weight: 800;
  border: 2px solid rgba(255, 238, 0, 0.3);
  object-fit: unset;
}

.testimonial-meta {
  min-width: 0;
}

.testimonial-meta strong {
  margin-bottom: 4px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  padding: 15px;
  margin-top: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 238, 0, 0.16), transparent 26%),
    linear-gradient(135deg, rgba(102, 26, 92, 0.72), rgba(12, 14, 22, 0.98));
}

.contact-copy h2 {
  margin: 16px 0 0;
  font-size: clamp(1.8rem, 2vw, 2.8rem);
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-details article {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-details span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
}

.contact-side {
  display: grid;
  gap: 18px;
}

/* Redes sociais na secção de contacto */
.contact-socials {
  display: flex;
  gap: 10px;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.contact-social-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  transform: translateY(-2px);
}

.contact-social-btn i {
  font-size: 1rem;
}

/* Cores de marca ao hover */
.contact-social-btn[href*="facebook"]:hover {
  background: rgba(24, 119, 242, 0.22);
  border-color: rgba(24, 119, 242, 0.45);
  color: #60a5fa;
}

.contact-social-btn[href*="instagram"]:hover {
  background: rgba(225, 48, 108, 0.2);
  border-color: rgba(225, 48, 108, 0.4);
  color: #f9a8d4;
}

/* Light theme */
html[data-theme="light"] .contact-social-btn {
  background: rgba(102, 26, 92, 0.06);
  border-color: rgba(102, 26, 92, 0.15);
  color: var(--text);
}

html[data-theme="light"] .contact-social-btn:hover {
  background: rgba(102, 26, 92, 0.12);
  border-color: rgba(102, 26, 92, 0.3);
}

html[data-theme="light"] .contact-social-btn[href*="facebook"]:hover {
  background: rgba(24, 119, 242, 0.1);
  border-color: rgba(24, 119, 242, 0.35);
  color: #1877f2;
}

html[data-theme="light"] .contact-social-btn[href*="instagram"]:hover {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.35);
  color: #e1306c;
}

.contact-form,
.contact-map-card,
.proposal-dialog {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.contact-form,
.contact-map-card {
  padding: 22px;
  border-radius: 24px;
}

.form-heading {
  margin-bottom: 18px;
}

.form-heading strong,
.map-copy strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.form-heading p,
.map-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-form,
.proposal-form {
  display: grid;
  gap: 14px;
}

.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.joined-fields {
  gap: 0;
  align-items: end;
}

.joined-fields > label {
  display: grid;
  gap: 8px;
}

.joined-fields > label:first-child {
  width: auto;
  flex-shrink: 0;
}

.joined-fields > label:first-child select {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.joined-fields > label:last-child input {
  margin-left: -1px;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.contact-form .joined-fields,
.proposal-form .joined-fields {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0;
}

.contact-form .country-code-select,
.proposal-form .country-code-select {
  appearance: none;
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(8, 10, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  outline: none;
}

.contact-form .country-code-select:focus,
.proposal-form .country-code-select:focus {
  border-color: rgba(255, 238, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 238, 0, 0.08);
}

/* ── Phone Code Custom Picker ── */
.dial-wrapper { position: relative; width: 100%; display: flex; flex-direction: column; }

.dial-trigger {
  appearance: none;
  width: 100%;
  height: 45px;
  padding: 0 12px;
  background: rgba(8, 10, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--text);
  font: inherit;
  font-size: 0.93rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dial-trigger:focus,
.dial-trigger.is-open {
  border-color: rgba(255, 238, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 238, 0, 0.08);
}

.dial-trigger-code { font-weight: 700; }

.dial-trigger-chevron {
  margin-left: auto;
  opacity: 0.45;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.dial-trigger.is-open .dial-trigger-chevron { transform: rotate(180deg); }

.dial-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 300;
  width: 270px;
  max-height: 290px;
  background: rgba(14, 15, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dial-dropdown[hidden] { display: none; }

.dial-search {
  flex-shrink: 0;
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  outline: none;
  box-sizing: border-box;
}

.dial-search:focus { border-color: rgba(255, 238, 0, 0.4); }
.dial-search::placeholder { color: var(--muted); }

.dial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
}

.dial-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.dial-list li:hover,
.dial-list li.is-selected { background: rgba(255, 255, 255, 0.07); }
.dial-list li.is-selected .dial-code { color: var(--gold); }

.dial-flag { flex-shrink: 0; font-size: 1rem; }

.dial-code {
  font-weight: 700;
  font-size: 0.8rem;
  min-width: 42px;
  flex-shrink: 0;
}

.dial-name {
  color: var(--muted);
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Join with phone input */
.joined-fields > label:first-child .dial-trigger {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Light theme */
html[data-theme="light"] .dial-trigger {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(102, 26, 92, 0.15);
  color: var(--text);
}

html[data-theme="light"] .dial-dropdown {
  background: rgba(252, 250, 255, 0.99);
  border-color: rgba(102, 26, 92, 0.12);
}

html[data-theme="light"] .dial-search {
  background: rgba(102, 26, 92, 0.04);
  border-color: rgba(102, 26, 92, 0.15);
  color: var(--text);
}

html[data-theme="light"] .dial-list li:hover,
html[data-theme="light"] .dial-list li.is-selected { background: rgba(102, 26, 92, 0.06); }

.contact-form label,
.proposal-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span,
.proposal-form label span,
.proposal-preference legend {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form input,
.contact-form textarea,
.proposal-form input,
.proposal-form textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(8, 10, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  outline: none;
}

.contact-form textarea,
.proposal-form textarea {
  resize: vertical;
  min-height: 108px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.proposal-form input:focus,
.proposal-form textarea:focus {
  border-color: rgba(255, 238, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 238, 0, 0.08);
}

.map-frame {
  position: relative;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.map-logo-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -100%);
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 999px;
  padding: 4px;
  background: rgba(242, 242, 243, 0.836);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 40px 0 8px;
  color: var(--muted);
}

.footer-nif {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.7;
}

.chat-toggle {
  position: fixed;
  right: 5px;
  bottom: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 190px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.chat-toggle-gif {
  width: 190px;
  height: 156px;
  object-fit: contain;
  border: 0;
  box-shadow: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.chat-toggle[aria-expanded="true"] .chat-toggle-gif {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.92);
}

.chatbot-panel {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 110;
  width: min(360px, calc(100% - 24px));
  background: rgba(12, 13, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  padding-top: 20px;
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chatbot-badge {
  position: absolute;
  top: -40px;
  left: -12px;
  display: grid;
  place-items: center;
  width: 100px;
  height: 74px;
  border-radius: 16px;
  color: #1a1404;
  overflow: visible;
  border: 0;
  box-shadow: none;
}

.chatbot-badge img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chatbot-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-header,
.chatbot-quick-actions {
  padding: 5px 8px;
}

.chatbot-header {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  padding-left: 12px;
  padding-right: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.chat-header-actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}


.chat-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.chat-clear{

  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  color: #f3f3ee;
  background-color: transparent;
}
.chat-clear i {
  font-size: 16px;
  line-height: 1;
}
.chat-clear:hover{
    background: transparent;
    color: #528fff;
}

.chatbot-header strong {
  display: block;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chatbot-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}


.chat-close:hover {
  background: rgba(255, 255, 255, 0.212);

}

.chatbot-body {
  display: grid;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
  padding: 18px 20px;
}

.message {
  max-width: 85%;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.6;
}

.message.bot {
  background: rgba(255, 255, 255, 0.07);
  border-top-left-radius: 6px;
}

.message.user {
  margin-left: auto;
  color: #16120a;
  background: linear-gradient(135deg, var(--gold), #ffcf52);
  border-top-right-radius: 6px;
}

.chatbot-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chatbot-quick-actions button {
  padding: 12px 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  cursor: pointer;
}

.proposal-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.proposal-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.proposal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.7);
  backdrop-filter: blur(10px);
}

.proposal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 19, 30, 0.98), rgba(23, 13, 28, 0.98));
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.proposal-dialog::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

.proposal-head {
  margin-bottom: 20px;
}

.proposal-head h2 {
  margin: 14px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.proposal-head p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.proposal-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.proposal-tab {
  padding: 12px 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.proposal-tab.is-active {
  color: #12100a;
  background: linear-gradient(135deg, var(--gold), #ffc94d);
}

.proposal-panel {
  display: none;
}

.proposal-panel.is-active {
  display: grid;
  gap: 14px;
}

.proposal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.proposal-preference {
  display: grid;
  gap: 12px;
  margin: 4px 0 6px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.proposal-preference legend {
  padding: 0 8px;
}

.proposal-preference label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.proposal-preference input {
  width: 18px;
  height: 18px;
}

.proposal-files-group {
  display: flex;
  gap: 10px;
}

.proposal-file-label {
  display: grid;
  gap: 8px;
}

.proposal-file-label span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.proposal-file-item {
  display: grid;
  gap: 10px;
  width: 100%;
}

.public-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.file-upload-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 75px;
  width: 100%;
  font-weight: 700;
  padding: 12px 14px;
  color: rgba(25, 14, 117, 0.8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(46, 45, 45, 0.747);
  border-radius: 16px;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  overflow: hidden;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.file-upload-preview:hover,
.file-upload-preview:focus-visible {
  border-style: none rgba(46, 45, 45, 0.226);
  color: rgb(255, 255, 255);
  background: rgba(141, 60, 247, 0.726);
}

.file-upload-preview.has-file {
  color: rgba(45, 26, 133, 0.95);
  border-style: solid;
  background: rgba(255, 255, 255, 0.06);
}

.file-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  content: fill;
  border-radius: 10px;
  background: rgba(8, 10, 18, 0.9);
  flex-shrink: 0;
}

.file-upload-preview .file-upload-preview-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.proposal-form input[type="file"],
.contact-form input[type="file"] {
  width: 100%;
  padding: 10px 14px;
  color: var(--text);
  background: rgba(8, 10, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  outline: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.proposal-form input[type="file"]:focus,
.contact-form input[type="file"]:focus {
  border-color: rgba(255, 238, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(255, 238, 0, 0.08);
}

.proposal-form input[type="file"]::file-selector-button,
.contact-form input[type="file"]::file-selector-button {
  padding: 6px 14px;
  margin-right: 12px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 238, 0, 0.14);
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}

.proposal-form input[type="file"]::file-selector-button:hover,
.contact-form input[type="file"]::file-selector-button:hover {
  background: rgba(255, 238, 0, 0.26);
}

html[data-theme="light"] .proposal-form input[type="file"],
html[data-theme="light"] .contact-form input[type="file"] {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(102, 26, 92, 0.15);
  color: var(--text);
}

html[data-theme="light"] .proposal-form input[type="file"]::file-selector-button,
html[data-theme="light"] .contact-form input[type="file"]::file-selector-button {
  background: rgba(102, 26, 92, 0.1);
  color: var(--text);
}

html[data-theme="light"] .proposal-file-label span {
  color: var(--text);
}

.proposal-feedback {
  min-height: 24px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.proposal-feedback.is-success {
  color: #b8ffba;
}

.proposal-feedback.is-error {
  color: #ff9d9d;
}


.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.tilt-card:hover {
  border-color: rgba(255, 238, 0, 0.24);
}

.floating-card {
  animation: floatCard 7s ease-in-out infinite;
}

.fall-card {
  animation: cardDrop 0.9s ease both;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes floatCard {
  0%, 100% { transform: rotateX(10deg) rotateY(-14deg) translateY(0); }
  50% { transform: rotateX(7deg) rotateY(-10deg) translateY(-12px); }
}

@keyframes bounceBars {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.82); }
}

@keyframes cardDrop {
  0% { opacity: 0; transform: translateY(-32px) rotate(-5deg) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); }
}

@keyframes scanPulse {
  from { transform: translateX(0); }
  to { transform: translateX(320%); }
}

@media (max-width: 1100px) {
  .site-header {
    flex-wrap: nowrap;
    gap: 8px;
    padding-right: 16px;
    border-radius: 32px;
  }

  .brand {
    width: 226px;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.94rem;
  }
  .hero h1,
  .section h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 10vw, 2rem);
  }
  .main-nav a {
    white-space: nowrap;
  }

  .proposal-trigger {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .lang-toggle {
    width: 35px;
    height: 35px;
    padding: 0;
    font-size: 0.92rem;
  }

  .chat-toggle {
    right: 10px;
    bottom: 18px;
    width: 168px;
    height: 154px;
  }

  .chat-toggle-gif {
    width: 168px;
    height: 138px;
  }

  .chatbot-panel {
    right: 18px;
    bottom: 98px;
    width: min(340px, calc(100% - 36px));
    padding-top: 20px;
  }

  .chatbot-header {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .chatbot-badge {
    top: -50px;
    left: -20px;
    width: 108px;
    height: 80px;
  }

 
  .intro-grid,
  .process-grid,
  .testimonials-grid,
  .catalogue-grid {
     grid-template-columns: repeat(3, 1fr);
  }

  .solutions-grid, 
  .service-groups {
    grid-template-columns: repeat(2, 1fr);
  }
   .contact-card {
   grid-template-columns: repeat(2, 1fr);
    }

  .hero {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 10px;
    min-height: auto;
    padding-top: 30px;
  }

  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-visual {
    min-height: 580px;
  }

  .dashboard-card {
    inset: 50px 18px 0 18px;
  }

  .hero-metrics,
  .trust-logos {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card,
  .project-card.wide {
    grid-column: auto;
  }

}

@media (max-width: 900px) {
  /* ── Hamburger navigation ── */
  .menu-toggle {
    display: inline-flex;
  }
  .mobile-controls {
    order: 2;
    margin-left: auto;
  }
  .main-nav {
    order: 3;
    width: 100%;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    font-size: 0.96rem;
    background: rgba(255, 255, 255, 0.952);
    border: 1px solid rgba(224, 216, 216, 0.966);
    border-radius: 20px;
  }
  .site-header {
    flex-wrap: wrap;
  }
  .site-header.menu-open .main-nav {
    display: grid;
  }
  .site-header.menu-open .menu-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 238, 0, 0.28);
  }
  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
  }
  .main-nav .proposal-trigger {
    grid-column: 1 / -1;
    margin-top: 0;
    width: 100%;
    justify-content: center;
  }

  /* ── Layout ── */
  .hero,
  .contact-card,
  .intro-grid,
  .process-grid,
  .about-grid,
  .service-groups,
  .solutions-grid,
  .catalogue-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .testimonials-grid{
    grid-template-columns:  1fr;
  }

  .floating-pill {
    display: none;
  }

  .hero-visual {
    min-height: 420px;
    top: 0;
  }

  .dashboard-card {
    inset: 20px 12px 0 12px;
    transform: none;
  }

  .hero-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card,
  .project-card.wide {
    grid-column: auto;
  }

}

@media (max-width: 760px) {
  .page-shell {
    padding: 0 20px 60px;  /* 20 px de cada lado em mobile */
  }

  .site-header {
    position: sticky;
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    height: 75px;
    padding-left: 2px;
    padding-right: 15px;
    padding-top: 1px;
    padding-bottom: 1px;
    border-radius: 20px;
    align-items: center;
  }

  .brand {
        width: 150px;
        margin-left: -20px;
  }

  .mobile-controls {
    order: 2;
    margin-left: auto;
    gap: 10px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
    order: 0;
  }


  .main-nav {
    order: 3;
    width: 100%;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    font-size: 0.96rem;
    background: rgba(255, 255, 255, 0.952);
    border: 1px solid rgba(224, 216, 216, 0.966);
    border-radius: 20px;
  }

  .site-header.menu-open .main-nav {
    display: grid;
  }
  .site-header{
    width: calc(100% + 40px);
    margin-left: -20px;
    padding-left: 22px;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
  }

  .main-nav .proposal-trigger {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .site-header.menu-open .menu-toggle {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 238, 0, 0.28);
  }

  .site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .proposal-trigger {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    margin-left: 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 14vw, 3rem);
  }

  .hero-text,
  .section-heading p,
  .contact-copy p {
    font-size: 1rem;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
.trust-logos {
  gap: 8px;
}
  .hero-visual {
    top: auto;
    min-height: 470px;
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-card {
    inset: 30px 8px 0 8px;
    transform: none;
  }

  .dashboard-grid,
  .service-group li,
  .contact-card {
    grid-template-columns: 1fr;
  }
.contact-card {
    gap: 12px;
}
  .screen-layout,
  .health-layout,
  .queue-line,
  .catalogue-grid {
    grid-template-columns: 1fr;
  }

  .queue-ticket {
    width: 100%;
  }

  .floating-pill {
    display: none;
  }

  .rotating-ring {
    opacity: 0.35;
  }

  .service-group li {
    gap: 10px;
  }

  /* ---- Cards: colapso a coluna única ---- */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sig-grid-override {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  /* ---- Service group: compacto em mobile ---- */
  .service-group header {
    padding: 16px 18px 13px;
  }

  .service-group h3 {
    font-size: 1.2rem;
  }

  .service-group li {
    padding: 14px 18px;
  }

  /* ---- Glass cards e process steps ---- */
  .glass-card,
  .process-step {
    padding: 16px;
  }

  /* ---- Catalogue card ---- */
  .catalogue-card {
    padding: 18px;
  }

  /* ---- Solutions grid: gap mais apertado ---- */
  .solutions-grid {
    gap: 12px;
  }

  /* ---- About grid: gap mais apertado ---- */
  .about-grid {
    gap: 12px;
  }

  .site-footer {
    display: grid;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 12px;

  }

  .chat-toggle {
    right: 12px;
    bottom: 24px;
    width: 124px;
    height: 112px;
    padding: 0;
    box-shadow: none;
  }

  .chat-toggle-gif {
    width: 124px;
    height: 104px;
  }

  .chatbot-panel {
    right: 12px;
    bottom: 100px;
    width: min(320px, calc(100% - 24px));
    border-radius: 22px;
    padding-top: 20px;
  }

  .chatbot-badge {
    top: -40px;
    left: -20px;
    width: 88px;
    height: 66px;
    border-radius: 14px;
  }

  .chatbot-badge img {
    width: 100%;
    height: 100%;
  }

  .chatbot-header,
  .chatbot-body,
  .chatbot-quick-actions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .chatbot-header {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 12px;
    padding-right: 10px;
    margin-top: 0px;
  }

  .chatbot-header strong {
    font-size: 0.95rem;
  }

  .chatbot-header p {
    font-size: 0.82rem;
  }

  .chat-close {
    width: 34px;
    height: 34px;
  }

  .chat-clear {
    width: 25px;
    height: 24px;
    background-color: transparent;
  }

  .chat-clear i{
  font-size: 15px;
  }
  
  .chatbot-body {
    gap: 10px;
    max-height: 250px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .message {
    max-width: 90%;
    padding: 12px 14px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .chatbot-quick-actions {
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .chatbot-quick-actions button {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.85rem;
    border-radius: 14px;
  }

  .proposal-modal {
    padding: 12px;
  }

  .proposal-dialog {
    width: min(calc(100% - 24px), 100%);
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
    border-radius: 24px;
  }

  .about-card {
    padding: 18px;
  }

  .proposal-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-form,
  .contact-map-card {
    padding: 18px;
    border-radius: 20px;
  }

  .map-frame iframe {
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   THEME TOGGLE
   ========================================================= */

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  padding: 5px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.theme-icon-sun,
.theme-icon-moon {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-30deg) scale(0.7);
}

.theme-icon-sun {
  opacity: 1;
  transform: none;
}

/* =========================================================
   STATS BAND
   ========================================================= */

.stats-band {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 6px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(102, 26, 92, 0.28), rgba(255, 38, 38, 0.09));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid article:last-child {
  border-right: none;
}

.stats-grid strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stats-grid span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

/* =========================================================
   PLANS SECTION
   ========================================================= */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);

}

.plan-card-featured {
  background:
    linear-gradient(160deg, rgba(102, 26, 92, 0.34), rgba(255, 38, 38, 0.1)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 238, 0, 0.28);
}

.plan-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.plan-badge-featured {
  color: #12100a;
  background: linear-gradient(135deg, var(--gold), #ffc94d);
  border: none;
}

.plan-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.plan-price {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.plan-price strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.plan-price span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.plan-features {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.plan-features li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ffca53);
}

.plan-cta {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* =========================================================
   FAQ SECTION
   ========================================================= */

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  max-width: 900px;
  grid-template-columns: repeat(2, 1fr);
  padding: 5px;

}

.faq-item {
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(255, 238, 0, 0.22);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary > span:first-child {
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition: transform 0.3s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(255, 238, 0, 0.28), rgba(255, 38, 38, 0.14));
  color: var(--text);
}

.faq-body {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.98rem;
}

/* =========================================================
   CTA BANNER
   ========================================================= */

.cta-banner {
  margin-top: 80px;
  padding: 60px 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 8% 50%, rgba(255, 38, 38, 0.26), transparent 36%),
    radial-gradient(circle at 92% 20%, rgba(255, 238, 0, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(102, 26, 92, 0.78), rgba(14, 12, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.cta-banner h2 {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.cta-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 56ch;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* =========================================================
   COST SIMULATOR
   ========================================================= */

.simulator-section {
  text-align: left;
}

.simulator-inner {
  max-width: 1040px;
  text-align: left;
}

.simulator-inner > .eyebrow,
.simulator-inner > h2,
.simulator-inner > p {
  text-align: center;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  margin-top: 36px;
  align-items: start;
}

.sim-config {
  display: grid;
  gap: 28px;
}

.sim-group h4 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.sim-group h4 small {
  text-transform: none;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0;
}

.sim-option-base {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
}

.sim-base-icon {
  color: var(--gold);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.sim-option-base > span:nth-child(2) {
  flex: 1;
  font-weight: 600;
}

.sim-option-price {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.sim-pages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.sim-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  font-size: 0.9rem;
  user-select: none;
}

.sim-checkbox:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.sim-checkbox input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.sim-checkbox-full {
  grid-column: 1 / -1;
}

.sim-checkbox-wide {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  width: 100%;
  user-select: none;
}

.sim-checkbox-wide:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.sim-checkbox-wide input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.sim-wide-label {
  flex: 1;
  display: grid;
  gap: 2px;
}

.sim-wide-label strong {
  font-size: 0.95rem;
}

.sim-wide-label small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.sim-wide-price {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.sim-delivery-options {
  display: grid;
  gap: 10px;
}

.sim-radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  user-select: none;
}

.sim-radio:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.sim-radio input[type="radio"] {
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.sim-radio-content {
  flex: 1;
  display: grid;
  gap: 2px;
}

.sim-radio-content strong {
  font-size: 0.95rem;
}

.sim-radio-content small {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
}

.sim-radio-badge {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}

.sim-radio-included {
  color: #d4a82a;
  background: rgba(212, 168, 42, 0.14);
}

.sim-total-panel {
  position: sticky;
  top: 100px;
  border-radius: 20px;
  display: grid;
  gap: 20px;
}

.sim-total-wrap {
    display: grid;
    border-radius: 10px;
    padding: 10px 20px;
    border: 1px solid #c1b9b942;
    gap: 4px;
}

.sim-total-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.sim-total-grid {
  font-size: 0.75rem;
  color: #ffffff;
  background-color: #408ee7ea;
  padding: 2px 6px;
  display: inline-block;
  border-radius: 5px;
  margin: 0;
}

.sim-total-grids {
  font-size: 0.75rem;
  color: #ffffff;
  background-color: #f3662e2c;
  padding: 2px 6px;
  display: inline-block;
  border-radius: 5px;
  margin: 0;
}


.sim-total-amount {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold);
  margin: 10px 0 0;
}

.sim-summary {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 5px;
}

.sim-summary li {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 14px;
  position: relative;
}

.sim-summary li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.sim-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  background: #25d366 !important;
  color: #fff !important;
  border-color: #25d366 !important;
  font-size: 0.88rem;
  padding: 13px 16px;
  border-radius: 12px;
}

.sim-whatsapp-btn:hover {
  background: #1ebc5d !important;
  border-color: #1ebc5d !important;
  transform: translateY(-1px);
}

.sim-whatsapp-btn i {
  font-size: 1.15rem;
}

/* =========================================================
   SIMULATOR FAB (floating action button)
   ========================================================= */

.sim-fab {
  position: fixed;
  left: 22px;
  bottom: 32px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color:#4450f379;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  max-width: 48px;
  transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease,
              transform 0.25s ease,
              box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.sim-fab.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sim-fab:hover {
  max-width: 220px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
  background-color: #3d78e7;
}

.sim-fab i {
  flex-shrink: 0;
  font-size: 1.05rem;
}

.sim-fab-tooltip {
  font-size: 0.88rem;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
  pointer-events: none;
}

.sim-fab:hover .sim-fab-tooltip {
  opacity: 1;
}

@media (max-width: 900px) {
  .simulator-layout {
    grid-template-columns: 1fr;
  }
  
  .sim-total-panel {
  border-radius: 20px;
  display: grid;
  gap: 20px;
  }

  .sim-pages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .sim-pages-grid {
    grid-template-columns: 1fr;
  }

  .sim-checkbox-full {
    grid-column: auto;
  }
}

html[data-theme="light"] {
  --bg: #f0eef8;
  --bg-soft: #e8e5f2;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(252, 250, 255, 0.98);
  --line: rgba(0, 0, 0, 0.1);
  --text: #12101a;
  --muted: #4e4868;
  --red: #cc1a1a;
  --gold: #350d5a;
  --shadow: 0 24px 80px rgba(80, 40, 100, 0.12);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 247, 247, 0.493), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(255, 245, 254, 0.486), transparent 34%),
    linear-gradient(145deg, #f8f8f8, #ffffff 42%, #fdfcff 100%);
  color: var(--text);
}

html[data-theme="light"] .ambient-left {
  background: radial-gradient(circle at left center, rgba(200, 60, 60, 0.04), transparent 38%);
}

html[data-theme="light"] .ambient-right {
  background: radial-gradient(circle at right top, rgba(100, 40, 90, 0.05), transparent 40%);
}

html[data-theme="light"] .grid-overlay {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
}

html[data-theme="light"] .site-header {
  background: rgba(252, 250, 255, 0.9);
  border-color: rgba(120, 80, 160, 0.15);
  box-shadow: 0 8px 32px rgba(80, 40, 120, 0.1);
}

html[data-theme="light"] .message.user {
  background: #4d5fff;
  border-color: rgba(102, 26, 92, 0.18);
  color: #ffffff;
}

html[data-theme="light"] .chart-surface i {
  background: transparent;
}

html[data-theme="light"] .main-nav a:hover,
html[data-theme="light"] .main-nav a:focus-visible,
html[data-theme="light"] .main-nav a.is-active {
  color: var(--text);
}

html[data-theme="light"] .lang-toggle {
  background: linear-gradient(135deg, rgba(102, 26, 92, 0.1), rgba(248, 246, 255, 0.96));
  border-color: rgba(102, 26, 92, 0.18);
  color: var(--text);
}
html[data-theme="light"] .screen-topbar span {
  background: rgba(41, 10, 90, 0.425);
}

html[data-theme="light"] .theme-toggle {
  background: rgba(80, 40, 120, 0.07);
  border-color: rgba(80, 40, 120, 0.15);
  color: var(--text);
}

html[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(30deg) scale(0.7);
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: none;
}

html[data-theme="light"] .menu-toggle {
  background: rgba(80, 40, 120, 0.07);
  border-color: rgba(80, 40, 120, 0.15);
  color: var(--text);
}

html[data-theme="light"] .eyebrow {
  color: #5a1a52;
  background: rgba(102, 26, 92, 0.08);
  border-color: rgba(102, 26, 92, 0.14);
}

html[data-theme="light"] .hero h1,
html[data-theme="light"] .section-heading h2,
html[data-theme="light"] .glass-card strong,
html[data-theme="light"] .service-group h3,
html[data-theme="light"] .project-copy h3,
html[data-theme="light"] .process-step h3,
html[data-theme="light"] .contact-copy h2,
html[data-theme="light"] .solution-copy h3,
html[data-theme="light"] .catalogue-card h3,
html[data-theme="light"] .plan-card h3,
html[data-theme="light"] .proposal-head h2,
html[data-theme="light"] .cta-banner h2 {
  color: var(--text);
}

html[data-theme="light"] .hero-text,
html[data-theme="light"] .section-heading p,
html[data-theme="light"] .contact-copy p,
html[data-theme="light"] .solution-copy p,
html[data-theme="light"] .catalogue-card li,
html[data-theme="light"] .process-step p,
html[data-theme="light"] .about-points,
html[data-theme="light"] .hero-metrics span,
html[data-theme="light"] .service-group li span,
html[data-theme="light"] .testimonial p,
html[data-theme="light"] .testimonial span,
html[data-theme="light"] .dash-panel-large p {
  color: var(--muted);
}

html[data-theme="light"] .floating-pill {
  background: rgba(111, 89, 231, 0.08);
  border-color: rgba(102, 26, 92, 0.18);
  color: var(--text);
}

.sim-fab:hover {

  background-color: #0b219e;
}

html[data-theme="light"] .hero-metrics article,
html[data-theme="light"] .glass-card,
html[data-theme="light"] .process-step,
html[data-theme="light"] .testimonial,
html[data-theme="light"] .service-group,
html[data-theme="light"] .project-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 245, 255, 0.7));
  border-color: rgba(120, 80, 160, 0.12);
  box-shadow: 0 4px 24px rgba(80, 40, 120, 0.07);
}

html[data-theme="light"] .hero-metrics strong {
  color: var(--text);
}

html[data-theme="light"] .contact-card {
  background: transparent;
  border-color: rgba(102, 26, 92, 0.14);
}

html[data-theme="light"] .trust-band {
  background: linear-gradient(135deg, rgba(102, 26, 92, 0.06), rgba(204, 26, 26, 0.03));
  border-color: rgba(102, 26, 92, 0.12);
}

html[data-theme="light"] .trust-band p {
  color: var(--text);
}

html[data-theme="light"] .trust-logos span {
  border-color: rgba(102, 26, 92, 0.1);
  color: var(--muted);
}

html[data-theme="light"] .about-card {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(120, 80, 160, 0.12);
}
html[data-theme="light"] .orb-two {
  background: radial-gradient(circle, rgba(38, 89, 255, 0.726), rgba(38, 71, 255, 0.459));
  animation: pulseGlow 6s ease-in-out infinite reverse;
} 

html[data-theme="light"] .about-card > strong {
  color: var(--text);
}

html[data-theme="light"] .solution-card,
html[data-theme="light"] .catalogue-card {
  background: #ffff;
  border-color: rgba(64, 41, 87, 0.158);
}

html[data-theme="light"] .service-group header,
html[data-theme="light"] .service-group li {
  border-color: rgba(151, 136, 149, 0.1);
}

html[data-theme="light"] .service-group strong {
  color: var(--text);
}

html[data-theme="light"] .button-secondary,
html[data-theme="light"] .button-outline {
  background: #f1dd27a2;
  border-color: rgba(233, 225, 117, 0.2);
  color: var(--text);
}

html[data-theme="light"] .button-outline:hover,
html[data-theme="light"] .button-secondary:hover {
 background: #f1dd27e7;
  border-color: rgba(233, 225, 117, 0.2);
}

html[data-theme="light"] .button-primary {
  color: #fcfaf7;
  background: #922bf3d8;
}

html[data-theme="light"] .contact-form input,
html[data-theme="light"] .contact-form textarea,
html[data-theme="light"] .proposal-form input,
html[data-theme="light"] .proposal-form textarea {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(102, 26, 92, 0.15);
  color: var(--text);
}

html[data-theme="light"] .plan-badge-featured {
  color: #ffffff;
  background:#922bf3d8; 
}

html[data-theme="light"] .contact-form input:focus,
html[data-theme="light"] .contact-form textarea:focus,
html[data-theme="light"] .proposal-form input:focus,
html[data-theme="light"] .proposal-form textarea:focus {
  border-color: rgba(102, 26, 92, 0.45);
  box-shadow: 0 0 0 4px rgba(102, 26, 92, 0.08);
}

html[data-theme="light"] .contact-form .country-code-select,
html[data-theme="light"] .proposal-form .country-code-select {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(102, 26, 92, 0.15);
  color: var(--text);
}

html[data-theme="light"] .contact-form,
html[data-theme="light"] .contact-map-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(120, 80, 160, 0.12);
}

html[data-theme="light"] .form-heading strong,
html[data-theme="light"] .map-copy strong {
  color: var(--text);
}

html[data-theme="light"] .form-heading p,
html[data-theme="light"] .map-copy p {
  color: var(--muted);
}

html[data-theme="light"] .contact-form label span,
html[data-theme="light"] .proposal-form label span {
  color: var(--muted);
}

html[data-theme="light"] .contact-details article {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .contact-details span {
  color: var(--muted);
}

html[data-theme="light"] .contact-details strong {
  color: var(--text);
}

html[data-theme="light"] .chatbot-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(102, 26, 92, 0.14);
  box-shadow: 0 24px 80px rgba(80, 40, 120, 0.14);
}

html[data-theme="light"] .chatbot-header strong {
  color: var(--text);
}

html[data-theme="light"] .message.bot {
  background: rgba(102, 26, 92, 0.07);
  color: var(--text);
}

html[data-theme="light"] .chatbot-header {
  border-color: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .chatbot-quick-actions {
  border-color: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .chatbot-quick-actions button {
  background: rgba(102, 26, 92, 0.05);
  border-color: rgba(102, 26, 92, 0.12);
  color: var(--text);
}

html[data-theme="light"] .chatbot-quick-actions button:hover {
  background: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .chat-close,
html[data-theme="light"] .chat-clear,
html[data-theme="light"] .proposal-close {
  background: rgba(102, 26, 92, 0.07);
  color: #070707;
}

html[data-theme="light"] .chat-close:hover,
html[data-theme="light"] .chat-clear:hover,
html[data-theme="light"] .proposal-close:hover {
  background: rgba(102, 26, 92, 0.14);
}

html[data-theme="light"] .proposal-dialog {
  background: linear-gradient(180deg, rgba(252, 250, 255, 0.99), rgba(244, 240, 255, 0.99));
  border: 1px solid rgba(102, 26, 92, 0.12);
}

html[data-theme="light"] .proposal-head h2 {
  color: var(--text);
}

html[data-theme="light"] .proposal-head p {
  color: var(--muted);
}

html[data-theme="light"] .proposal-tabs {
  background: rgba(102, 26, 92, 0.05);
  border-color: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .proposal-tab.is-active {
  color: #ffffff;
  background: #4d5fff;
}
html[data-theme="light"] .proposal-tab {
  color: var(--muted);

}

html[data-theme="light"] .proposal-preference {
  border-color: rgba(102, 26, 92, 0.12);
}

html[data-theme="light"] .proposal-preference legend,
html[data-theme="light"] .proposal-preference span {
  color: var(--muted);
}

html[data-theme="light"] .dashboard-card {
  background: linear-gradient(160deg, rgba(252, 252, 255, 0.95), rgba(106, 233, 201, 0.9));
  border-color: rgba(102, 26, 92, 0.14);
}

html[data-theme="light"] .dash-panel {
  background: rgba(245, 200, 103, 0.65);
  border-color: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .dash-panel-large strong,
html[data-theme="light"] .stat strong {
  color: var(--text);
}

html[data-theme="light"] .red-box {
  background: linear-gradient(160deg, rgba(43, 122, 240, 0.425), rgba(158, 173, 224, 0.253));
}

html[data-theme="light"] .gold-box {
  background: linear-gradient(160deg, rgba(179, 134, 0, 0.18), rgba(255, 255, 255, 0.06));
}

html[data-theme="light"] .gold-box span {
  color: #5c4200;
}
html[data-theme="light"] .chat-clear {
  background: transparent;
}
html[data-theme="light"] .chat-clear:hover{
    background: transparent;
    color: #3d78e7;
}
html[data-theme="light"] .gold-box strong {
  color: #3a2900;
}

html[data-theme="light"] .project-copy h3 {
  color: var(--text);
}

html[data-theme="light"] .panel-label,
html[data-theme="light"] .project-tag {
  color: #04163d;
  background: rgba(252, 72, 17, 0.247);
}

html[data-theme="light"] .stars {
  color: #b38600;
}

html[data-theme="light"] .testimonial strong {
  color: var(--text);
}

html[data-theme="light"] .testimonial-nav {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(102, 26, 92, 0.2);
  color: var(--text);
}

html[data-theme="light"] .testimonial-nav:hover,
html[data-theme="light"] .testimonial-nav:focus-visible {
  border-color: rgba(160, 100, 0, 0.42);
}

html[data-theme="light"] .testimonial-avatar {
  border-color: rgba(102, 26, 92, 0.22);
}

html[data-theme="light"] .testimonial-dot {
  background: rgba(102, 26, 92, 0.24);
}

html[data-theme="light"] .testimonial-dot:hover,
html[data-theme="light"] .testimonial-dot:focus-visible {
  background: rgba(160, 100, 0, 0.55);
}

html[data-theme="light"] .testimonial-dot.is-active {
  background: linear-gradient(135deg, rgba(102, 26, 92, 0.85), rgba(204, 26, 26, 0.75));
}

html[data-theme="light"] .process-step span:first-child {
  background: #0a66c2;
  color: #ffff;
}

html[data-theme="light"] .catalogue-index {
  background: #0a66c2;
  color: #ffffff;
}

html[data-theme="light"] .accent-card {
  background:transparent;
}

html[data-theme="light"] .site-footer {
  color: var(--muted);
}

html[data-theme="light"] .site-footer a {
  color: var(--muted);
}

/* new sections light theme */
html[data-theme="light"] .stats-band {
  background: linear-gradient(135deg, rgba(102, 26, 92, 0.07), rgba(204, 26, 26, 0.03));
  border-color: rgba(102, 26, 92, 0.12);
}

html[data-theme="light"] .stats-grid article {
  border-color: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .stats-grid span {
  color: var(--muted);
}

html[data-theme="light"] .stats-grid strong {
  background: linear-gradient(135deg, #7a2a6e, #cc1a1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html[data-theme="light"] .plan-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 245, 255, 0.75));
  border-color: rgba(120, 80, 160, 0.13);
}

html[data-theme="light"] .plan-card-featured {
  background:#faf5f5f1;
  border-color: rgba(160, 100, 0, 0.35);
}

html[data-theme="light"] .plan-badge {
  border-color: rgba(102, 26, 92, 0.12);

}

html[data-theme="light"] .plan-price {
  border-color: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .plan-price strong {
  color: var(--text);
}

html[data-theme="light"] .plan-price span {
  color: var(--muted);
}

html[data-theme="light"] .plan-features li {
  color: var(--muted);
}

html[data-theme="light"] .plan-features li::before {
  background: linear-gradient(135deg, #2a00c4, #4500a0);
}

html[data-theme="light"] .faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 245, 255, 0.72));
  border-color: rgba(102, 26, 92, 0.12);
}

html[data-theme="light"] .faq-item[open] {
  border-color: rgba(160, 100, 0, 0.32);
}

html[data-theme="light"] .faq-item summary {
  color: var(--text);
}

html[data-theme="light"] .faq-icon {
  background: rgba(102, 26, 92, 0.07);
  color: var(--muted);
}

html[data-theme="light"] .faq-item[open] .faq-icon {
  background: linear-gradient(135deg, rgba(179, 134, 0, 0.2), rgba(204, 26, 26, 0.1));
  color: var(--text);
}

html[data-theme="light"].sim-total-grid {
  font-size: 0.75rem;
  color: #0a0202;
  background-color: #408ee75e;
  padding: 2px 6px;
  display: inline-block;
  border-radius: 5px;
  margin: 0;
}

html[data-theme="light"] .sim-total-grids {
  font-size: 0.75rem;
  color: #0e0909;
  background-color: #f3662e56;
  padding: 2px 6px;
  display: inline-block;
  border-radius: 5px;
  margin: 0;
}


html[data-theme="light"] .faq-body {
  color: var(--muted);
}

html[data-theme="light"] .cta-banner {
  background:transparent;
  border-color: rgba(102, 26, 92, 0.13);
}

html[data-theme="light"] .cta-banner h2 {
  color: var(--text);
}

html[data-theme="light"] .cta-banner p {
  color: var(--muted);
}

html[data-theme="light"] .sim-group h4 {
  color: rgba(0, 0, 0, 0.45);
}

html[data-theme="light"] .sim-group h4 small {
  color: rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .sim-option-base,
html[data-theme="light"] .sim-checkbox,
html[data-theme="light"] .sim-checkbox-wide,
html[data-theme="light"] .sim-radio {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(102, 26, 92, 0.15);
}

html[data-theme="light"] .sim-option-base:hover,
html[data-theme="light"] .sim-checkbox:hover,
html[data-theme="light"] .sim-checkbox-wide:hover,
html[data-theme="light"] .sim-radio:hover {
  border-color: rgba(102, 26, 92, 0.35);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .sim-option-price,
html[data-theme="light"] .sim-wide-price {
  color: rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .sim-wide-label small,
html[data-theme="light"] .sim-radio-content small {
  color: var(--muted);
}

html[data-theme="light"] .sim-radio-badge {
  background: rgba(102, 26, 92, 0.08);
  color: var(--text);
}

html[data-theme="light"] .sim-total-label {
  color: rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] .sim-total-sub {
  color: rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .sim-summary li {
  color: var(--muted);
}

html[data-theme="light"] .main-nav a {
  background: transparent;
}

html[data-theme="light"] .site-header.menu-open .menu-toggle {
  background: rgba(102, 26, 92, 0.1);
  border-color: rgba(102, 26, 92, 0.28);
}

html[data-theme="light"] .window-bar span {
  background: rgba(102, 26, 92, 0.2);
}

html[data-theme="light"] .rotating-ring {
  border-color: rgba(102, 26, 92, 0.15);
}


html[data-theme="light"] .ring-one {
  border-top-color: rgba(179, 134, 0, 0.8);
  border-right-color: rgba(204, 26, 26, 0.5);
}

html[data-theme="light"] .ring-two {
  border-left-color: rgba(102, 26, 92, 0.7);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] .tilt-card:hover {
  border-color: rgba(160, 100, 0, 0.28);
}

html[data-theme="light"] .solution-screen {
  background: linear-gradient(160deg, rgba(240, 239, 245, 0.96), rgba(223, 220, 224, 0.7));
}

html[data-theme="light"] .screen-row,
html[data-theme="light"] .screen-row-group span,
html[data-theme="light"] .screen-table span,
html[data-theme="light"] .kpi-row span,
html[data-theme="light"] .short-row-group span,
html[data-theme="light"] .health-card,
html[data-theme="light"] .queue-ticket,
html[data-theme="light"] .queue-display,
html[data-theme="light"] .queue-line span {
  background: rgba(102, 26, 92, 0.1);
}

html[data-theme="light"] .screen-row-wide {
  background: linear-gradient(135deg,  rgba(45, 211, 53, 0.301), rgba(115, 235, 121, 0.582));
}

html[data-theme="light"] .screen-sidebar {
  background: linear-gradient(180deg, rgba(45, 211, 53, 0.582), rgba(115, 235, 121, 0.582));
}

html[data-theme="light"] .chart-surface {
  background: rgba(102, 26, 92, 0.07);
}

html[data-theme="light"] .health-card.large {
  background: linear-gradient(135deg, rgba(45, 211, 53, 0.301), rgba(115, 235, 121, 0.582));
}

html[data-theme="light"] .intro-grid .glass-card,
html[data-theme="light"] .glass-card p {
  color: var(--muted);
}

/* =========================================================
   RESPONSIVE — NEW SECTIONS
   ========================================================= */

@media (max-width: 1100px) {
  .plans-grid {
     grid-template-columns: repeat(2, 1fr);
    min-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid article:nth-child(2) {
    border-right: none;
  }

  .stats-grid article:nth-child(1),
  .stats-grid article:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  html[data-theme="light"] .stats-grid article:nth-child(1),
  html[data-theme="light"] .stats-grid article:nth-child(2) {
    border-bottom-color: rgba(102, 26, 92, 0.1);
  }

  .cta-banner {
    padding: 52px 36px;
  }
}

@media (max-width: 900px) {
  .plans-grid,
  .projects-grid {
    grid-template-columns: repeat(1, 1fr);

  }

  .faq-list {
    max-width: 100%;
  }

  .dashboard-grid {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px
}

  .testimonials-carousel .testimonials-grid {
    display: flex;
  }

  .testimonials-carousel .testimonial {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 760px) {
  .theme-toggle {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .hero h1,
  .section h2{
    max-width: 100%;
    font-size: clamp(1.4rem, 2vw, 2rem);
  }
   .section h3{
        font-size: clamp(1.2rem, 2vw, 1.1rem);
   }

  .cta-banner {
    padding: 36px 20px;
    border-radius: var(--radius-lg);
    margin-top: 60px;
  }
  .solutions-grid,
  .service-groups,
  .about-grid {
    grid-template-columns: 1fr;
  } 
  .cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
  }

  .cta-inner {
    gap: 12px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .cta-actions .button {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .faq-item summary {
    padding: 8px 10px;
    font-size: 0.97rem;
  }

  .faq-body {
    padding: 0 8px 10px;
  }

  .plan-card {
    padding: 20px 18px;
    gap: 14px;
  }

  .plan-card h3 {
    font-size: 1.6rem;
  }

  .plan-price strong {
    font-size: 1.3rem;
  }

  .project-card {
    border-radius: var(--radius-lg);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lang-toggle,
  .theme-toggle{
    width: 35px;
    height: 35px;
    margin-right: 0;
    padding: 2px;
    border-radius: 10px;

  }

  .stats-grid article {
    padding: 22px 12px;
  }

  html[data-theme="light"] .stats-grid article:nth-child(1),
  html[data-theme="light"] .stats-grid article:nth-child(2) {
    border-bottom-color: rgba(102, 26, 92, 0.1);
  }

  .plans-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    min-width: auto;
    gap: 14px;
  }

  .testimonials-carousel {
    padding: 0 45px;
  }

  .testimonials-carousel .testimonials-grid {
    display: flex;
  }

  .testimonials-carousel .testimonial {
    flex-basis: 100%;
    min-height: 0;
    padding: 22px;
  }

  .testimonial-nav {
    width: 38px;
    height: 38px;
  }

  .testimonial-dots {
    margin-top: 12px;
  }
}

/* ============================================
   SIG SECTION — Sistemas Integrados de Gestão
   ============================================ */
.sig-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* A grelha SIG usa process-grid mas com 4 colunas e 2 linhas (8 cards) */
.sig-grid-override {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* Linha do cabeçalho: badge ancorado ao topo, fullname quebra à direita */
.sig-header-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

/* Badge da sigla (SIGE, SIGU…) */
.sig-acronym {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 36px;
  width: 36px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #130f05;
  background: linear-gradient(135deg, var(--gold), #ffd155);
}

html[data-theme="light"] .sig-acronym {
  background: #0a66c2;
  color: #fff;
}

/* Nome completo — sempre numa linha, trunca com … se necessário */
.sig-fullname {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  padding-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Remove o margin-bottom do process-step span original nesta secção,
   pois agora o espaçamento é gerido pelo sig-header-row */
.sig-grid-override .process-step > span:first-child {
  display: none;
}

@media (max-width: 900px) {
  .sig-grid-override {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}


/* =========================================================
   PUBLIC TOAST NOTIFICATIONS
   ========================================================= */

.public-toast-container {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  pointer-events: none;
  width: max-content;
  max-width: calc(100% - 32px);
}
.public-form-toast {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.public-form-toast .public-toast {
  width: 100%;
  white-space: normal;
}

.public-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: rgba(24, 22, 40, 0.97);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.3);
  pointer-events: auto;
  white-space: nowrap;
  animation: publicToastIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.public-toast.is-fading {
  animation: publicToastOut 0.3s ease forwards;
}

.public-toast.is-success {
  background: rgba(16, 102, 58, 0.97);
  border-color: rgba(74, 222, 128, 0.35);
}

.public-toast.is-error {
  background: rgba(136, 19, 19, 0.97);
  border-color: rgba(252, 165, 165, 0.3);
}

.public-toast-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
}

@keyframes publicToastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes publicToastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(12px) scale(0.92); }
}

/* =========================================================
   HERO — NOVO LOOK
   ========================================================= */

/* Eyebrow com ponto animado */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  margin-bottom: 4px;
}

.hero-eyebrow-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}


/* Botão primário com ícone de seta */
.button-primary svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.button-primary:hover svg {
  transform: translateX(3px);
}

/* Prova social */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-social-proof strong {
  color: var(--text);
}

.hero-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 0.82rem;
}

/* Métricas com ícone */
.hero-metric-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.hero-metrics article {
  padding: 18px 16px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.hero-metrics article::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.hero-metrics strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
}

/* Window bar melhorada */
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}

.wb-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wb-red    { background: #ff5f57; }
.wb-yellow { background: #ffbd2e; }
.wb-green  { background: #28c840; }

.wb-title {
  margin-left: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}

/* Barras de gráfico com label */
.chart-surface {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Floating pills com ícone */
.floating-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 18px;
  font-size: 0.78rem;
}

.floating-pill i {
  font-size: 0.82rem;
  opacity: 0.8;
}

/* Notificação flutuante */
.hero-notif {
  position: absolute;
  bottom: 30px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(17, 19, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
  animation-delay: 1.5s;
  z-index: 4;
  min-width: 220px;
}

.hero-notif-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(74, 222, 128, 0.06));
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: #4ade80;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hero-notif-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.hero-notif-text span {
  font-size: 0.72rem;
  color: var(--muted);
}

/* =========================================================
   TRUST BAND — NOVO LOOK
   ========================================================= */

.trust-band {
  padding: 20px 28px;
  margin-top: 24px;
  gap: 0;
}

.trust-band-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.trust-band-label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.trust-logo-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
}

.trust-logo-item i {
  font-size: 0.82rem;
  color: var(--gold);
  opacity: 0.85;
}

/* =========================================================
   STATS BAND — NOVO LOOK
   ========================================================= */

.stats-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 238, 0, 0.12), rgba(255, 38, 38, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.stats-grid article {
  padding: 28px 20px 24px;
  position: relative;
}

.stats-grid article::after {
  content: "";
  position: absolute;
  top: 20%; bottom: 20%; right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
}

.stats-grid article:last-child::after {
  display: none;
}

/* =========================================================
   LIGHT THEME — overrides para os novos elementos
   ========================================================= */

html[data-theme="light"] .hero-eyebrow {
  color: rgba(18, 16, 26, 0.65);
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(102, 26, 92, 0.15);
}

html[data-theme="light"] .hero-metric-icon {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(102, 26, 92, 0.12);
  color: var(--gold);
}

html[data-theme="light"] .trust-logo-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(102, 26, 92, 0.1);
  color: rgba(18, 16, 26, 0.55);
}

html[data-theme="light"] .trust-logo-item:hover {
  background: rgba(102, 26, 92, 0.06);
  border-color: rgba(102, 26, 92, 0.18);
  color: rgba(18, 16, 26, 0.85);
}

html[data-theme="light"] .trust-logo-item i {
  color: var(--gold);
}

html[data-theme="light"] .stats-icon {
  background: linear-gradient(135deg, rgba(53, 13, 90, 0.1), rgba(53, 13, 90, 0.05));
  border-color: rgba(53, 13, 90, 0.12);
  color: var(--gold);
}

html[data-theme="light"] .hero-notif {
  background: rgba(252, 250, 255, 0.96);
  border-color: rgba(102, 26, 92, 0.12);
  box-shadow: 0 8px 32px rgba(80, 40, 120, 0.12);
}

html[data-theme="light"] .wb-title {
  color: rgba(18, 16, 26, 0.3);
}

html[data-theme="light"] .chart-label {
  color: rgba(18, 16, 26, 0.3);
}

html[data-theme="light"] .trust-band-label {
  color: var(--muted);
}

html[data-theme="light"] .hero-social-proof {
  color: var(--muted);
}

/* =========================================================
   MOBILE — novos elementos
   ========================================================= */

@media (max-width: 900px) {
  .hero-notif {
    display: none;
  }
}

@media (max-width: 760px) {
  .hero-eyebrow {
    font-weight: 900;
    font-size: 0.68rem;
    padding: 7px 14px 7px 9px;
  }

  .hero-social-proof {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.85rem;
  }

  .hero-metrics {
    gap: 10px;
  }

  .hero-metrics article {
    padding: 14px 12px;
  }

  .hero-metric-icon {
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
    margin-bottom: 8px;
  }

  .hero-metrics strong {
    font-size: 1.15rem;
  }

  .trust-band {
    padding: 10px 18px;
    margin-top: 20px;
    gap: 0;
  }

  .trust-logo-item {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .stats-icon {
    width: 36px;
    height: 36px;
    font-size: 0.88rem;
    border-radius: 11px;
    margin-bottom: 10px;
  }

  .stats-grid article {
    padding: 20px 12px 18px;
  }

  .stats-grid article::after {
    display: none;
  }

  .floating-pill {
    padding: 10px 14px;
    font-size: 0.72rem;
    display: none;
  }
}

@media (max-width: 900px) {
  .floating-pill {
    display: none;
  }
}

@media (max-width: 600px) {
  .public-toast-container {
    bottom: 16px;
    width: calc(100% - 32px);
    max-width: 100%;
  }
  .public-toast {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

/* =====================================================
   SISTEMAS EM DESTAQUE — cards com imagem real
   ===================================================== */

/* Wrapper da imagem dentro do card */
.solution-img-wrap {
  position: relative;
  width: 100%;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #0f0f1a;
  display: flex;
  align-items: stretch;
}

.solution-img-wrap img.solution-img-slide {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

/* Indicador "clique" */
.solution-img-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.solution-img-wrap.is-cycling:hover .solution-img-hint { opacity: 1; }

/* Dots indicadores de slide */
.solution-img-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  pointer-events: none;
}
.sol-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.2s, transform 0.2s;
}
.sol-dot.active {
  background: #fff;
  transform: scale(1.35);
}

/* Cursor pointer quando há mais de 1 imagem */
.solution-img-wrap.is-cycling { cursor: pointer; }

/* Screen padrão para cards sem imagem (fallback CSS) */
.screen-default {
  min-height: 220px;
}

/* Botão "Solicitar proposta" dentro do card de sistema */
.sol-proposal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid rgba(109, 40, 217, 0.35);
  background: transparent;
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.15s;
  letter-spacing: 0.01em;
}

.sol-proposal-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.sol-proposal-btn:hover {
  background: rgba(109, 40, 217, 0.15);
  border-color: #a78bfa;
  color: #c4b5fd;
  transform: translateY(-1px);
}

.sol-proposal-btn:hover i {
  transform: translateX(2px) translateY(-1px);
}

.sol-proposal-btn:active {
  transform: translateY(0);
}

/* Versão light */
html[data-theme="light"] .sol-proposal-btn {
  border-color: rgba(109, 40, 217, 0.4);
  color: #6d28d9;
}

html[data-theme="light"] .sol-proposal-btn:hover {
  background: rgba(109, 40, 217, 0.08);
  border-color: #6d28d9;
  color: #5b21b6;
}

/* =====================================================
   SIMULADOR DE CUSTOS — tab do modal de proposta
   ===================================================== */

/* Tab do simulador — texto menor para caber em 3 colunas */
#proposal-tab-simulator {
  font-size: 0.8rem;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#proposal-tab-simulator i { font-size: 0.8rem; }

/* O panel do simulador usa display: block (não grid) */
.proposal-panel--sim.is-active {
  display: block;
}

/* Layout 2 colunas dentro do modal */
.sim-modal-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: start;
}

/* Total compacto lateral */
.sim-modal-total {
  position: sticky;
  top: 12px;
}

.sim-modal-total .sim-total-wrap {
  padding: 20px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 12px;
}

.sim-modal-total .sim-total-amount {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 8px 0;
}

.sim-modal-total .sim-whatsapp-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.82rem;
  padding: 12px 14px;
}

/* Esconder botão de envio e feedback quando o tab simulator está activo */
.proposal-form--sim-active .proposal-submit-btn,
.proposal-form--sim-active .proposal-feedback,
.proposal-form--sim-active #proposal-toast {
  display: none !important;
}

/* Tabs — fonte menor para 3 colunas em ecrãs pequenos */
@media (max-width: 540px) {
  .proposal-tab {
    font-size: 0.75rem;
    padding: 10px 8px;
  }
  #proposal-tab-simulator i { display: none; }

  .sim-modal-layout {
    grid-template-columns: 1fr;
  }
  .sim-modal-total {
    position: static;
  }
}

/* Light mode — total card */
html[data-theme="light"] .sim-modal-total .sim-total-wrap {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}
