:root {
  --primary: #181a19;
  --accent: #107aa1;
  --accent-soft: #107aa120;
  --bg: #ebeded;
  --bg-warm: #e2e4e4;
  --line: #181a1915;
  --line-strong: #181a1930;
  --muted: #181a1985;
  --display: 'Space Grotesk', sans-serif;
  --body: 'Onest', sans-serif;
  --page-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--primary);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
}

::selection {
  background: var(--primary);
  color: var(--bg);
}

/* ============ ACCESSIBILITY: FOCUS + MOTION ============ */
a:focus,
button:focus,
[tabindex]:focus {
  outline: none;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--primary);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 4px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

@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;
  }
}

/* ============ PAGE TRANSITION ============ */
#page-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  pointer-events: none;
  will-change: opacity;
}

/* ============ ONE-PAGE ANCHOR OFFSET ============ */
#inicio,
#servicos,
#processo,
#portfolio,
#sobre,
#contato,
#faq {
  scroll-margin-top: 96px;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 241, 241, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 122, 161, 0.1);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.nav--scrolled::before {
  opacity: 1;
}

.nav-logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: height 0.4s ease;
}

.nav--scrolled .nav-logo img {
  height: 32px;
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.nav-link {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(12, 35, 64, 0.45);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.25s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  clip-path: inset(0 0% 0 0);
}

.nav-cta {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 20px;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}


.nav-cta:hover {
  background: #0e6d90;
  transform: translateY(-2px);
}


.nav-cta::after {
  content: "→";
  transition: transform 0.3s ease;
}

.nav-cta:hover::after {
  transform: translateX(4px);
}

/* ============ HERO ============ */
.hero {
  min-height: 0;
  padding: 174px 5vw 102px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 56px;
  max-width: var(--page-max);
  margin-inline: auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
  align-items: center;
  text-align: center;
  max-width: 1140px;
  margin-inline: auto;
}

.hero-eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  animation: fadeUp 0.7s ease-out 0.2s backwards;
}

.hero-trust {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.65;
  animation: fadeUp 0.7s ease-out 0.8s backwards;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 78%);
  opacity: 0.35;
}

.hero-headline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  text-wrap: balance;
  animation: fadeUp 0.7s ease-out 0.45s backwards;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 60%, black 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, black 20%, transparent 72%);
}

.hero-headline em {
  font-style: normal;
  color: var(--accent);
}


.hero-sub {
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  max-width: 700px;
  margin-inline: auto;
  color: var(--primary);
  opacity: 0.85;
  animation: fadeUp 0.7s ease-out 0.6s backwards;
}


.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  animation: fadeUp 0.7s ease-out 0.75s backwards;
}

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

.hero-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.7s ease-out 0.9s backwards;
}

.hero-scroll-arrow {
  width: 38px;
  height: 38px;
  color: var(--accent);
  opacity: 0.9;
  filter: drop-shadow(0 2px 8px rgba(16, 122, 161, 0.35));
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50%       { transform: translateY(7px); opacity: 0.65; }
}

.btn-primary {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  padding: 18px 32px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #0e6d90;
  transform: translateY(-2px);
}


.btn-wave-wrap {
  position: relative;
  display: inline-block;
}
.btn-wave-wrap::before,
.btn-wave-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--accent);
  animation: whatsapp-wave 4s ease-out infinite;
  z-index: 0;
  pointer-events: none;
}
.btn-wave-wrap::after {
  animation-delay: 2s;
}
.btn-wave-wrap .btn-primary {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.55;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--primary);
  text-decoration: none;
  border-radius: 0;
  background: none;
  transition: color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}

/* ============ MARQUEE ============ */
.marquee {
  display: block;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-warm) 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-warm) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 35s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
  color: var(--primary);
  white-space: nowrap;
}

.marquee-sep {
  font-family: var(--display);
  font-size: clamp(12px, 1.2vw, 18px);
  color: var(--text);
  opacity: 0.3;
  flex-shrink: 0;
}

.marquee-icon {
  width: 0.6em;
  height: 0.6em;
  flex-shrink: 0;
  opacity: 1;
  stroke: #0d0d0d;
  fill: none;
  display: block;
}

