/* ===================== TOKENS ===================== */
:root {
  --bg: #101114;
  --bg-deep: #0a0b0d;
  --bg-light: #f2f1ee;
  --bg-light-2: #ffffff;

  --text-light: #f5f5f4;
  --text-muted: #9a9ea8;
  --text-dark: #1c1e23;
  --text-dark-muted: #62666f;

  --accent: #00bce1;
  --accent-dark: #0093ab;
  --accent-soft: rgba(0, 188, 225, .12);

  --wine: #6f2c3f;
  --wine-deep: #4a1c28;
  --navy: #1b2740;
  --navy-2: #202a44;
  --profy: #1a1013;
  --code-purple: #7b5cf0;

  --border-soft: rgba(255, 255, 255, .09);
  --border-dark: rgba(0, 0, 0, .08);

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font: 'Helvetica Neue', Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-light);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* film grain overlay for texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: .025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #6be3fb);
  transition: width .1s linear;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
  white-space: nowrap;
}
.btn svg:not(.btn-glow) { transition: transform .3s var(--ease); flex-shrink: 0; }
.btn:hover svg:not(.btn-glow) { transform: translate(2px, -2px); }

.btn-accent {
  background: var(--accent);
  color: #071014;
  box-shadow: 0 8px 24px -8px rgba(0, 188, 225, .55);
}
.btn-accent:hover {
  background: #1fcfef;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(0, 188, 225, .65);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(28, 30, 35, .18);
}
.section--dark .btn-ghost, .hero .btn-ghost, .footer .btn-ghost {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, .2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.section--dark .btn-ghost:hover, .hero .btn-ghost:hover, .footer .btn-ghost:hover { color: var(--accent); }

.btn-lg { padding: 21px 36px; font-size: 16.5px; }
.btn-sm { padding: 11px 20px; font-size: 13px; }

/* Traveling light-stroke tracing the border of primary "orçamento" CTAs */
.btn-accent.btn-lg { position: relative; }
.btn-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.btn-glow-bg {
  fill: none;
  stroke: rgba(255, 255, 255, .28);
  stroke-width: 1.4;
}
.btn-glow-hl {
  fill: none;
  stroke: #78E9FF;
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(120, 233, 255, .9)) drop-shadow(0 0 8px rgba(120, 233, 255, .55));
  /* animation is set per-button via JS (js/script.js: initButtonGlow) with a
     dynamically generated @keyframes rule using a concrete pixel length —
     required because CSS custom properties inside calc() don't interpolate
     smoothly in keyframe animations across browsers (causes an abrupt jump
     instead of a continuous travel). */
}

/* ===================== NAV ===================== */
.nav-wrap {
  position: fixed;
  top: 18px; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav {
  width: 100%;
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 22px;
  border-radius: 100px;
  background: rgba(16, 17, 20, .72);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 11, 13, .88);
  box-shadow: 0 12px 40px -16px rgba(0, 0, 0, .5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.nav-logo-mark { color: var(--accent); }
.nav-logo-img { height: 26px; width: auto; display: block; }
.footer-brand .nav-logo-img { height: 30px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links .nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .68);
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
.nav-links .nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1.5px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-links .nav-link:hover,
.nav-links .nav-link.active { color: #fff; }
.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-burger span {
  width: 20px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s ease;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin: 10px 20px 0;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(10, 11, 13, .96);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(20px);
}
.nav-mobile.is-open { display: flex; animation: fadeSlideDown .35s var(--ease); }
.nav-mobile .nav-link {
  color: rgba(255, 255, 255, .8);
  padding: 12px 4px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav-mobile .btn { margin-top: 12px; justify-content: center; }

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: var(--bg);
  padding: 168px 0 110px;
  min-height: clamp(760px, 92vh, 960px);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 35%;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 9, 11, .95) 0%, rgba(8, 9, 11, .86) 28%, rgba(8, 9, 11, .42) 52%, rgba(8, 9, 11, .14) 70%, rgba(8, 9, 11, .32) 100%),
    linear-gradient(180deg, rgba(8, 9, 11, .2) 0%, rgba(8, 9, 11, 0) 25%, rgba(8, 9, 11, 0) 62%, rgba(8, 9, 11, .8) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.hero-copy { max-width: 640px; align-self: flex-start; }

.hero-availability {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  align-self: flex-end;
  flex-shrink: 0;
  background: rgba(16, 17, 20, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 100px;
  padding: 14px 24px 14px 20px;
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
  animation: availabilityTremble 4.6s ease-in-out infinite;
}
@keyframes availabilityTremble {
  0%, 7%, 100% { transform: translate(0, 0) rotate(0deg); }
  1% { transform: translate(-1.4px, .6px) rotate(-.5deg); }
  2% { transform: translate(1.3px, -.5px) rotate(.5deg); }
  3% { transform: translate(-1px, .8px) rotate(-.4deg); }
  4% { transform: translate(1.1px, -.6px) rotate(.4deg); }
  5% { transform: translate(-.6px, .3px) rotate(-.2deg); }
  6% { transform: translate(.4px, -.2px) rotate(.1deg); }
}
.hero-availability-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #38e07d;
  animation: availabilityPulse 2.2s ease-in-out infinite;
}
@keyframes availabilityPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 224, 125, .55), 0 0 6px 1px rgba(56, 224, 125, .5); transform: scale(1); }
  50% { box-shadow: 0 0 0 7px rgba(56, 224, 125, 0), 0 0 12px 3px rgba(56, 224, 125, .9); transform: scale(1.15); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 188, 225, .25);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 26px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 188, 225, .25);
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--text-light);
  margin-bottom: 24px;
}
.text-accent-underline {
  position: relative;
  color: var(--accent);
}
.hero-title .text-accent-underline {
  color: var(--text-light);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.hero-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 36px;
}
.hero-text strong { color: var(--text-light); }

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

