:root {
  --bg: #f4f8fc;
  --bg-soft: #edf4fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --line: #d8e4f0;
  --line-strong: #bdd4e8;
  --text: #17314d;
  --text-soft: #4b6786;
  --heading: #0c355f;
  --primary: #0b4f9c;
  --primary-deep: #07396d;
  --primary-soft: #e8f2ff;
  --teal: #12c4dd;
  --teal-soft: #dffaff;
  --slate: #7b91a6;
  --purple: #737ce7;
  --shadow: 0 18px 50px rgba(13, 56, 102, 0.12);
  --shadow-soft: 0 12px 32px rgba(11, 79, 156, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --success: #25d366;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(18, 196, 221, 0.12), transparent 28%),
    linear-gradient(180deg, #f9fcff 0%, #f4f8fc 100%);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

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

[id] {
  scroll-margin-top: 110px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 251, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11, 79, 156, 0.08);
}

.navbar {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  --btn-bg: transparent;
  --btn-color: var(--primary);
  --btn-border: rgba(11, 79, 156, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
  box-shadow: 0 8px 24px rgba(11, 79, 156, 0.06);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 79, 156, 0.14);
}

.btn-primary {
  --btn-bg: linear-gradient(135deg, var(--primary), #1268bf 55%, var(--teal));
  --btn-color: #ffffff;
  --btn-border: transparent;
}

.btn-secondary {
  --btn-bg: rgba(255, 255, 255, 0.92);
  --btn-color: var(--primary);
  --btn-border: rgba(11, 79, 156, 0.18);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(18, 196, 221, 0.32);
}

.btn-disabled {
  --btn-bg: #f2f7fb;
  --btn-color: #6c839c;
  --btn-border: rgba(108, 131, 156, 0.18);
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 10vw, 110px) 0 52px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 420px);
  align-items: center;
  gap: 54px;
  position: relative;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.orb-1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(18, 196, 221, 0.18), rgba(18, 196, 221, 0));
  top: -40px;
  left: -60px;
}

.orb-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(11, 79, 156, 0.12), rgba(11, 79, 156, 0));
  right: -90px;
  top: 20px;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 79, 156, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 79, 156, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0));
  pointer-events: none;
}

.hero-copy h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  color: var(--heading);
  margin-bottom: 18px;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 690px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 30px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 196, 221, 0.22);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 10px 24px rgba(18, 196, 221, 0.08);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(18, 196, 221, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-highlights span,
.project-tags span,
.tech-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 79, 156, 0.09);
  color: var(--primary);
}

.hero-panel {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  width: min(100%, 395px);
  margin-left: auto;
  padding: 16px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(233,244,255,0.95));
  border: 1px solid rgba(18, 196, 221, 0.18);
  box-shadow: var(--shadow);
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px dashed rgba(11, 79, 156, 0.12);
  pointer-events: none;
}

.hero-photo-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 196, 221, 0.22), rgba(18, 196, 221, 0));
  top: 8%;
  right: 4%;
}

.hero-photo-frame img {
  width: 100%;
  border-radius: 28px;
  position: relative;
  z-index: 1;
  object-fit: cover;
}

.hero-card {
  position: relative;
  margin-top: -54px;
  margin-left: 20px;
  z-index: 3;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  border: 1px solid rgba(11, 79, 156, 0.1);
  box-shadow: var(--shadow-soft);
}

.mini-kicker,
.eyebrow,
.project-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--primary);
}

.hero-card strong {
  display: block;
  margin: 10px 0 10px;
  font-size: 20px;
  line-height: 1.4;
  color: var(--heading);
}

.hero-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.feature-strip {
  padding: 8px 0 28px;
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.strip-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(11, 79, 156, 0.08);
  box-shadow: var(--shadow-soft);
}

.strip-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 79, 156, 0.12), rgba(18, 196, 221, 0.18));
  color: var(--primary);
  font-weight: 900;
}

.strip-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
}

.strip-item p {
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 14px;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--heading);
}

.section-heading p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 79, 156, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 196, 221, 0.24);
  box-shadow: 0 22px 44px rgba(11, 79, 156, 0.12);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: stretch;
}

.about-photo-card,
.about-content {
  padding: 24px;
}

.about-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(11,79,156,0.1), rgba(18,196,221,0.08));
}

.about-content p {
  color: var(--text-soft);
  line-height: 1.78;
  margin-bottom: 14px;
}

.about-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stat-box {
  padding: 18px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fcff, #eef6fd);
  border: 1px solid rgba(11, 79, 156, 0.08);
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  font-weight: 700;
}

.services-grid,
.trust-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card,
.trust-card,
.process-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.trust-card::before,
.process-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal), var(--purple));
}

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11, 79, 156, 0.12), rgba(18, 196, 221, 0.18));
  font-size: 28px;
  margin-bottom: 18px;
}

.service-card h3,
.trust-card h3,
.process-card h3,
.project-card h3 {
  font-size: 22px;
  line-height: 1.3;
  color: var(--heading);
  margin-bottom: 12px;
}

.service-card p,
.trust-card p,
.process-card p,
.project-card p,
.cta-copy p {
  color: var(--text-soft);
  line-height: 1.72;
}

.trust-index,
.process-card strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-soft), var(--teal-soft));
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
}

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

.project-card {
  padding: 24px;
  overflow: hidden;
}

.project-card.featured {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,250,255,0.98));
}

.project-visual {
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(11, 79, 156, 0.1);
  background: linear-gradient(180deg, #eff7ff, #eaf7ff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.browser-chrome {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(11, 79, 156, 0.08);
  background: rgba(255,255,255,0.68);
}

.browser-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(11, 79, 156, 0.22);
}