/* ============ SECTION BASE ============ */
section {
  padding: 72px 5vw;
  position: relative;
}

.section-label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
}

.section-intro {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  max-width: 600px;
  opacity: 0.8;
  margin-bottom: 80px;
}

/* ============ O QUE FAZEMOS ============ */
.services {
  background: var(--bg);
  position: relative;
  padding: 72px 5vw;
}

.services::before {
  display: none;
}

#servicos,
#portfolio,
.process,
.results,
.about-mission,
.contact-section,
.faq {
  border-top: 1px solid var(--line);
}

.services > * {
  position: relative;
  z-index: 1;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 8px;
  max-width: var(--page-max);
  margin-inline: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  max-width: var(--page-max);
  margin-inline: auto;
}

.service-card {
  padding: 48px 40px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: #f5f6f6;
  transition: all 0.4s ease;
  position: relative;
  cursor: default;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-3px);
}

.service-card:hover .service-num {
  color: var(--bg);
  opacity: 0.6;
}

.service-card:hover .service-desc {
  color: var(--bg);
  opacity: 1;
}

.service-card:hover .service-icon svg {
  stroke: var(--bg);
  transform: rotate(45deg);
}

.service-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 40px;
  font-variant-numeric: tabular-nums;
  transition: all 0.4s ease;
  letter-spacing: 0.02em;
}

.service-icon {
  margin-bottom: 32px;
}

.service-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  transition: all 0.4s ease;
}

.service-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-desc {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.75;
  margin-top: auto;
  transition: all 0.4s ease;
}

/* ============ PROCESSO ============ */
.process {
  background: var(--bg);
  position: relative;
  padding: 72px 5vw;
}

.process-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: var(--page-max);
  margin-inline: auto;
}

.process-left {
  position: sticky;
  top: 120px;
  align-self: start;
}

.process-left-note {
  font-family: var(--body);
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.55;
  margin-top: 16px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.results > .reveal {
  max-width: var(--page-max);
  margin-inline: auto;
}

.process-step {
  border-bottom: 1px solid var(--line-strong);
}

.process-step-header {
  width: 100%;
  background: none;
  border: none;
  display: grid;
  grid-template-columns: 70px 1fr 32px;
  column-gap: 24px;
  align-items: center;
  padding: 40px 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: padding 0.3s ease;
}

.process-step-header:hover {
  padding-left: 20px;
}

.process-step-num {
  font-family: var(--display);
  font-size: clamp(30px, 2.6vw, 42px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s ease;
  opacity: 0.85;
}

.process-step-header:hover .process-step-num {
  opacity: 1;
}

.process-step-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-step-label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.process-step-title {
  font-family: var(--display);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.process-step-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.process-step-icon::before,
.process-step-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: all 0.3s ease;
}

.process-step-icon::before {
  width: 12px;
  height: 1.5px;
}

.process-step-icon::after {
  width: 1.5px;
  height: 12px;
}

.process-step.active .process-step-icon {
  background: var(--accent);
}

.process-step.active .process-step-icon::before,
.process-step.active .process-step-icon::after {
  background: var(--bg);
}

.process-step.active .process-step-icon::after {
  transform: scaleY(0);
}

.process-step-body {
  max-height: 0;
  overflow: hidden;
  padding-left: 94px;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.process-step.active .process-step-body {
  max-height: 300px;
  padding-bottom: 40px;
}

.process-step-desc {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.75;
  max-width: 520px;
}

.process-step-time {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}

/* ============ RESULTADOS ============ */
.results {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding: 72px 5vw;
}

.results::before {
  display: none;
}

.results > * {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 80px auto 0;
  max-width: var(--page-max);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.stat {
  padding: 48px 32px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: #f5f6f6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: default;
  transition: all 0.4s ease;
}

.stat:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-3px);
}

.stat-num {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  background: linear-gradient(135deg, var(--accent) 0%, #1a9ec9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-num .suffix {
  font-size: 0.5em;
  margin-left: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, #1a9ec9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.commitment-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  margin-bottom: 8px;
  transition: all 0.4s ease;
}

.stat:hover .commitment-icon svg {
  stroke: var(--bg);
  transform: rotate(45deg);
}

.commitment-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.stat-label {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.8;
  margin-top: 12px;
  max-width: 220px;
}

.testimonials-label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--page-max);
  margin-inline: auto;
  margin-bottom: 32px;
}

.testimonials-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--page-max);
  margin-inline: auto;
}