.scroll-cue-wrap {
  position: relative;
  z-index: 5;
  height: 56px;
  margin-top: -28px;
  margin-bottom: -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.scroll-cue {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 8px 22px rgba(0, 188, 225, .38), 0 0 0 6px rgba(0, 188, 225, .12);
  transition: background .2s ease, transform .2s ease;
}
.scroll-cue:hover { background: var(--accent-dark); transform: translateY(-2px); }
.scroll-cue svg { overflow: visible; animation: scrollCue 1.7s ease-in-out infinite; }
@keyframes scrollCue {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(9px); opacity: .55; }
}

/* ===================== SECTIONS (generic) ===================== */
.section { padding: 120px 0; }
.section--light { background: var(--bg-light); color: var(--text-dark); }
.section--dark { background: var(--bg); color: var(--text-light); }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.section--dark .tag { color: var(--accent); }

.tag-bar {
  display: inline-block;
  width: 3px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.015em;
}
.section-head p {
  margin-top: 18px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.section--light .section-head p { color: var(--text-dark-muted); }
.section-head--center p { margin-left: auto; margin-right: auto; }

#dores .section-head--center { max-width: 900px; }
#projetos .section-head--center { max-width: 900px; }
#projetos .section-head { margin-bottom: 28px; }

.portfolio-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text-dark-muted);
}
.portfolio-hint svg { color: var(--accent); flex-shrink: 0; }
#dores .section-head h2 {
  white-space: nowrap;
  font-size: clamp(18px, 3.4vw, 36px);
}
@media (max-width: 560px) {
  #dores .section-head h2 { white-space: normal; font-size: clamp(22px, 6vw, 30px); }
}

.section-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ===================== PAIN POINTS ===================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--bg-light-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .18);
}
.pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border: 2px solid var(--accent);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 22px;
}
.pain-icon svg { width: 24px; height: 24px; }
.pain-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; line-height: 1.32; }
.pain-card p { font-size: 14.5px; color: var(--text-dark-muted); line-height: 1.6; margin-bottom: 10px; }
.pain-card p:last-child { margin-bottom: 0; }

.pain-highlight {
  max-width: 760px;
  margin: 52px auto 0;
  text-align: center;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
}

/* ===================== ABOUT ===================== */
#sobre-hero { padding-bottom: 56px; }
#sobre-hero .section-head { margin-bottom: 0; }
#sobre-hero .section-head--center { max-width: 900px; }
#sobre-hero .section-head h2 { white-space: nowrap; }

.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/4.6;
  border: 1px solid var(--border-soft);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: 15.5px; line-height: 1.75; color: var(--text-muted); margin-bottom: 18px; max-width: 560px; }
.about-copy h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; line-height: 1.3; margin-bottom: 22px; color: var(--text-light); }
.about-stats { display: flex; gap: 40px; margin-top: 32px; }
.stat strong { display: block; font-size: 30px; font-weight: 800; color: var(--accent); }
.stat span { font-size: 13px; color: var(--text-muted); }

/* ===================== ORÇAMENTO (FORM) ===================== */
#orcamento-hero .section-head { margin-bottom: 0; }

.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 56px;
}
.form-required-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.orcamento-form { display: flex; flex-direction: column; gap: 28px; }
.orcamento-form[hidden] { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-field { display: flex; flex-direction: column; gap: 12px; }
.form-field[hidden] { display: none; }
.form-field label,
.form-field .form-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.4;
}