.browser-chrome span:nth-child(2) {
  background: rgba(18, 196, 221, 0.34);
}

.browser-chrome span:nth-child(3) {
  background: rgba(115, 124, 231, 0.38);
}

.visual-screen {
  min-height: 188px;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(18, 196, 221, 0.2), transparent 40%),
    linear-gradient(180deg, rgba(11,79,156,0.06), rgba(255,255,255,0.58));
}

.visual-screen h3 {
  margin-bottom: 6px;
}

.visual-screen p {
  color: var(--text-soft);
  font-size: 14px;
}

.visual-chip {
  display: inline-flex;
  padding: 8px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(11, 79, 156, 0.12);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-visual-orcs .visual-screen {
  background:
    radial-gradient(circle at top right, rgba(18,196,221,0.24), transparent 34%),
    radial-gradient(circle at bottom left, rgba(115,124,231,0.12), transparent 28%),
    linear-gradient(135deg, rgba(11,79,156,0.10), rgba(255,255,255,0.72));
}

.mini-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-lines span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(11,79,156,0.65), rgba(18,196,221,0.35));
}

.mini-lines span:nth-child(2) { width: 85%; }
.mini-lines span:nth-child(3) { width: 58%; }

.mini-grid {
  width: 100%;
  height: 82px;
  margin-top: 18px;
  border-radius: 16px;
  background-image:
    linear-gradient(rgba(11, 79, 156, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 79, 156, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: rgba(255, 255, 255, 0.66);
}

.mini-chart {
  width: 100%;
  height: 86px;
  margin-top: 18px;
  border-radius: 16px;
  position: relative;
  background: rgba(255,255,255,0.66);
}

.mini-chart::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 14px;
  top: 12px;
  background: linear-gradient(180deg, transparent 0 72%, rgba(11,79,156,0.05) 72% 74%, transparent 74% 100%);
  border-radius: 10px;
}

.mini-chart::after {
  content: "";
  position: absolute;
  inset: 22px 18px 18px;
  background: linear-gradient(135deg, transparent 0 30%, rgba(11,79,156,0.16) 30% 36%, transparent 36%),
              linear-gradient(90deg, rgba(18,196,221,0.55), rgba(115,124,231,0.55));
  clip-path: polygon(0% 80%, 18% 66%, 38% 70%, 55% 42%, 72% 50%, 100% 12%, 100% 100%, 0% 100%);
  border-radius: 8px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.project-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(11, 79, 156, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--heading);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  text-align: left;
  cursor: pointer;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-soft);
  line-height: 1.7;
  transition: max-height 0.32s ease, padding 0.32s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 260px;
  padding: 0 24px 22px;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.cta-section {
  padding: 34px 0 84px;
}

.cta-box {
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(18,196,221,0.18), transparent 35%),
    linear-gradient(135deg, #f9fcff, #eef7ff);
  border: 1px solid rgba(11, 79, 156, 0.10);
  box-shadow: var(--shadow);
}

.cta-copy {
  max-width: 780px;
  margin-bottom: 24px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(11, 79, 156, 0.12);
  background: rgba(255,255,255,0.92);
  margin-bottom: 18px;
  color: var(--text);
}

form input::placeholder,
form textarea::placeholder {
  color: #8095aa;
}

.form-submit-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.form-trust {
  color: var(--text-soft);
  font-size: 14px;
}

.site-footer {
  background: #edf5fc;
  border-top: 1px solid rgba(11, 79, 156, 0.08);
}

.footer-inner {
  padding: 34px 0 20px;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr 1fr;
  gap: 22px;
  align-items: start;
}

.footer-logo {
  max-width: 220px;
  width: 100%;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-highlight {
  color: var(--text-soft);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social a,
.footer-col a {
  text-decoration: none;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.footer-social a:hover,
.footer-col a:hover {
  color: var(--primary);
}

.footer-social a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 79, 156, 0.10);
  background: rgba(255,255,255,0.74);
  font-weight: 700;
}

.footer-col h4 {
  color: var(--heading);
  margin-bottom: 14px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.footer-bottom {
  padding: 14px 0 26px;
  border-top: 1px solid rgba(11, 79, 156, 0.08);
}

.footer-text {
  color: var(--text-soft);
  text-align: center;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--success);
  color: #0d2517;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.32);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: var(--primary);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12, 53, 95, 0.16);
  backdrop-filter: blur(2px);
  display: none;
  z-index: 998;
}

.nav-overlay.is-open {
  display: block;
}

@media (max-width: 1024px) {
  .hero-layout,
  .about-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 430px;
  }

  .feature-strip-grid,
  .services-grid,
  .trust-grid,
  .project-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .nav-desktop-cta {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    right: -100%;
    width: min(320px, 86vw);
    height: calc(100vh - 82px);
    padding: 26px 22px;
    background: rgba(249, 252, 255, 0.98);
    box-shadow: -18px 0 40px rgba(12, 53, 95, 0.12);
    border-left: 1px solid rgba(11, 79, 156, 0.08);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    transition: right 0.28s ease;
    z-index: 999;
  }

  .nav-links.is-open {
    right: 0;
  }

  .nav-links a {
    font-size: 16px;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

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

  .hero {
    padding-top: 48px;
  }

  .hero-copy p,
  .section-heading p {
    font-size: 16px;
  }

  .hero-card {
    margin-left: 0;
    margin-top: -34px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .cta-box,
  .project-card,
  .service-card,
  .trust-card,
  .process-card,
  .about-photo-card,
  .about-content {
    padding: 22px;
  }

  .faq-question {
    padding: 18px;
    font-size: 16px;
  }

  .faq-item.is-open .faq-answer {
    padding: 0 18px 18px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .footer-inner {
    padding: 28px 0 16px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 44px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-actions,
  .project-actions,
  .form-submit-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .project-actions .btn {
    width: 100%;
  }

  .hero-highlights,
  .project-tags,
  .tech-list {
    gap: 10px;
  }

  .hero-highlights span,
  .project-tags span,
  .tech-list span {
    width: 100%;
    justify-content: center;
  }

  .hero-photo-frame {
    padding: 12px;
    border-radius: 28px;
  }

  .hero-photo-frame img {
    border-radius: 22px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Ajustes finais solicitados ===== */
.site-header {
  background: rgba(7, 57, 109, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.nav-links a {
  color: rgba(235, 244, 255, 0.82);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-toggle-bar {
  background: #ffffff;
}

.card:hover,
.strip-item:hover,
.faq-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 44px rgba(11, 79, 156, 0.14);
}

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

.hero-actions .btn {
  min-width: 210px;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary), #1268bf 55%, var(--teal));
  color: #ffffff;
  border: none;
}

.cta-box .eyebrow,
.cta-box h2,
.cta-box p,
.cta-box label,
.form-trust {
  color: #ffffff;
}

.cta-box form input,
.cta-box form select,
.cta-box form textarea {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.28);
}

.btn-whatsapp {
  --btn-bg: #25d366;
  --btn-color: #ffffff;
  --btn-border: transparent;
}

.btn-whatsapp:hover {
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
}

.site-footer {
  background: #07396d;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-highlight,
.footer-text,
.footer-col ul li a,
.footer-social a {
  color: rgba(235, 244, 255, 0.82);
}

.footer-col h4 {
  color: #ffffff;
}

.footer-social a {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.footer-social a:hover,
.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
}

.whatsapp-float {
  color: #ffffff;
}

@media (max-width: 1200px) {
  .services-grid,
  .trust-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .services-grid,
  .trust-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .nav-links {
    background: rgba(7, 57, 109, 0.98);
    border-left-color: rgba(255,255,255,0.10);
  }
}

/* ORCS Lab image preview */
.project-visual-image-wrap {
  padding: 10px;
  background: linear-gradient(180deg, #f7fbff, #eef6ff);
}

.project-preview-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(11, 79, 156, 0.12);
}


/* ===== Retorno do header e footer para o tom claro da versão paleta-logo ===== */
.site-header {
  background: rgba(248, 251, 255, 0.88);
  border-bottom: 1px solid rgba(11, 79, 156, 0.08);
}

.nav-links a {
  color: var(--text-soft);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle-bar {
  background: var(--primary);
}

.site-footer {
  background: #edf5fc;
  border-top: 1px solid rgba(11, 79, 156, 0.08);
}

.footer-highlight,
.footer-text,
.footer-col ul li a,
.footer-social a {
  color: var(--text-soft);
}

.footer-col h4 {
  color: var(--heading);
}

.footer-social a {
  background: rgba(255,255,255,0.74);
  border-color: rgba(11, 79, 156, 0.10);
}

.footer-social a:hover,
.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(11, 79, 156, 0.08);
}

@media (max-width: 900px) {
  .nav-links {
    background: rgba(249, 252, 255, 0.98);
    border-left-color: rgba(11, 79, 156, 0.08);
  }

  .nav-links a {
    color: var(--text-soft);
  }

  .nav-links a:hover {
    color: var(--primary);
  }
}

/* ===== Ajustes finais de layout e cores ===== */
.site-header {
  background: #12A6D3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-toggle-bar {
  background: #ffffff;
}

.site-footer {
  background: #12A6D3;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-highlight,
.footer-text,
.footer-col ul li a,
.footer-social a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-col h4 {
  color: #ffffff;
}

.footer-social a {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}

.footer-social a:hover,
.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.feature-strip-grid {
  align-items: stretch;
}

.strip-item {
  min-height: 136px;
}

.strip-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18,166,211,0.12), rgba(18,166,211,0.22));
  color: #117ba6;
  font-size: 0;
}

.strip-icon svg {
  width: 22px;
  height: 22px;
}

.hero-panel {
  max-width: 430px;
  margin-left: auto;
}

.hero-photo-frame {
  padding: 14px;
}

.hero-card {
  width: min(86%, 360px);
  margin-top: -48px;
  margin-left: 22px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid rgba(17, 123, 166, 0.12);
  box-shadow: 0 18px 42px rgba(15, 72, 102, 0.14);
}

.hero-card strong {
  font-size: 18px;
}

.hero-card p {
  font-size: 15px;
}

.about-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
  gap: 28px;
  align-items: center;
}

.about-content {
  order: 1;
}

.about-photo-card {
  order: 2;
  max-width: 430px;
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(18,166,211,0.28);
}

.about-photo-card img {
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

.process-section {
  display: none !important;
}

.project-actions .btn:not(.btn-disabled) {
  background: linear-gradient(135deg, var(--primary), #1268bf 55%, var(--teal));
  color: #ffffff;
  border-color: transparent;
}

.project-actions .btn:not(.btn-disabled):hover {
  box-shadow: 0 14px 30px rgba(11, 79, 156, 0.18);
}

.project-visual-image-wrap {
  padding: 12px;
}

.project-preview-image {
  border-radius: 14px;
}

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

  .about-photo-card {
    max-width: 520px;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .nav-links {
    background: #12A6D3;
    border-left-color: rgba(255,255,255,0.16);
  }
}

@media (max-width: 768px) {
  .hero-panel {
    max-width: 460px;
    margin: 0 auto;
  }

  .hero-card {
    width: calc(100% - 28px);
    margin: -42px 14px 0;
    padding: 16px 18px;
  }

  .about-content,
  .about-photo-card {
    width: 100%;
  }
}

/* ===== Header e footer com o mesmo gradiente das bordas dos cards ===== */
.site-header {
  background: linear-gradient(90deg, var(--primary), var(--teal), var(--purple));
  border-bottom: none;
}

.site-footer {
  background: linear-gradient(90deg, var(--primary), var(--teal), var(--purple));
  border-top: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 900px) {
  .nav-links {
    background: linear-gradient(180deg, var(--primary), var(--teal), var(--purple));
  }
}


/* ===== Ajuste solicitado: header e footer em #98d6d6 ===== */
.site-header {
  background: #98d6d6 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.site-footer {
  background: #98d6d6 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.nav-links a,
.footer-highlight,
.footer-text,
.footer-col ul li a,
.footer-social a {
  color: #ffffff !important;
}

.nav-links a:hover,
.footer-social a:hover,
.footer-col a:hover {
  color: #ffffff !important;
}

.footer-col h4 {
  color: #ffffff !important;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.nav-toggle-bar {
  background: #ffffff !important;
}

@media (max-width: 900px) {
  .nav-links {
    background: #98d6d6 !important;
    border-left-color: rgba(255, 255, 255, 0.16) !important;
  }

  .nav-links a {
    color: #ffffff !important;
  }
}

/* ===== Ajuste final: header/footer no estilo claro da referência ===== */
.site-header {
  background: #e6edf3 !important;
  border-bottom: 1px solid rgba(68, 99, 130, 0.12) !important;
}

.nav-links a {
  color: #486789 !important;
}

.nav-links a:hover {
  color: #17314d !important;
}

.nav-toggle-bar {
  background: #486789 !important;
}

.site-footer {
  background: #e6edf3 !important;
  border-top: 1px solid rgba(68, 99, 130, 0.12) !important;
}

.footer-highlight,
.footer-text,
.footer-col ul li a {
  color: #486789 !important;
}

.footer-col h4 {
  color: #17314d !important;
}

.footer-social a {
  background: linear-gradient(135deg, var(--primary), #1268bf 55%, var(--teal)) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(11, 79, 156, 0.12) !important;
}

.footer-social a:hover {
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(11, 79, 156, 0.16) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(68, 99, 130, 0.12) !important;
}

@media (max-width: 900px) {
  .nav-links {
    background: #e6edf3 !important;
    border-left-color: rgba(68, 99, 130, 0.12) !important;
  }

  .nav-links a {
    color: #486789 !important;
  }
}

/* ===== Ajuste: header e footer levemente transparentes ===== */
.site-header {
  background: rgba(230, 237, 243, 0.84) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.site-footer {
  background: rgba(230, 237, 243, 0.88) !important;
}

@media (max-width: 900px) {
  .nav-links {
    background: rgba(230, 237, 243, 0.96) !important;
  }
}


/* ===== Ajuste: textos do footer centralizados ===== */
.footer-middle,
.footer-col {
  text-align: center !important;
  align-items: center !important;
}

.footer-highlight {
  text-align: center !important;
}

.footer-social {
  justify-content: center !important;
}

.footer-col ul {
  align-items: center !important;
  text-align: center !important;
}

.footer-col h4 {
  text-align: center !important;
}

/* ===== Ajustes de alinhamento do card branco do hero ===== */
.hero-card {
  width: min(86%, 360px) !important;
  margin-top: -82px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 18px 22px !important;
  text-align: center !important;
}

.hero-card .mini-kicker {
  width: 100%;
  justify-content: center !important;
  text-align: center !important;
}

.hero-card strong,
.hero-card p {
  text-align: center !important;
}

/* ===== Header no tom do início da página ===== */
.site-header {
  background: rgba(244, 248, 252, 0.90) !important;
  border-bottom: 1px solid rgba(92, 122, 150, 0.10) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.nav-links a {
  color: #4e6d8b !important;
}

.nav-links a:hover {
  color: #17314d !important;
}

.nav-toggle-bar {
  background: #4e6d8b !important;
}

/* ===== Footer no tom do final da página ===== */
.site-footer {
  background: rgba(223, 234, 241, 0.94) !important;
  border-top: 1px solid rgba(92, 122, 150, 0.10) !important;
}

.footer-highlight,
.footer-text,
.footer-col ul li a {
  color: #4e6d8b !important;
}

.footer-col h4 {
  color: #17314d !important;
}

.footer-social a {
  background: linear-gradient(135deg, var(--primary), #1268bf 55%, var(--teal)) !important;
  color: #ffffff !important;
  border: none !important;
}

.footer-bottom {
  border-top: 1px solid rgba(92, 122, 150, 0.10) !important;
}

@media (max-width: 900px) {
  .nav-links {
    background: rgba(244, 248, 252, 0.96) !important;
    border-left-color: rgba(92, 122, 150, 0.10) !important;
  }

  .nav-links a {
    color: #4e6d8b !important;
  }
}

@media (max-width: 768px) {
  .hero-card {
    width: calc(100% - 36px) !important;
    margin: -58px auto 0 !important;
    padding: 16px 18px !important;
  }
}

/* ===== Ajuste fino: header no tom do início e footer no tom do final da página ===== */
.site-header {
  background: rgba(246, 249, 252, 0.94) !important;
  border-bottom: 1px solid rgba(185, 203, 215, 0.22) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.nav-links a {
  color: #4f6e8c !important;
}

.nav-links a:hover {
  color: #17314d !important;
}

.nav-toggle-bar {
  background: #4f6e8c !important;
}

.site-footer {
  background: rgba(216, 229, 236, 0.96) !important;
  border-top: 1px solid rgba(168, 190, 203, 0.24) !important;
}

.footer-highlight,
.footer-text,
.footer-col ul li a {
  color: #4f6e8c !important;
}

.footer-col h4 {
  color: #17314d !important;
}

.footer-social a {
  background: linear-gradient(135deg, var(--primary), #1268bf 55%, var(--teal)) !important;
  color: #ffffff !important;
  border: none !important;
}

.footer-social a:hover {
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(168, 190, 203, 0.22) !important;
}

@media (max-width: 900px) {
  .nav-links {
    background: rgba(246, 249, 252, 0.98) !important;
    border-left-color: rgba(185, 203, 215, 0.22) !important;
  }

  .nav-links a {
    color: #4f6e8c !important;
  }
}

/* ===== Header com a cor e efeito da referência enviada ===== */
.site-header {
  background:
    linear-gradient(90deg, rgba(197, 226, 231, 0.92) 0%, rgba(222, 235, 240, 0.92) 22%, rgba(232, 240, 243, 0.92) 48%, rgba(214, 230, 236, 0.92) 100%) !important;
  border-bottom: 1px solid rgba(185, 203, 215, 0.18) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  position: sticky;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0px,
    rgba(255, 255, 255, 0.08) 1px,
    rgba(255, 255, 255, 0.00) 1px,
    rgba(255, 255, 255, 0.00) 48px
  );
  pointer-events: none;
}

.site-header .navbar {
  position: relative;
  z-index: 1;
}

.nav-links a {
  color: #4f6e8c !important;
}

.nav-links a:hover {
  color: #17314d !important;
}

.nav-toggle-bar {
  background: #4f6e8c !important;
}

@media (max-width: 900px) {
  .nav-links {
    background:
      linear-gradient(180deg, rgba(241, 247, 249, 0.98) 0%, rgba(226, 237, 241, 0.98) 100%) !important;
    border-left-color: rgba(185, 203, 215, 0.18) !important;
  }
}

/* ===== Header levemente transparente ===== */
.site-header {
  background:
    linear-gradient(90deg, rgba(197, 226, 231, 0.78) 0%, rgba(222, 235, 240, 0.78) 22%, rgba(232, 240, 243, 0.78) 48%, rgba(214, 230, 236, 0.78) 100%) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.site-header::before {
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    rgba(255, 255, 255, 0.00) 1px,
    rgba(255, 255, 255, 0.00) 48px
  ) !important;
}

/* ===== Footer na cor solicitada ===== */
.site-footer {
  background: #F0F5F9 !important;
  border-top: 1px solid rgba(185, 203, 215, 0.20) !important;
}

.footer-highlight,
.footer-text,
.footer-col ul li a {
  color: #4f6e8c !important;
}

.footer-col h4 {
  color: #17314d !important;
}

.footer-bottom {
  border-top: 1px solid rgba(185, 203, 215, 0.20) !important;
}

/* ===== Header na cor/efeito da referência, levemente transparente ===== */
.site-header {
  background:
    linear-gradient(90deg,
      rgba(194, 224, 231, 0.74) 0%,
      rgba(208, 229, 235, 0.74) 18%,
      rgba(220, 234, 239, 0.74) 34%,
      rgba(232, 239, 243, 0.74) 50%,
      rgba(221, 234, 239, 0.74) 66%,
      rgba(210, 228, 234, 0.74) 82%,
      rgba(198, 223, 230, 0.74) 100%) !important;
  border-bottom: 1px solid rgba(182, 203, 212, 0.16) !important;
  backdrop-filter: blur(14px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(110%) !important;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0px,
    rgba(255, 255, 255, 0.08) 1px,
    rgba(255, 255, 255, 0.00) 1px,
    rgba(255, 255, 255, 0.00) 48px
  ) !important;
  pointer-events: none;
}

.site-header .navbar {
  position: relative;
  z-index: 1;
}

.nav-links a {
  color: #4f6e8c !important;
}

.nav-links a:hover {
  color: #17314d !important;
}

.nav-toggle-bar {
  background: #4f6e8c !important;
}

@media (max-width: 900px) {
  .nav-links {
    background:
      linear-gradient(180deg,
        rgba(239, 245, 247, 0.94) 0%,
        rgba(222, 234, 239, 0.94) 100%) !important;
    border-left-color: rgba(182, 203, 212, 0.16) !important;
  }
}

/* ===== Ajuste fino: centralizar perfeitamente o card branco em relação à imagem ===== */
.hero-panel {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-photo-frame {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hero-card {
  width: min(84%, 360px) !important;
  margin: -82px auto 0 auto !important;
  align-self: center !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
}

@media (max-width: 768px) {
  .hero-panel {
    width: min(100%, 460px) !important;
  }

  .hero-card {
    width: calc(100% - 40px) !important;
    margin: -58px auto 0 auto !important;
  }
}

/* ===== Linha dos direitos reservados no mesmo estilo da borda superior dos cards ===== */
.footer-bottom {
  position: relative !important;
  border-top: none !important;
  padding-top: 26px !important;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal), var(--purple));
}


/* ===== Correções finais de responsividade mobile ===== */

/* Correção robusta do menu hambúrguer */
@media (max-width: 900px) {
  .site-header {
    z-index: 3000 !important;
  }

  .navbar {
    position: relative !important;
    z-index: 3002 !important;
  }

  .nav-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 3004 !important;
    pointer-events: auto !important;
  }

  .nav-links {
    position: fixed !important;
    top: 82px !important;
    right: -100% !important;
    width: min(320px, 86vw) !important;
    height: calc(100vh - 82px) !important;
    padding: 28px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    z-index: 3003 !important;
    transition: right 0.28s ease !important;
    box-shadow: -18px 0 40px rgba(12, 53, 95, 0.16) !important;
    overflow-y: auto !important;
  }

  .nav-links.is-open,
  .nav-links.active {
    right: 0 !important;
  }

  .nav-overlay {
    z-index: 2999 !important;
  }

  .nav-overlay.is-open,
  .nav-overlay.active {
    display: block !important;
  }
}

/* Texto inicial centralizado no mobile */
@media (max-width: 768px) {
  .hero-copy,
  .hero-copy h1,
  .hero-copy p {
    text-align: center !important;
  }

  .hero-copy p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-badge {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-actions {
    justify-content: center !important;
  }

  .hero-highlights {
    justify-content: center !important;
  }
}

/* Sobre mim no mobile: título centralizado e texto do card justificado */
@media (max-width: 768px) {
  #sobre .section-heading {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #sobre .section-heading h2,
  #sobre .section-heading p {
    text-align: center !important;
  }

  .about-content p {
    text-align: justify !important;
    text-align-last: auto !important;
  }
}

/* Cards de serviços com textos centralizados */
.service-card {
  text-align: center !important;
}

.service-card .icon-badge {
  margin-left: auto !important;
  margin-right: auto !important;
}

.service-card h3,
.service-card p {
  text-align: center !important;
}


/* ===== Ajustes solicitados: cases, diferenciais, menu mobile e footer mobile ===== */

/* Cases/projetos: título centralizado e texto justificado */
.project-card > .project-kicker {
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
}

.project-card > h3 {
  text-align: center !important;
}

.project-card > p {
  text-align: justify !important;
  text-align-last: auto !important;
}

.project-tags,
.project-actions {
  justify-content: center !important;
}

/* Cards "Por que desenvolver comigo?": títulos e textos centralizados */
.trust-card {
  text-align: center !important;
}

.trust-card .trust-index {
  margin-left: auto !important;
  margin-right: auto !important;
}

.trust-card h3,
.trust-card p {
  text-align: center !important;
}

/* Menu hambúrguer mobile: correção reforçada */
@media (max-width: 900px) {
  .site-header {
    z-index: 5000 !important;
  }

  .navbar {
    position: relative !important;
    z-index: 5002 !important;
  }

  .nav-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 5005 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .nav-links {
    position: fixed !important;
    top: 82px !important;
    right: 0 !important;
    width: min(320px, 86vw) !important;
    height: calc(100vh - 82px) !important;
    padding: 28px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    z-index: 5004 !important;
    transform: translateX(110%) !important;
    transition: transform 0.28s ease !important;
    box-shadow: -18px 0 40px rgba(12, 53, 95, 0.18) !important;
    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-links.is-open,
  .nav-links.active,
  body.menu-open .nav-links {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-links a {
    width: 100% !important;
    padding: 10px 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
  }

  .nav-overlay {
    z-index: 5001 !important;
    display: none !important;
  }

  .nav-overlay.is-open,
  .nav-overlay.active,
  body.menu-open .nav-overlay {
    display: block !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(2),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0 !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(3),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }
}

/* Mobile: footer apenas com direitos reservados */
@media (max-width: 768px) {
  .site-footer .footer-inner {
    display: none !important;
  }

  .site-footer {
    padding-top: 0 !important;
  }

  .footer-bottom {
    padding: 22px 0 26px !important;
  }

  .footer-text {
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }
}


/* ===== Menu mobile em painel superior, semelhante à referência enviada ===== */

/* Desktop: mantém o menu normal e esconde elementos mobile */
.mobile-menu-head,
.mobile-menu-primary-actions,
.mobile-menu-nav,
.mobile-menu-services {
  display: none;
}

.desktop-menu-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.desktop-menu-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-menu-nav a:hover {
  color: var(--primary);
}

@media (min-width: 901px) {
  .nav-links {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
}

@media (max-width: 900px) {
  .desktop-menu-nav {
    display: none !important;
  }

  .site-header {
    z-index: 8000 !important;
  }

  .navbar {
    position: relative !important;
    z-index: 8002 !important;
  }

  .nav-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 8010 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: auto !important;
    max-height: 92vh !important;
    padding: 16px 18px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    z-index: 8009 !important;
    overflow-y: auto !important;
    border: 1px solid rgba(185, 203, 215, 0.22) !important;
    border-radius: 0 0 28px 28px !important;
    background:
      linear-gradient(180deg, rgba(231, 247, 250, 0.96), rgba(211, 235, 241, 0.96)) !important;
    backdrop-filter: blur(18px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(115%) !important;
    box-shadow: 0 18px 45px rgba(12, 53, 95, 0.18) !important;

    transform: translateY(-112%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.30s ease, opacity 0.24s ease, visibility 0.24s ease !important;
  }

  .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    opacity: 0.55;
  }

  .nav-links.is-open,
  .nav-links.active,
  body.menu-open .nav-links {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mobile-menu-head {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
  }

  .mobile-menu-head img {
    width: 118px;
    height: auto;
  }

  .mobile-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: #4f6e8c;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(12, 53, 95, 0.08);
  }

  .mobile-menu-primary-actions {
    width: min(100%, 360px);
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 10px;
    position: relative;
    z-index: 2;
    margin-top: 4px;
  }

  .mobile-menu-primary-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .mobile-menu-nav {
    width: min(100%, 360px);
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
    z-index: 2;
  }

  .mobile-menu-nav a {
    min-height: 42px;
    padding: 11px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.74);
    border: 1px solid rgba(79, 110, 140, 0.12);
    color: #4f6e8c !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-services {
    width: min(100%, 360px);
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 9px;
    position: relative;
    z-index: 2;
    margin-top: 2px;
  }

  .mobile-menu-services span {
    min-height: 38px;
    border-radius: 999px;
    background: rgba(255,255,255,0.66);
    color: #4f6e8c;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(79, 110, 140, 0.10);
  }

  .nav-overlay {
    z-index: 8001 !important;
    background: rgba(12, 53, 95, 0.20) !important;
    backdrop-filter: blur(3px) !important;
    -webkit-backdrop-filter: blur(3px) !important;
    display: none !important;
  }

  .nav-overlay.is-open,
  .nav-overlay.active,
  body.menu-open .nav-overlay {
    display: block !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(2),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0 !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(3),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }
}

@media (max-width: 420px) {
  .mobile-menu-head img {
    width: 104px;
  }

  .mobile-menu-nav {
    grid-template-columns: 1fr;
  }

  .nav-links {
    padding: 14px 14px 22px !important;
  }
}


/* ===== Correção definitiva do menu mobile: evitar corte pelo header ===== */
@media (max-width: 900px) {
  .site-header {
    overflow: visible !important;
  }

  .site-header::before {
    pointer-events: none !important;
  }

  .nav-links {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: 96vh !important;
    min-height: auto !important;
    overflow-y: auto !important;
    z-index: 99999 !important;
    padding: 16px 16px 24px !important;
    transform: translateY(-115%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .nav-links.is-open,
  .nav-links.active,
  body.menu-open .nav-links {
    transform: translateY(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .mobile-menu-head,
  .mobile-menu-primary-actions,
  .mobile-menu-nav,
  .mobile-menu-services {
    position: relative !important;
    z-index: 100000 !important;
  }

  .mobile-menu-primary-actions {
    margin-top: 10px !important;
  }

  .mobile-menu-nav,
  .mobile-menu-services {
    margin-top: 4px !important;
  }

  .nav-overlay {
    z-index: 99990 !important;
  }

  .nav-toggle {
    z-index: 100001 !important;
  }

  body.menu-open .nav-toggle {
    visibility: hidden !important;
  }
}


/* ===== Ajuste: remover aspecto embaçado do menu mobile ===== */
@media (max-width: 900px) {
  .nav-links {
    background: #eaf5f8 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
  }

  .nav-links::before {
    opacity: 0.22 !important;
  }

  .mobile-menu-close {
    background: #ffffff !important;
  }

  .mobile-menu-nav a,
  .mobile-menu-services span {
    background: #ffffff !important;
    color: #35506d !important;
  }

  .mobile-menu-primary-actions .btn {
    opacity: 1 !important;
  }

  .nav-overlay {
    background: rgba(12, 53, 95, 0.12) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}


/* ===== Menu hambúrguer simplificado ===== */
@media (max-width: 900px) {
  .mobile-menu-services {
    display: none !important;
  }

  .mobile-menu-head {
    width: min(100%, 360px) !important;
    justify-content: flex-end !important;
    margin-bottom: 6px !important;
  }

  .mobile-menu-head img {
    display: none !important;
  }

  .mobile-menu-nav {
    width: min(100%, 360px) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }

  .mobile-menu-nav a {
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid rgba(79, 110, 140, 0.12) !important;
    color: #35506d !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-menu-primary-actions {
    width: min(100%, 360px) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin-top: 4px !important;
  }

  .mobile-menu-primary-actions .btn {
    width: 100% !important;
    min-height: 46px !important;
  }
}


/* ===== Menu hambúrguer lateral direito no mobile ===== */
@media (max-width: 900px) {
  .site-header {
    overflow: visible !important;
    z-index: 8000 !important;
  }

  .nav-toggle {
    display: flex !important;
    position: relative !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: min(330px, 86vw) !important;
    max-width: 86vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    padding: 20px 18px 28px !important;
    border-radius: 28px 0 0 28px !important;
    border-left: 1px solid rgba(79, 110, 140, 0.14) !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    background: #eaf5f8 !important;
    box-shadow: -18px 0 40px rgba(12, 53, 95, 0.18) !important;
    transform: translateX(110%) !important;
    opacity: 1 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow-y: auto !important;
    z-index: 10000 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: transform 0.28s ease, visibility 0.28s ease !important;
  }

  .nav-links.is-open,
  .nav-links.active,
  body.menu-open .nav-links {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nav-links::before {
    opacity: 0.16 !important;
  }

  .mobile-menu-head {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    margin-bottom: 8px !important;
  }

  .mobile-menu-close {
    background: #ffffff !important;
    color: #35506d !important;
    flex-shrink: 0 !important;
  }

  .mobile-menu-nav {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .mobile-menu-nav a {
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 16px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid rgba(79, 110, 140, 0.12) !important;
    color: #35506d !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .mobile-menu-primary-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin-top: 4px !important;
  }

  .mobile-menu-primary-actions .btn,
  .mobile-menu-primary-actions .btn-primary {
    width: 100% !important;
    min-height: 46px !important;
    color: #ffffff !important;
  }

  .mobile-menu-services,
  .desktop-menu-nav {
    display: none !important;
  }

  .nav-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(12, 53, 95, 0.18) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 9999 !important;
    display: none !important;
  }

  .nav-overlay.is-open,
  .nav-overlay.active,
  body.menu-open .nav-overlay {
    display: block !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(1),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg) !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(2),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0 !important;
  }

  .nav-toggle.is-open .nav-toggle-bar:nth-child(3),
  body.menu-open .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg) !important;
  }
}


/* ===== Correção dos links do menu lateral mobile ===== */
@media (max-width: 900px) {
  .mobile-menu-nav a,
  .mobile-menu-primary-actions a {
    cursor: pointer !important;
    pointer-events: auto !important;
  }

  .nav-links.is-open,
  .nav-links.active,
  body.menu-open .nav-links {
    pointer-events: auto !important;
  }
}


/* ===== Correção final: remover escurecimento da tela e manter menu lateral clicável ===== */
@media (max-width: 900px) {
  .nav-overlay,
  .nav-overlay.is-open,
  .nav-overlay.active,
  body.menu-open .nav-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-links {
    z-index: 10000 !important;
    pointer-events: none !important;
  }

  .nav-links.is-open,
  .nav-links.active,
  body.menu-open .nav-links {
    pointer-events: auto !important;
  }

  .mobile-menu-nav a,
  .mobile-menu-primary-actions a {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
}


/* ===== Ajuste do menu mobile: header fixo, bloco curto e overlay entre menu e conteúdo ===== */
@media (max-width: 900px) {
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 12000 !important;
    overflow: visible !important;
  }

  .navbar {
    position: relative !important;
    z-index: 12001 !important;
  }

  .nav-toggle {
    position: relative !important;
    z-index: 12002 !important;
  }

  /* Painel do menu somente até o botão de orçamento */
  .nav-links {
    position: fixed !important;
    top: 72px !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;
    width: min(330px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: calc(100vh - 90px) !important;
    padding: 16px !important;
    border-radius: 24px !important;
    overflow-y: auto !important;
    z-index: 12010 !important;
    box-shadow: 0 18px 40px rgba(12, 53, 95, 0.18) !important;
    transform: translateX(115%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .nav-links.is-open,
  .nav-links.active,
  body.menu-open .nav-links {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Menu termina no botão; sem preencher altura toda */
  .mobile-menu-head,
  .mobile-menu-nav,
  .mobile-menu-primary-actions {
    width: 100% !important;
  }

  .mobile-menu-head {
    margin-bottom: 10px !important;
  }

  .mobile-menu-nav {
    gap: 10px !important;
    margin-bottom: 10px !important;
  }

  .mobile-menu-primary-actions {
    margin-top: 0 !important;
  }

  .mobile-menu-primary-actions .btn,
  .mobile-menu-primary-actions .btn-primary {
    color: #ffffff !important;
  }

  /* Overlay entre o conteúdo e o menu */
  .nav-overlay {
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 12005 !important;
    display: none !important;
    background: rgba(12, 53, 95, 0.16) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none !important;
  }

  .nav-overlay.is-open,
  .nav-overlay.active,
  body.menu-open .nav-overlay {
    display: block !important;
    pointer-events: auto !important;
  }

  /* Header continua sempre acima do conteúdo */
  body.menu-open .site-header {
    z-index: 12000 !important;
  }
}


/* ===== Correção: remover rolagem/arraste horizontal no mobile ===== */
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden !important;
  }
}

body {
  position: relative !important;
}

main,
.site-footer,
.section,
.hero,
.feature-strip,
.cta-section {
  max-width: 100vw !important;
  overflow-x: clip !important;
}

.container {
  max-width: 100% !important;
}

img,
svg,
video,
canvas {
  max-width: 100% !important;
}

.site-header {
  max-width: 100vw !important;
}

/* Menu lateral mobile sem causar largura extra fora da viewport */
@media (max-width: 900px) {
  .nav-links {
    left: auto !important;
    right: 10px !important;
    width: min(300px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
    overflow-x: hidden !important;
    transform: translate3d(calc(100% + 24px), 0, 0) !important;
    will-change: transform !important;
  }

  .nav-links.is-open,
  .nav-links.active,
  body.menu-open .nav-links {
    transform: translate3d(0, 0, 0) !important;
  }

  .nav-overlay {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .hero-layout,
  .about-grid,
  .services-grid,
  .trust-grid,
  .project-grid,
  .footer-inner {
    width: 100% !important;
    max-width: 100% !important;
  }

  .project-card,
  .service-card,
  .trust-card,
  .about-content,
  .about-photo-card,
  .cta-box {
    max-width: 100% !important;
  }

  .whatsapp-float {
    right: 12px !important;
    max-width: calc(100vw - 24px) !important;
  }
}


/* ===== Correção: header fixo no mobile para acessar o menu em qualquer ponto da página ===== */
@media (max-width: 900px) {
  :root {
    --mobile-header-height: 82px;
  }

  body {
    padding-top: var(--mobile-header-height) !important;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 15000 !important;
    overflow: visible !important;
  }

  .navbar {
    min-height: var(--mobile-header-height) !important;
  }

  .nav-toggle {
    z-index: 15005 !important;
  }

  /* O menu lateral abre abaixo do header fixo */
  .nav-links {
    top: calc(var(--mobile-header-height) + 10px) !important;
    max-height: calc(100vh - var(--mobile-header-height) - 24px) !important;
    z-index: 15004 !important;
  }

  /* Overlay começa abaixo do header para não cobrir o topo */
  .nav-overlay {
    top: var(--mobile-header-height) !important;
    z-index: 15001 !important;
  }
}

/* No desktop/tablet maior, não cria espaçamento extra */
@media (min-width: 901px) {
  body {
    padding-top: 0 !important;
  }
}