.testimonial {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--line-strong);
}

.testimonial:hover {
  transform: translateY(-3px);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

.testimonial-quote {
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  flex: 1;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.testimonial-role {
  font-family: var(--body);
  font-size: 14px;
  opacity: 0.8;
}

.testimonial-service {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2px;
}

/* ============ POR QUE ESCOLHER ============ */
/* ============ FAQ ============ */
.faq {
  background: var(--bg);
  padding: 72px 5vw;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: var(--page-max);
  margin-inline: auto;
}

.faq-left {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-left-note {
  font-family: var(--body);
  font-size: 16px;
  opacity: 0.7;
  line-height: 1.55;
  margin-top: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 28px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  font-family: var(--display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--primary);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: all 0.3s ease;
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
}

.faq-item.active .faq-icon {
  background: var(--accent);
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
  background: var(--bg);
}

.faq-item.active .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 28px;
}

.faq-answer p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.8;
  max-width: 600px;
}

/* ============ AGENCY NOTE (small secondary mention) ============ */
.agency-note {
  padding: 0 5vw 72px;
}

.agency-note-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.agency-note-text {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.75;
  max-width: 760px;
}

.agency-note-text strong {
  opacity: 1;
}

.agency-note-link {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.agency-note-link:hover {
  text-decoration: underline;
}

/* ============ FINAL CTA ============ */
.final-cta {
  background: var(--accent);
  color: var(--bg);
  padding: 72px 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(235,237,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235,237,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.final-cta-title em {
  font-style: normal;
  color: var(--bg);
}

.final-cta-sub {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.8;
  max-width: 780px;
  margin: 0 auto 48px;
}

.final-cta .btn-primary {
  background: var(--bg);
  color: var(--primary);
  font-size: 16px;
  padding: 20px 40px;
}

.final-cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn-ghost-light {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--bg);
  opacity: 0.85;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--bg);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.btn-ghost-light:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .final-cta-actions {
    flex-direction: column;
    gap: 16px;
  }
}


/* ============ FOOTER ============ */
footer {
  background: var(--bg);
  color: var(--primary);
  padding: 72px 5vw 32px;
  border-top: 1px solid var(--line-strong);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-bottom: 48px;
}

.footer-content--simple {
  grid-template-columns: 1fr;
  padding-bottom: 32px;
}

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

.footer-logo-img {
  height: 32px;
  width: auto;
  align-self: flex-start;
}


.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

.footer-col a,
.footer-location {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--primary);
  opacity: 0.75;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  font-family: var(--body);
  font-size: 13px;
  color: var(--primary);
  opacity: 0.65;
  text-decoration: none;
}

.footer-legal a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-copy {
  font-family: var(--body);
  font-size: 14px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    transform: scaleX(1);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  section {
    padding: 64px 5vw;
  }

  .about-mission {
    padding: 64px 5vw;
  }

  .hero {
    padding: 80px 5vw 48px;
  }

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

  .services-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-left {
    position: static;
  }

  .process-step-header {
    grid-template-columns: 50px 1fr 28px;
    column-gap: 16px;
    padding: 20px 0;
  }

  .process-step-body {
    padding-left: 66px;
  }

  .process-step-num {
    font-size: 28px;
  }

  .process-step-time {
    display: none;
  }

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

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-left {
    position: static;
  }

  .hero-ctas {
    width: 100%;
  }

  .btn-primary, .btn-ghost {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-cta {
    display: none;
  }

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

/* ============ PORTFOLIO ============ */
.portfolio-section {
  padding: 72px 5vw;
  background: var(--bg);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  max-width: var(--page-max);
  margin-inline: auto;
}

/* ============ CARD DE PROJETO + DEPOIMENTO ============ */
.portfolio-card {
  background: #f5f6f6;
  border-radius: 0;
  padding: 48px 40px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  cursor: default;
  position: relative;
  transition: all 0.4s ease;
}

.portfolio-card:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-3px);
}

.portfolio-title {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.portfolio-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portfolio-stars {
  display: flex;
  gap: 2px;
}

.portfolio-stars svg {
  width: 14px;
  height: 14px;
  fill: #fbbc04;
}

.portfolio-google {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  opacity: 0.6;
  transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-google {
  opacity: 0.85;
  color: var(--bg);
}

.portfolio-google svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.portfolio-quote {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  opacity: 0.75;
  flex-grow: 1;
  transition: all 0.4s ease;
}

.portfolio-card:hover .portfolio-quote {
  color: var(--bg);
  opacity: 1;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.4s ease;
}

.portfolio-card:hover .portfolio-link:not(.portfolio-link--pending) {
  color: var(--bg);
}

.portfolio-link:hover {
  gap: 8px;
}

.portfolio-link--pending {
  opacity: 0.5;
  cursor: default;
}

.portfolio-card:hover .portfolio-link--pending {
  color: var(--bg);
}

.portfolio-link--pending:hover {
  gap: 5px;
}

.portfolio-note {
  margin: 48px auto 0;
  max-width: var(--page-max);
  padding: 20px 28px;
  background: var(--bg-warm);
  border-radius: 0;
  border-left: 3px solid var(--accent);
}

.portfolio-note p {
  font-family: var(--body);
  font-size: 16px;
  opacity: 0.65;
  line-height: 1.55;
}

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

@media (min-width: 600px) and (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 160px 5vw 72px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  z-index: 0;
  width: 640px;
  height: 640px;
  top: -320px;
  right: -120px;
  background: radial-gradient(circle, rgba(16, 122, 161, 0.16) 0%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeUp 0.7s ease-out 0.1s backwards;
}
.page-header-label {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.page-header-label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.page-header-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.page-header-sub {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.75;
  max-width: 560px;
}

/* ============ CONTACT PAGE ============ */
.contact-section {
  background: var(--bg);
  padding: 72px 5vw;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: sticky;
  top: 120px;
}
.contact-info--row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: static;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
  max-width: var(--page-max);
  margin-inline: auto;
}
.contact-info--row .contact-info-item {
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 48px 40px;
  background: #f5f6f6;
  transition: all 0.4s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
}
.contact-info--row .contact-info-item:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-3px);
}
.contact-info--row .contact-info-item:hover .contact-card-icon svg {
  stroke: var(--bg);
  transform: rotate(45deg);
}
.contact-info--row .contact-info-item:hover .contact-info-label {
  color: var(--bg);
  opacity: 0.6;
}
.contact-info--row .contact-info-item:hover .contact-info-value {
  color: var(--bg);
}
.contact-info--row .contact-info-item:hover .contact-info-desc {
  color: var(--bg);
  opacity: 0.85;
}
.contact-info--row .contact-info-item:hover .btn-whatsapp {
  background: rgba(255,255,255,0.15);
  color: var(--bg);
}
.contact-info--row .contact-info-item:hover .copy-email-btn {
  border-color: rgba(255,255,255,0.35);
  color: var(--bg);
  background: rgba(255,255,255,0.08);
}
.contact-card-icon {
  margin-bottom: 32px;
}
.contact-card-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.4s ease;
}
.contact-label-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.contact-info-value--email {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ============ FLOATING WHATSAPP ============ */
@keyframes whatsapp-wave {
  0%   { transform: scale(1); opacity: 0.5; }
  25%  { transform: scale(2); opacity: 0;   }
  100% { transform: scale(2); opacity: 0;   }
}
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 998;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.whatsapp-float::before,
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: whatsapp-wave 4s ease-out infinite;
  z-index: -1;
}
.whatsapp-float::after {
  animation-delay: 2s;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}
.copy-email-btn {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  cursor: pointer;
  padding: 5px;
  min-width: 28px;
  min-height: 28px;
  border-radius: 4px;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.copy-email-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.copy-email-btn { position: relative; }

.copy-email-btn .check-icon { display: none; }
.copy-email-btn.copied .copy-icon { display: none; }
.copy-email-btn.copied .check-icon {
  display: block;
  color: #22c55e;
}
.copy-email-btn.copied .check-icon polyline {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw-check 0.35s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}

.copy-email-btn .copy-toast {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--primary);
  color: var(--bg);
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.copy-email-btn.copied .copy-toast {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-info-label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-info-value {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.contact-info-desc {
  font-family: var(--body);
  font-size: 16px;
  opacity: 0.75;
  line-height: 1.5;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 8px;
  width: fit-content;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp:hover {
  background: #1aad54;
  transform: translateY(-2px);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
}
.form-input,
.form-textarea,
.form-select {
  font-family: var(--body);
  font-size: 15px;
  background: #ffffff;
  color: var(--primary);
  padding: 14px 18px;
  border-radius: 4px;
  border: none;
  outline: none;
  transition: box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  box-shadow: 0 0 0 2px var(--accent), 0 2px 8px rgba(0,0,0,0.06);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}
.form-select {
  appearance: none;
  cursor: pointer;
}

/* ============ ABOUT PAGE ============ */
.about-mission {
  background: var(--bg);
  padding: 72px 5vw;
}
.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 40px;
  max-width: var(--page-max);
  margin-inline: auto;
}
.about-mission-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-mission-text p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.8;
}
.about-mission-text strong {
  color: var(--accent);
  font-weight: 600;
}
.about-mission-logo {
  position: relative;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  overflow: hidden;
  min-height: 340px;
}
.about-mission-logo-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16,122,161,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,122,161,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}
/* ============ LEGAL PAGES (PRIVACIDADE / TERMOS) ============ */
.legal-section {
  background: var(--bg);
  padding: 0 5vw 72px;
}

.legal-content {
  max-width: 780px;
}

.legal-notice {
  max-width: 780px;
  margin-bottom: 48px;
  padding: 20px 24px;
  background: var(--bg-warm);
  border-left: 3px solid var(--accent);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
}

.legal-content h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.8;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 0 0 12px 20px;
  padding: 0;
}

.legal-content li {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.8;
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .legal-section {
    padding: 0 5vw 64px;
  }
}

@media (max-width: 600px) {
  .legal-section {
    padding: 0 5vw 56px;
  }
}

/* Brand name highlight */
.brand {
  color: var(--accent);
  font-weight: 600;
}

.about-mission-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

/* ============ SERVICES TEASER (HOME) ============ */
.services-teaser-footer {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.services-link-all {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}
.services-link-all:hover {
  gap: 14px;
}
.services-link-all::after {
  content: "→";
}

/* NAV ACTIVE LINK */
.nav-link.active {
  opacity: 1;
  color: var(--accent);
}

/* RESPONSIVE additions */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    position: static;
  }
  .contact-info--row {
    grid-template-columns: 1fr;
  }
  .about-mission-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============ HAMBURGER MENU ============ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 201;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

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

/* Full-screen mobile overlay menu — hidden by default at all sizes */
.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile-menu .nav-mobile-link {
  font-family: var(--display);
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--primary);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.2s ease, color 0.2s ease;
  padding: 10px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-mobile-menu .nav-mobile-link:hover,
.nav-mobile-menu .nav-mobile-link.active {
  opacity: 1;
  color: var(--accent);
}

.nav-mobile-menu .nav-mobile-cta {
  margin-top: 32px;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  padding: 16px 40px;
  border-radius: 999px;
  text-decoration: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.nav-mobile-menu .nav-mobile-cta:hover {
  background: #0e6d90;
}

/* Show hamburger + mobile overlay at ≤900px; hide desktop nav items */
@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none !important;
  }
  .nav-cta {
    display: none !important;
  }
  .nav-mobile-menu {
    display: flex;
  }
}