.form-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.field-error {
  font-size: 12.5px;
  font-weight: 600;
  color: #ff6b6b;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity .25s ease, transform .25s ease;
}
.form-field.has-error .field-error { opacity: 1; transform: translateY(0); }

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-light);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  transition: border-color .3s ease, background .3s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); opacity: .7; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, .07);
}
.form-field.has-error input {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, .08);
}
.form-field.has-error input:focus { border-color: #ff6b6b; }

.option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.option-group--inline { flex-wrap: nowrap; }

.option-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.option-pill:hover { border-color: var(--accent); }
.option-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.radio-dot {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  transition: border-color .25s ease;
}
.radio-dot::after {
  content: '';
  display: block;
  width: 8px; height: 8px;
  margin: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform .2s var(--ease);
}
.option-text { font-size: 14.5px; color: var(--text-light); }
.option-pill.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.option-pill.is-selected .radio-dot { border-color: var(--accent); }
.option-pill.is-selected .radio-dot::after { transform: scale(1); }

.form-field--conditional {
  padding: 20px 22px;
  background: rgba(255, 255, 255, .03);
  border: 1px dashed var(--border-soft);
  border-radius: var(--radius-sm);
}
.form-field--conditional label { font-size: 14px; }
.form-field--conditional input {
  background: rgba(255, 255, 255, .06);
}

.orcamento-submit { align-self: flex-start; margin-top: 8px; }

.orcamento-success {
  text-align: center;
  padding: 40px 0;
}
.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.orcamento-success h2 { font-size: clamp(24px, 2.8vw, 30px); font-weight: 800; color: var(--text-light); margin-bottom: 14px; }
.orcamento-success p { font-size: 15px; line-height: 1.65; color: var(--text-muted); max-width: 460px; margin: 0 auto; }
.orcamento-outra-proposta { margin-top: 32px; }

/* ===================== PORTFOLIO ===================== */
.container--wide { max-width: 1400px; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.pf-card {
  position: relative;
  border-radius: var(--radius-md);
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  border: 1px solid rgba(255, 255, 255, .06);
}
.pf-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .45); }
.pf-card-overlay { position: relative; z-index: 1; }
.pf-card h3 { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.pf-card span { font-size: 14px; color: rgba(255, 255, 255, .7); font-weight: 500; }

.pf-card--photo img,
.pf-card--imgbg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  z-index: -2;
}
.pf-card--photo:hover img,
.pf-card--imgbg:hover img { transform: scale(1.06); }
.pf-card--photo::before,
.pf-card--imgbg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85) 100%);
  z-index: -1;
}
.pf-card--imgbg img { object-fit: cover; object-position: center; }

/* ===================== ALTO METHOD ===================== */
.alto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.alto-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: transform .4s var(--ease), border-color .4s ease, background .4s ease;
}
.alto-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 188, 225, .4);
  background: rgba(0, 188, 225, .04);
}
.alto-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  color: var(--accent);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
}
.alto-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.alto-card p { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ===================== STEPS ===================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.step-card {
  background: var(--bg-light-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(0,0,0,.18); }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  color: var(--accent);
  background: transparent;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 22px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.step-card li {
  font-size: 14px;
  color: var(--text-dark-muted);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}
.step-card li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section--dark .step-card {
  background: rgba(255, 255, 255, .03);
  border-color: var(--border-soft);
}
.section--dark .step-card:hover { box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .5); }
.section--dark .step-card li { color: var(--text-muted); }

/* ===================== FAQ / ACCORDION ===================== */
.accordion { max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.accordion-item {
  background: var(--bg);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
}
.accordion-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  font-size: 18px;
  color: var(--accent);
  transition: transform .35s var(--ease), background .3s ease;
}
.accordion-item.is-open .accordion-icon { transform: rotate(45deg); background: var(--accent); color: #071014; }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease);
}
.accordion-panel p { padding: 0 28px 24px; font-size: 15.5px; line-height: 1.65; color: var(--text-muted); }
.accordion-item.is-open .accordion-panel { max-height: 300px; }

[data-pending-copy] {
  font-style: italic;
  opacity: .55;
}
[data-pending-copy]::before {
  content: '✎ ';
  font-style: normal;
}

/* ===================== PROJECT DETAIL PAGE ===================== */
.project-hero {
  padding-top: 168px;
  padding-bottom: 32px;
}
.project-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color .25s ease;
}
.project-back:hover { color: var(--accent); }
.section--light .project-back { color: var(--text-dark-muted); }
/* páginas de projeto: aproxima o cabeçalho de cada bloco (Resultado Final, Ensaio Fotográfico, Site) da imagem seguinte */
.page-projeto .section-head { margin-bottom: 32px; }