/* ============ MOBILE FINE-TUNING — TABLET (≤900px) ============ */
@media (max-width: 900px) {
  /* Prevent any horizontal overflow */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* General section padding */
  section {
    padding: 64px 5vw;
  }

  /* Hero */
  .hero {
    padding: 80px 5vw 48px;
    min-height: 0;
  }

  .hero-headline,
  .section-title,
  .final-cta-title,
  .page-header-title {
    font-size: clamp(32px, 7vw, 52px);
  }

  .hl-bot {
    white-space: normal;
  }

  .hero-ctas {
    width: 100%;
    flex-wrap: wrap;
  }

  /* Page header */
  .page-header {
    padding: 130px 5vw 64px;
  }

  /* Services */
  .services-header {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 32px 24px;
    min-height: 0;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 36px 24px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 28px 24px;
  }

  /* FAQ */
  .faq {
    padding: 64px 5vw;
  }

  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-left {
    position: static;
  }

  /* Final CTA */
  .final-cta {
    padding: 72px 5vw;
  }

  /* About mission */
  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 32px;
  }

  .about-mission-logo {
    padding: 48px 32px;
    min-height: 220px;
  }

  .about-mission-logo img {
    max-width: 180px;
  }

  .portfolio-section {
    padding: 64px 5vw;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info {
    position: static;
  }

  .contact-info--row {
    grid-template-columns: 1fr;
  }

  .contact-info--row .contact-info-item {
    padding: 32px 24px;
  }

  .contact-label-row {
    flex-wrap: wrap;
  }

  .copy-email-btn {
    min-width: 40px;
    min-height: 40px;
    padding: 8px;
  }

  .contact-info-value--email {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Buttons full-width on mobile CTA areas */
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
    min-width: 0;
  }

  /* Compact type scale — tablet */
  .hero-headline,
  .section-title,
  .final-cta-title,
  .page-header-title {
    font-size: clamp(28px, 5.5vw, 40px);
    margin-bottom: 16px;
  }

  .hero-sub,
  .section-intro,
  .final-cta-sub,
  .page-header-sub,
  .service-desc,
  .process-step-desc,
  .process-left-note,
  .faq-left-note,
  .faq-answer p,
  .about-mission-text p,
  .contact-info-desc,
  .legal-content p,
  .legal-content li,
  .portfolio-quote,
  .portfolio-note p,
  .agency-note-text {
    font-size: 15px;
  }

  /* Tighter spacing between elements */
  .hero-left {
    gap: 14px;
    align-items: flex-start;
    text-align: left;
  }

  .hero-ctas {
    gap: 10px;
    justify-content: flex-start;
  }

  .services-header {
    margin-bottom: 8px;
  }

  .service-title {
    margin-bottom: 10px;
  }

  .about-mission-text {
    gap: 14px;
  }

  .process-step-header {
    padding: 20px 0;
  }
}

/* Suppress decorative line breaks in body copy on small screens */
@media (max-width: 600px) {
  .final-cta-sub br,
  .hero-sub br {
    display: none;
  }
}

/* ============ MOBILE FINE-TUNING — SMALL (≤600px) ============ */
@media (max-width: 600px) {
  /* Prevent overflow */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* General section padding */
  section {
    padding: 56px 5vw;
  }

  .about-mission {
    padding: 56px 5vw;
  }

  /* Hero */
  .hero {
    padding: 134px 5vw 67px;
  }

  .hero-headline,
  .section-title,
  .final-cta-title,
  .page-header-title {
    font-size: clamp(28px, 9vw, 44px);
    letter-spacing: -0.03em;
  }

  .hl-bot {
    white-space: normal;
    font-size: 1em;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-ctas {
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 16px;
    margin-top: 12px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    width: auto;
    justify-content: center;
    text-align: center;
    flex: none;
  }

  /* Page header */
  .page-header {
    padding: 120px 5vw 56px;
  }

  .page-header-title {
    margin-bottom: 24px;
  }

  /* Services */
  .service-card {
    padding: 28px 20px;
  }

  /* Stats → 1 column */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 28px 20px;
  }

  /* Process step number */
  .process-step-header {
    padding: 16px 0;
    grid-template-columns: 40px 1fr 24px;
    column-gap: 12px;
  }

  .process-step-body {
    padding-left: 52px;
  }

  .process-step-num {
    font-size: 24px;
    line-height: 1;
  }

  .process-step-desc {
    font-size: 16px;
  }

  /* FAQ */
  .faq-question {
    font-size: 16px;
    padding: 18px 0;
    gap: 16px;
  }

  .faq-wrap {
    gap: 32px;
  }

  /* Final CTA */
  .final-cta {
    padding: 56px 5vw;
  }

  /* Footer */
  footer {
    padding: 48px 5vw 32px;
  }

  /* Marquee fades narrower */
  .marquee::before,
  .marquee::after {
    width: 48px;
  }

  /* Portfolio */
  .portfolio-card {
    max-width: 100%;
  }

  .portfolio-section {
    padding: 56px 5vw;
  }

  .contact-info--row .contact-info-item {
    padding: 24px 20px;
  }

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

/* ============ MOBILE — ALIGN LEFT + COMPACT SIZES (<=600px) ============ */
@media (max-width: 600px) {
  /* Left-align all text content */
  h1, h2, h3, h4, h5, h6,
  p,
  .section-label,
  .hero-sub,
  .hero-headline,
  .hero-ctas,
  .section-title,
  .section-intro,
  .final-cta-title,
  .final-cta-sub,
  .page-header-inner,
  .page-header-title,
  .page-header-sub,
  .service-title,
  .service-desc,
  .service-num,
  .about-mission-text,
  .process-step-content,
  .faq-question,
  .faq-answer {
    text-align: left;
  }

  /* Heading sizes — compact */
  h1 { font-size: clamp(24px, 8vw, 36px); }
  h2 { font-size: clamp(20px, 7vw, 30px); }
  h3 { font-size: clamp(16px, 5vw, 22px); }

  .hero-headline,
  .section-title,
  .final-cta-title,
  .page-header-title {
    font-size: clamp(24px, 7.5vw, 32px);
    margin-bottom: 12px;
  }

  /* Buttons — compact */
  .btn-primary {
    font-size: 13px;
    padding: 12px 18px;
  }

  .btn-ghost {
    font-size: 0.62rem;
    padding: 0 0 2px;
  }

  /* Compact body copy — mobile */
  .hero-sub,
  .section-intro,
  .final-cta-sub,
  .page-header-sub,
  .service-desc,
  .process-step-desc,
  .process-left-note,
  .faq-left-note,
  .faq-answer p,
  .about-mission-text p,
  .contact-info-desc,
  .legal-content p,
  .legal-content li,
  .portfolio-quote,
  .portfolio-note p,
  .agency-note-text {
    font-size: 14px;
  }

  .section-label {
    font-size: 11px;
  }

  /* Tighter spacing between elements */
  .hero-left {
    gap: 17px;
    align-items: flex-start;
    text-align: left;
  }

  .hero-eyebrow {
    margin-bottom: 10px;
  }

  .hero-ctas {
    gap: 10px;
    justify-content: flex-start;
  }

  .services-header {
    gap: 16px;
    margin-bottom: 2px;
  }

  /* Service cards — thin strip layout */
  .service-card {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-areas:
      "icon title"
      "icon desc";
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 16px 18px;
    min-height: 0;
  }

  .service-num {
    display: none;
  }

  .service-icon {
    grid-area: icon;
    margin-bottom: 0;
    align-self: center;
  }

  .service-icon svg {
    width: 26px;
    height: 26px;
  }

  .service-title {
    grid-area: title;
    font-size: 15px;
    margin-bottom: 0;
  }

  .service-desc {
    grid-area: desc;
    font-size: 13px;
    margin-top: 0;
  }

  .about-mission-text {
    gap: 12px;
  }

  .process-steps {
    gap: 0;
  }

  /* Process accordion — no "+" icon, smaller text, breathing room from edges */
  .process-step-header {
    grid-template-columns: 34px 1fr;
    column-gap: 14px;
    padding: 18px 6px;
  }

  .process-step-icon {
    display: none;
  }

  .process-step-num {
    font-size: 20px;
  }

  .process-step-label {
    font-size: 11px;
  }

  .process-step-title {
    font-size: 16px;
  }

  .process-step-body {
    padding: 0 6px;
  }

  .process-step.active .process-step-body {
    padding: 0 6px 24px;
  }

  .faq-wrap {
    gap: 24px;
  }

  /* Compact feedback (portfolio) cards */
  .portfolio-card {
    padding: 22px 20px;
    min-height: 0;
    gap: 12px;
  }

  .portfolio-title {
    font-size: 18px;
  }

  /* Compact "fale conosco" contact cards */
  .contact-info--row .contact-info-item {
    padding: 20px 18px;
  }

  .contact-card-icon {
    margin-bottom: 16px;
  }

  .contact-card-icon svg {
    width: 30px;
    height: 30px;
  }

  .contact-info-item {
    gap: 5px;
  }
}