.project-hero-head { max-width: 960px; margin: 0 auto; text-align: center; }
.project-hero-head .tag { margin-bottom: 18px; }
.project-hero-head h1 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
  white-space: nowrap;
}
.section--light .project-hero-head h1 { color: var(--text-dark); }
.project-hero-head .project-service {
  font-weight: 500;
  color: inherit;
}

.project-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
}
.section--light .project-cover { border-color: var(--border-dark); }
.project-cover img { width: 100%; height: auto; display: block; }

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.project-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--bg-light-2);
}
.project-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-gallery-item--wide { grid-column: 1 / -1; }
.project-gallery--trio { grid-template-columns: repeat(3, 1fr); }

/* texto descritivo entre a capa e a galeria do projeto */
.project-description {
  max-width: 860px;
  margin: 0 auto;
}
.project-description p {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.section--light .project-description p { color: var(--text-dark-muted); }
.project-description p:last-child { margin-bottom: 0; }

.project-browser {
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
  background: var(--bg-deep);
}
.project-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: #16171b;
}
.project-browser-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}
.project-browser-scroll {
  max-height: 640px;
  overflow-y: auto;
}
.project-browser-scroll img { width: 100%; display: block; }

.project-nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
.project-nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark-muted);
  transition: color .25s ease;
}
.project-nav-links a:hover { color: var(--accent-dark); }

/* ===================== CTA FINAL ===================== */
.cta-final {
  background: linear-gradient(135deg, var(--accent-dark), var(--bg) 70%);
  padding: 100px 0;
  text-align: center;
}
.cta-final-inner { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.cta-final h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: #fff; max-width: 620px; letter-spacing: -.015em; }

/* variante clara: usada em páginas de projeto, logo após a última imagem, sem o fundo gradiente */
.cta-final--plain { background: none; padding-top: 32px; }
.cta-final--plain h2 { color: var(--text-dark); margin: 0; }
.cta-final--plain .cta-final-inner { gap: 12px; }
.cta-final--plain .project-nav-links { margin-top: 56px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--bg-deep); padding: 80px 0 28px; color: var(--text-muted); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 12px; transition: color .25s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-col .btn { display: inline-flex; width: auto; }
.footer-social-btns { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-social-btns .btn.footer-social-btn {
  width: 200px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-social-btn svg { flex-shrink: 0; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 28px;
  font-size: 12.5px;
}

/* ===================== SCROLL REVEAL ===================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .nav-wrap { flex-direction: column; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-copy { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .pain-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .alto-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 40px; }
  .project-gallery--trio { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 84px 0; }
  .hero { padding: 210px 0 70px; }
  .hero-bg-img { object-fit: contain; object-position: center top; }
  .hero-bg-overlay {
    background:
      linear-gradient(180deg, rgba(8, 9, 11, 0) 0%, rgba(8, 9, 11, .1) 16%, rgba(8, 9, 11, .8) 24%, rgba(8, 9, 11, .95) 32%, rgba(8, 9, 11, .97) 100%);
  }
  .hero-grid { flex-direction: column; align-items: center; text-align: center; }
  .eyebrow { font-size: 11px; padding: 6px 14px; margin-bottom: 34px; }
  .hero-availability {
    order: 0;
    align-self: center;
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 11px;
    padding: 7px 14px 7px 12px;
    gap: 6px;
  }
  .hero-availability-dot { width: 6px; height: 6px; }
  .hero-title-break { display: none; }
  .hero-text-break { display: none; }
  .portfolio-title-break { display: none; }
  .hero { min-height: 0; }
  #projetos { padding-top: 32px; }
  #projetos .section-head { margin-bottom: 22px; }
  .portfolio-hint { margin-bottom: 22px; }
  .pain-grid, .portfolio-grid, .alto-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  #sobre-hero .section-head h2 { white-space: normal; }
  .project-hero-head h1 { white-space: normal; font-size: clamp(24px, 7vw, 32px); }
  .project-hero { padding-bottom: 32px; }
  .cta-final--plain { padding-top: 32px; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery--pair-mobile { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .project-browser-scroll { max-height: 420px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .form-card { padding: 28px 22px; border-radius: var(--radius-md); }
  .option-group--inline { flex-wrap: wrap; }
  .orcamento-submit { align-self: stretch; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-glow-hl { animation: none; }
  .hero-availability { animation: none; }
  .hero-availability-dot { animation: none; }
  .scroll-cue svg { animation: none; }
}
