@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Tokens ─── */
:root {
  --color-preto: #000000;
  --color-branco: #FFFFFF;
  --color-neutro-01: #F1F2F4;
  --color-neutro-02: #E3E5E8;
  --color-neutro-03: #E8E8E8;
  --color-neutro-04: #B3B3B3;
  --color-neutro-05: #999999;
  --color-neutro-06: #6E6E6E;
  --color-neutro-07: #434343;
  --color-neutro-08: #333333;
  --color-neutro-09: #292929;

  --bg: #FFFFFF;
  --bg-neutral: #F1F2F4;
  --text-primary: #000000;
  --text-body: #333333;
  --text-muted: #6E6E6E;
  --border-strong: #000000;
  --border-subtle: #E3E5E8;
  --grid-line: #E3E5E8;
  --grid-fade: #FFFFFF;

  --font: 'Red Hat Display', sans-serif;
  --container-max: 1156px;
  --container-pad: 24px;
  --radius: 8px;
  --header-h: 181px;
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-neutral: #292929;
  --text-primary: #FFFFFF;
  --text-body: #E3E5E8;
  --text-muted: #B3B3B3;
  --border-strong: #FFFFFF;
  --border-subtle: #434343;
  --grid-line: #292929;
  --grid-fade: #000000;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
  padding-top: var(--header-h);
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
ul, ol { list-style: none; }
.desktop-only { display: inline; }
@media (max-width: 768px) { .desktop-only { display: none; } }

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─── Background pattern ─── */
.bg-pattern {
  position: relative;
}
.bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 131px 131px;
  pointer-events: none;
  z-index: 0;
}
.bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--grid-fade) 0%, transparent 18%, transparent 82%, var(--grid-fade) 100%),
    linear-gradient(to right, var(--grid-fade) 0%, transparent 12%, transparent 88%, var(--grid-fade) 100%);
  pointer-events: none;
  z-index: 1;
}
.bg-pattern > .container,
.bg-pattern > .about-container,
.bg-pattern > main,
.bg-pattern > .site-footer {
  position: relative;
  z-index: 2;
}

/* ─── Buttons ─── */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-main svg { transition: transform 200ms ease; flex-shrink: 0; }
.btn-main:hover svg { transform: translateX(4px); }
.btn-main:active { transform: scale(0.98); }
.btn-main.solid {
  background: var(--text-primary);
  color: var(--bg);
  border: 1px solid var(--text-primary);
}
.btn-main.solid:hover { opacity: 0.82; }

.btn-main.outline {
  background: var(--bg);
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
  box-shadow: 8px 16px 8px rgba(0, 0, 0, 0.08);
}
.btn-main.outline:hover { background: var(--bg-neutral); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}
.btn-cta:hover { text-decoration: underline; text-underline-offset: 3px; }

.btn-mode {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  background: transparent;
  border: 1px solid var(--border-strong);
}
[data-theme="dark"] .btn-mode {
  background: var(--color-preto);
}
.btn-mode .icon-sun { display: none; }
[data-theme="dark"] .btn-mode .icon-moon { display: none; }
[data-theme="dark"] .btn-mode .icon-sun  { display: block; }

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.header-logo {
  flex-shrink: 0;
}
.logo-preto { display: block; }
.logo-branco { display: none; }
[data-theme="dark"] .logo-preto { display: none; }
[data-theme="dark"] .logo-branco { display: block; }

.logo-header {
  width: 212px;
  height: auto;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link--light {
  font-weight: 300;
}
.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 24px;
}
.btn-hamburger {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--border-strong);
  cursor: pointer;
}
.mobile-menu {
  display: none;
}

@media (max-width: 768px) {
  :root {
    --header-h: 136px;
    --container-pad: 32px;
  }
  .logo-header {
    width: 140px;
  }
  .site-header .container {
    gap: 16px;
  }
  .header-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .header-actions {
    margin-left: auto;
    gap: 12px;
  }
  .btn-hamburger {
    display: flex;
  }
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 8px 0 24px;
    border-top: 1px solid var(--border);
  }
  .mobile-menu.is-open {
    display: flex;
  }
  .mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 300;
    color: var(--text-primary);
    text-decoration: none;
  }
  .mobile-nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  .mobile-nav-cta {
    font-weight: 700;
    gap: 8px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  .section-hero {
    padding: 40px 0 0;
  }
  .hero-headline {
    font-size: clamp(48px, 14vw, 72px);
    line-height: 1;
    margin-bottom: 32px;
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .hero-sub {
    font-size: 16px;
    line-height: 24px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .hero-actions .btn-main {
    width: 100%;
    justify-content: center;
  }
  .section-projects {
    padding-top: 64px;
  }
  .section-headline {
    font-size: 36px;
    line-height: 42px;
  }
}

/* ─── Aside nav ─── */
.aside-nav {
  position: fixed;
  right: 31px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 50;
}
.aside-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s ease;
}
.aside-nav a:hover {
  opacity: 1;
}
.aside-nav a img { transition: transform 0.2s ease; }
.aside-nav a:hover img { transform: scale(1.1); }
[data-theme="dark"] .icon-arroba {
  filter: invert(1);
}

/* ─── Hero ─── */
.section-hero {
  padding: 54px 0 0;
}
.section-hero .container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-tag-icon {
  flex-shrink: 0;
}
[data-theme="dark"] .hero-tag-icon,
[data-theme="dark"] .icon-projetos {
  filter: invert(1);
}
.hero-headline {
  font-size: 100px;
  font-weight: 900;
  line-height: 110px;
  color: var(--text-primary);
  margin-bottom: 48px;
}
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ─── Section shared ─── */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.form-header .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
}
.section-headline {
  font-size: 54px;
  font-weight: 900;
  line-height: 58px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 21px;
  font-weight: 300;
  line-height: 32px;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto;
}

/* ─── Projects ─── */
.section-projects {
  padding-top: 96px;
}
.projects-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
  text-align: center;
}
.projects-intro-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.projects-intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-primary);
}
.projects-intro-head .section-headline {
  margin-bottom: 0;
}
.projects-intro-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-primary);
}

/* Destaque section (section-destaque-content) */
.destaque-wrap {
  position: relative;
  margin-top: 32px;
  margin-bottom: 24px;
}
.destaque-wrap::before {
  content: '';
  position: absolute;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  top: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(227,229,232,0.5), rgba(227,229,232,0));
  border-top: 1px solid var(--border-subtle);
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .destaque-wrap::before {
  background: linear-gradient(to bottom, rgba(67,67,67,0.3), rgba(67,67,67,0));
}
[data-theme="dark"] .icon-ia {
  filter: invert(1);
}

/* Featured case */
.featured-case {
  display: grid;
  grid-template-columns: 4fr 1fr 5fr;
  gap: 0;
  min-height: 545px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
}
.featured-case-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 80px 0;
}
.featured-case-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-primary);
}
.featured-case-txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.featured-case-title {
  font-size: 40px;
  font-weight: 300;
  line-height: 44px;
  color: var(--text-primary);
}
.featured-case-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-primary);
}
.featured-case-media {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-top: 96px;
  overflow: hidden;
}
.featured-case-img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* Cards */
.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 96px;
  position: relative;
}
.cards-grid::after {
  content: '';
  position: absolute;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  bottom: 0;
  height: 400px;
  background: linear-gradient(to bottom, rgba(227,229,232,0), rgba(227,229,232,0.5));
  pointer-events: none;
  z-index: -1;
}
[data-theme="dark"] .cards-grid::after {
  background: linear-gradient(to bottom, rgba(67,67,67,0), rgba(67,67,67,0.3));
}
.cards-row {
  display: grid;
  gap: 24px;
}
.cards-row.large { grid-template-columns: 1fr 1fr; }
.cards-row.medium { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .card:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.05);
}
.card-thumb {
  width: 100%;
  background: var(--color-neutro-02);
  border-radius: var(--radius) var(--radius) 0 0;
  flex-shrink: 0;
  overflow: hidden;
}
.card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-thumb--case-08 img {
  object-position: left top;
}
.card-thumb.large  { height: 300px; }
.card-thumb.medium { height: 240px; }
[data-theme="dark"] .card-thumb {
  background: var(--color-neutro-07);
}
.card-body {
  border-left:   1px solid var(--text-primary);
  border-right:  1px solid var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-primary);
}
.card-tag-icon {
  flex-shrink: 0;
}
[data-theme="dark"] .card-tag-icon {
  filter: invert(1);
}
.card-txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-title {
  font-size: 32px;
  font-weight: 300;
  line-height: 36px;
  color: var(--text-primary);
}
.card-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: normal;
  color: var(--text-primary);
}


/* ─── About ─── */
.section-about {
  padding: 96px 0 0;
}
.about-container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.about-intro {
  max-width: var(--container-max);
  margin: 0 auto 64px;
  padding: 0 var(--container-pad);
  text-align: center;
}
.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
[data-theme="dark"] .icon-themed { filter: invert(1); }
.about-headline {
  font-size: 54px;
  font-weight: 900;
  line-height: 58px;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.about-bio {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
  max-width: 684px;
  margin: 0 auto;
}

/* Timeline carousel wrapper */
.timeline-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto 64px;
  padding: 0 var(--container-pad);
}
.timeline-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--text-primary);
  background: var(--bg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s ease;
}
.timeline-btn:not(:disabled):hover { opacity: 0.7; transform: scale(1.06); }
.timeline-btn:disabled { opacity: 0.25; cursor: default; }

/* Timeline horizontal scroll */
.timeline-scroll {
  flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.timeline-scroll::-webkit-scrollbar { display: none; }
.timeline-track {
  display: inline-flex;
  align-items: stretch;
  min-width: max-content;
}
.timeline-card {
  width: 273px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--text-primary);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
  background: var(--bg);
  scroll-snap-align: start;
}
.timeline-period-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.timeline-period {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.timeline-company {
  font-size: 32px;
  font-weight: 300;
  line-height: 36px;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.timeline-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  color: var(--text-body);
}
.timeline-connector {
  width: 48px;
  flex-shrink: 0;
  height: 1px;
  background: var(--text-primary);
  align-self: center;
}
.about-cta {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  text-align: center;
}

/* ─── Form ─── */
.section-form {
  padding: 96px 0 96px;
  background: var(--bg);
  transition: background 0.3s;
}
.form-header {
  margin: 0 auto 64px;
  text-align: center;
}
.form-header .section-headline {
  white-space: nowrap;
  margin-bottom: 12px;
}
.form-header p {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
}

.proposal-form {
  max-width: 684px;
  margin: 0 auto;
}

/* Steps indicator */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}
.step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.step-num-text { display: block; line-height: 1; }
.step-check { display: none; }
.step-item.active .step-num {
  background: var(--bg);
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.step-item.done .step-num {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
}
.step-item.done .step-num-text { display: none; }
.step-item.done .step-check { display: block; }
.step-label {
  display: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
}
.step-item.active .step-label,
.step-item.done .step-label { display: block; }
.step-divider {
  width: 105px;
  height: 1px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

/* Form panels */
.form-panel { display: none; }
.form-panel.active { display: block; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-primary);
}
.form-field input,
.form-field select,
.form-field textarea {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--bg-neutral);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 300;
  transition: border-color 0.2s, background 0.3s;
  outline: none;
  width: 100%;
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E6E6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
}
.form-field textarea {
  height: 112px;
  padding: 12px 16px;
  resize: vertical;
}
.form-field--right-tall {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field--right-tall textarea {
  flex: 1;
  height: auto;
  min-height: 112px;
  resize: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--border-strong);
}
.form-field select::placeholder,
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 12px;
}
.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: #CC0000;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}
.form-actions .btn-main {
  width: 330px;
  margin-left: auto;
  justify-content: center;
}
.btn-form-back {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.btn-form-back:hover { color: var(--text-primary); }

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 80px 0;
}
.form-success.visible { display: block; }
.form-success h3 {
  font-size: 40px;
  font-weight: 900;
  line-height: 44px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.form-success p {
  font-size: 21px;
  font-weight: 300;
  line-height: 32px;
  color: var(--text-body);
}

/* ─── Contact ─── */
.section-contact {
  padding: 96px 0 96px;
  text-align: center;
}
.contact-inner {
  max-width: 448px;
  margin: 0 auto;
}
.contact-headline {
  font-size: 40px;
  font-weight: 900;
  line-height: 44px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.contact-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: normal;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.contact-email {
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity 0.2s;
}
.contact-email:hover { opacity: 0.65; text-decoration: underline; text-underline-offset: 3px; }

/* ─── Footer ─── */
.site-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.3s;
}
.footer-copy {
  font-size: 12px;
  font-weight: 300;
  line-height: normal;
  color: var(--text-primary);
  white-space: nowrap;
}
.footer-link {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-primary);
  text-decoration: none;
}
.footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Responsivo: componentes declarados após seus estilos base para evitar override ─── */
@media (max-width: 768px) {
  .aside-nav { display: none; }
  /* section-hero-content */
  .hero-headline { line-height: 1; }
  /* section-destaque-content */
  .destaque-wrap::before { display: none; }
  .destaque-wrap { margin-top: 0; }
  .featured-case {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .featured-case-gap { display: none; }
  .featured-case-media {
    order: -1;
    padding-top: 0;
    align-self: auto;
    overflow: visible;
    border-radius: 0;
  }
  .featured-case-img {
    flex: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .featured-case-info { padding: 32px 0; }
  .featured-case-title {
    font-size: 28px;
    line-height: 34px;
  }

  /* section-cards-content */
  .cards-row.large,
  .cards-row.medium {
    grid-template-columns: 1fr;
  }
  .cards-grid { padding-left: 0; padding-right: 0; }
  .card-thumb.large  { height: auto; aspect-ratio: 16 / 9; }
  .card-thumb.medium { height: auto; aspect-ratio: 3 / 2; }
  .card-body { padding: 32px 16px; }
  .card-title {
    font-size: 26px;
    line-height: 32px;
  }
  .cards-grid::after { display: none; }

  /* section-about-content */
  .section-about { padding: 64px 0 0; }
  .about-intro {
    padding: 0 32px;
    margin-bottom: 48px;
  }
  .about-headline {
    font-size: 36px;
    line-height: 42px;
  }
  .about-bio { font-size: 15px; }
  .timeline-carousel {
    padding: 0 16px;
    gap: 32px;
  }
  .timeline-btn {
    display: flex;
    width: 32px;
    height: 32px;
  }
  .timeline-btn svg {
    width: 16px;
    height: 16px;
  }
  .timeline-track { gap: 16px; }
  .timeline-card {
    /* card(214) + gap(16) = scroll container(230) → snap exato, bordas visíveis */
    width: calc(100vw - 176px);
    scroll-snap-align: start;
  }
  .timeline-connector { display: none; }
  .br-d { display: none; }
  .timeline-company {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  .about-cta { padding: 0 32px; }

  /* section-form-content */
  .section-form { padding: 96px 0 96px; }
  .section-form .container {
    padding-left: 32px;
    padding-right: 32px;
  }
  .form-header { margin-bottom: 40px; }
  .form-header .section-headline { white-space: normal; font-size: 36px; line-height: 42px; }
  .steps-indicator { margin-bottom: 32px; }
  .step-divider { width: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--right-tall {
    grid-column: 1;
    grid-row: auto;
  }
  .form-field--right-tall textarea {
    height: 112px;
    flex: none;
  }
  .form-actions .btn-main {
    width: 100%;
    margin-left: 0;
  }
  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 16px;
  }
  .form-actions:has(.form-privacy) {
    flex-direction: column;
  }
  .btn-form-back {
    text-align: center;
    padding: 8px 0;
  }

  /* section-contact-content */
  .cards-grid { padding-bottom: 64px; }
  .section-contact { padding: 64px 0 64px; }
  .contact-inner { padding: 0 32px; max-width: none; }
  .contact-headline { font-size: 32px; line-height: 38px; }
}

/* ─── Hero headline: ajuste fino por device ─── */
@media (max-width: 430px) {
  .hero-headline { font-size: 64px; }
}
@media (max-width: 390px) {
  .hero-headline { font-size: 56px; }
}
@media (max-width: 360px) {
  .hero-headline { font-size: 52px; }
}

/* ─── Dark mode global transition ─── */
html { transition: background-color 250ms ease, color 250ms ease; }
body, .site-header, .section-form, .section-contact, .site-footer,
.card-body, .card-thumb, .aside-nav, .timeline-btn, .carrossel-btn, .carrossel-card, .btn-main,
.form-wrap, .form-field input, .form-field textarea, .form-field select {
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

/* ─── Scroll reveal ─── */
.reveal-target {
  opacity: 0;
  transform: translateY(52px);
  transition: opacity 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}
.reveal-target.is-visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* ─── prefers-reduced-motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { transition: none; }
  body, .site-header, .section-form, .section-contact, .site-footer,
  .card-body, .card-thumb, .aside-nav, .timeline-btn, .carrossel-btn, .carrossel-card, .btn-main,
  .form-wrap, .form-field input, .form-field textarea, .form-field select {
    transition: none;
  }
  .reveal-target {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .card { transition: none; }
  .card:hover { transform: none; box-shadow: none; }
  .carrossel-card { transition: none; }
  .carrossel-card:hover { transform: none; box-shadow: none; }
  .btn-main { transition: opacity 0.2s, background 0.2s, color 0.2s, border-color 0.2s; }
  .btn-main svg { transition: none; }
  .btn-main:hover svg { transform: none; }
  .btn-main:active { transform: none; }
  .aside-nav a { transition: opacity 0.2s; }
  .aside-nav a img { transition: none; }
  .aside-nav a:hover img { transform: none; }
  .timeline-btn { transition: opacity 0.2s; }
  .timeline-btn:not(:disabled):hover { transform: none; }
  .carrossel-btn { transition: opacity 0.2s; }
  .carrossel-btn:not(:disabled):hover { transform: none; }
}

/* ─── Página 404 ─── */
html.page-404,
html.page-404 body {
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.p404-main {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}

/* img-404 — centralizada, encostada no topo */
.p404-visual {
  position: absolute;
  left: 0;
  right: 0;
  top: 104px;
  height: 260px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.p404-img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 90%;
}

/* hero — inteira, base ancorada no fundo, sem transform */
.p404-hero {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 400px;
  z-index: 3;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.p404-hero-img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
}

/* Título + descrição — col 2–4 do grid de 12 */
.p404-text {
  position: absolute;
  left: 8.33%;
  right: 66.67%;
  bottom: 160px;
  z-index: 5;
}

.p404-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 58px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.p404-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-primary);
}

/* CTA — alinhado à direita da col 11 */
.p404-cta {
  position: absolute;
  right: 8.33%;
  bottom: 240px;
  z-index: 5;
}

/* ─── Mobile 404 (≤ 768px) ─── */
@media (max-width: 768px) {
  .p404-visual {
    top: 32px;
    height: 18vh;
  }

  .p404-hero {
    height: 40vh;
  }

  .p404-text {
    left: 32px;
    right: 32px;
    bottom: auto;
    top: calc(18vh + 96px);
    text-align: center;
  }

  .p404-title {
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 8px;
  }

  .p404-desc {
    font-size: 14px;
    line-height: 22px;
  }

  .p404-cta {
    left: 50%;
    right: auto;
    bottom: auto;
    top: calc(18vh + 96px + 170px);
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

/* ═══════════════════════════════════════════
   PÁGINA: CURRÍCULO
   ═══════════════════════════════════════════ */

/* ─── Hero ─── */
.curriculo-hero {
  padding: 54px 0 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.curriculo-hero .section-tag {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
}

.curriculo-hero .section-headline {
  margin-bottom: 24px;
}

.curriculo-hero__sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
  margin: 0 auto 24px;
  white-space: nowrap;
}

.curriculo-hero__img-wrap {
  margin: 0;
  line-height: 0;
}

.curriculo-hero__img {
  display: block;
  height: 526px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}

/* ─── Seção: cabeçalho reutilizável ─── */
.curriculo-sec-head {
  margin-bottom: 48px;
  text-align: center;
}

.curriculo-sec-head .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
}

.curriculo-sec-head .section-headline {
  margin-bottom: 0;
}

/* ─── Experiência Profissional ─── */
.curriculo-exp {
  background: var(--bg);
  padding: 96px 0 96px;
  position: relative;
  z-index: 2;
}

.curriculo-exp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 244px;
  background: linear-gradient(to top, transparent, rgba(227, 229, 232, 0.5));
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] .curriculo-exp::before {
  background: transparent;
}

.curriculo-exp::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 244px;
  background: linear-gradient(to bottom, rgba(227, 229, 232, 0), rgba(227, 229, 232, 0.5));
  border-bottom: 1px solid #e3e5e8;
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] .curriculo-exp::after {
  background: transparent;
  border-bottom-color: transparent;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.exp-card {
  border: 1px solid var(--text-primary);
  border-radius: 8px;
  padding: 48px 24px;
}

.exp-card__trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: inherit;
}

.exp-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-height: 87px;
}

.exp-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-card__date {
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-card__date span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  white-space: nowrap;
}

.exp-card__company {
  font-size: 32px;
  font-weight: 300;
  line-height: 36px;
  color: var(--text-primary);
}

.exp-card__loc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-primary);
}

.exp-card__role {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.exp-card__role span {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--text-primary);
}

.exp-card__chevron {
  position: relative;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  overflow: visible;
  transition: transform 0.35s ease;
}

.exp-card__trigger[aria-expanded="false"] .exp-card__chevron {
  transform: rotate(180deg);
}

.exp-card__chevron-inner {
  position: absolute;
  top: 0;
  right: -60%;
  bottom: -80%;
  left: -20%;
}

.exp-card__chevron-inner img {
  display: block;
  max-width: none;
  width: 100%;
  height: 100%;
}

.exp-card__body {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.exp-card__body-inner {
  padding-top: 24px;
}

.exp-card__bullets {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-primary);
  margin: 0;
}

/* ─── Habilidades Técnicas ─── */
.curriculo-skills {
  background: var(--bg);
  padding: 96px 0 0;
  position: relative;
  z-index: 2;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.skills-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
  margin-top: 16px;
}

.skill-card {
  border: 1px solid var(--text-primary);
  border-radius: 8px;
  padding: 24px 16px;
  text-align: center;
}

.skill-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.skill-card__desc {
  font-size: 14px;
  font-weight: 300;
  line-height: normal;
  color: var(--text-primary);
}

.curriculo-edu-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.curriculo-edu-col {
  text-align: center;
}

.curriculo-edu-col > .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
  white-space: nowrap;
}

/* ─── Mobile currículo (≤ 768px) ─── */
@media (max-width: 768px) {
  .curriculo-hero .section-headline { line-height: 1; }
  .curriculo-hero { padding: 40px 0 0; }
  .curriculo-hero__sub { white-space: normal; }
  .curriculo-hero__img { height: auto; width: 70%; }

  .curriculo-exp { padding: 64px 0 64px; }

  .exp-card { padding: 24px 16px; }

  .exp-card__trigger {
    display: grid;
    grid-template-columns: 1fr 28px;
    gap: 8px 12px;
    align-items: start;
  }

  .exp-card__header {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: unset;
    gap: 8px;
  }

  .exp-card__chevron {
    grid-column: 2;
    align-self: start;
  }

  .exp-card__company { font-size: 24px; line-height: 30px; }

  .curriculo-skills { padding: 64px 0 0; }

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

  .skills-grid--2 { grid-template-columns: 1fr; }

  .curriculo-edu-row { grid-template-columns: 1fr; gap: 40px; }
}

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

/* ─── Exceções explícitas — currículo ─── */
.page-curriculo .section-form {
  padding-bottom: 96px;
}

/* ═══════════════════════════════════════════
   PÁGINA: PROPOSTA
   ═══════════════════════════════════════════ */

/* ─── Hero ─── */
.proposta-hero {
  padding: 54px 0 96px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.proposta-hero .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-primary);
}

.proposta-hero .section-headline {
  margin-bottom: 24px;
}

.proposta-hero__sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
  max-width: 940px;
  margin: 0 auto 48px;
}

/* ─── Client grid ─── */
.proposta-client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 0;
  text-align: center;
}

.proposta-client-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 16px;
  border: 1px solid var(--text-primary);
  border-radius: 8px;
  background: var(--bg);
}

.proposta-client-card__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}

.proposta-client-card__value {
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  color: var(--text-primary);
}

/* ─── Proposta content (invest + escopo unificados) ─── */
.proposta-content {
  background: var(--bg-neutral);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 96px 0 0;
  position: relative;
  z-index: 2;
}

.proposta-project {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.proposta-project__name {
  font-size: 40px;
  font-weight: 300;
  line-height: 44px;
  color: var(--text-primary);
}

.proposta-project__desc {
  font-size: 21px;
  font-weight: 300;
  line-height: 32px;
  color: var(--text-body);
}

.proposta-divisor {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0 0 48px;
}

.proposta-row {
  display: grid;
  grid-template-columns: 271px 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 48px;
}

.proposta-row__label {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proposta-row__headline {
  font-size: 40px;
  font-weight: 300;
  line-height: 44px;
  color: var(--text-primary);
}

.proposta-row__sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
}

.proposta-row__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.proposta-infos {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.proposta-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proposta-info-col__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--text-primary);
}

.proposta-info-col__value {
  font-size: 24px;
  font-weight: 300;
  line-height: 30px;
  color: var(--text-primary);
}

.proposta-info-col__note {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
}

.proposta-info-col__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.proposta-info-col__list li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
}

.proposta-info-col__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-body);
}

.proposta-nota-box {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 24px;
}

.proposta-nota-box p {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
}

.proposta-cta {
  display: grid;
  grid-template-columns: 271px 1fr;
  gap: 36px;
  padding: 48px 0 96px;
}

.proposta-cta__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
}

.proposta-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
  cursor: pointer;
}

.proposta-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--text-primary);
  border-radius: 2px;
  background: var(--bg);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.proposta-check input[type="checkbox"]:checked {
  background: var(--text-primary);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.proposta-check input[type="checkbox"].error {
  border-color: #CC0000;
}

.proposta-check-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.proposal-check-error {
  font-size: 11px;
  font-weight: 400;
  color: #CC0000;
  line-height: 1.4;
  margin: 0 0 0 24px;
}

.proposta-check a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Checkbox de política de privacidade nos formulários */
.form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.form-privacy input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--text-primary);
  border-radius: 2px;
  background: var(--bg);
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.form-privacy input[type="checkbox"]:checked {
  background: var(--text-primary);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.form-privacy input[type="checkbox"].error {
  border-color: #CC0000;
}

.form-privacy span {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-primary);
}

.form-privacy a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Mobile proposta (≤ 768px) ─── */
@media (max-width: 768px) {
  .proposta-hero { padding: 40px 0 96px; }
  .proposta-hero__sub { font-size: 14px; }

  .proposta-client-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .proposta-content { padding: 48px 0 0; }

  .proposta-project__name { font-size: 28px; line-height: 34px; }
  .proposta-project__desc { font-size: 16px; line-height: 24px; }

  .proposta-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  .proposta-row__headline { font-size: 28px; line-height: 34px; }

  .proposta-infos {
    flex-direction: column;
    gap: 24px;
  }
  .proposta-info-col__value { font-size: 24px; line-height: 30px; }

  .proposta-cta {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 32px 0;
  }
  .proposta-cta > div:first-child { display: none; }
  .proposta-cta__right {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .proposta-cta__right .btn-main {
    width: 100%;
    justify-content: center;
  }
}

/* ─── Case: Gêmeos Digitais com IA ─── */
.case-hero-text {
  padding: 96px 0 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.case-hero-text__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
}

.case-hero-text__headline {
  font-size: 54px;
  font-weight: 900;
  line-height: 58px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.case-hero-text__desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-primary);
  white-space: nowrap;
  margin: 0 auto;
}

.page-case-gemeos-digitais-ia .case-hero-text {
  padding-top: 48px;
}

/* ─── Case: Sumário ─── */
.case-sumario {
  padding-top: 48px;
  padding-bottom: 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.case-sumario__text {
  font-size: 21px;
  font-weight: 300;
  line-height: 32px;
  color: var(--text-primary);
  max-width: calc(100% * 10 / 12);
  margin: 0 auto;
}

/* ─── Case: Section Infos Content ─── */
.section-infos-content {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  z-index: 1;
}

.infos-grid {
  display: flex;
  gap: 96px;
  align-items: flex-start;
}

.info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-box__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box__label {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--text-primary);
}

.info-box__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-primary);
  margin: 0;
}

@media (max-width: 768px) {
  .case-hero-text { padding-top: 48px; }
  .case-hero-text__headline { font-size: 36px; line-height: 42px; }
  .case-hero-text__desc { white-space: normal; }
  .case-sumario { padding-top: 64px; }
  .case-sumario__text { font-size: 18px; line-height: 28px; }
  .section-infos-content { padding-top: 64px; }
  .infos-grid { flex-direction: column; gap: 48px; }
  .info-box { text-align: center; }
  .info-box__header { justify-content: center; }
}

.case-destaque {
  padding: 54px 0 0;
  position: relative;
  z-index: 2;
}

.case-destaque__img {
  display: flex;
  justify-content: center;
}

.case-destaque__img img {
  height: 270px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

@media (max-width: 768px) {
  .case-destaque { padding-top: 32px; }
  .case-destaque__img img {
    height: auto;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
  }
}

/* ─── Case: Projeto Info Cards ─── */
.case-projeto-info {
  background: var(--bg-neutral);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0;
}

.case-projeto-info__grid {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.case-projeto-info__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--text-primary);
  border-radius: 8px;
  padding: 24px 16px;
  gap: 8px;
}

.case-projeto-info__card svg {
  color: var(--text-primary);
  flex-shrink: 0;
  margin-bottom: 4px;
}

.case-projeto-info__value {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text-primary);
}

.case-projeto-info__label {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--text-body);
}

.page-case-gemeos-digitais-ia .case-projeto-info {
  background: transparent;
  border-top: none;
  padding-bottom: 0;
}

.page-case-gemeos-digitais-ia .case-bg-block {
  position: relative;
}

.page-case-gemeos-digitais-ia .case-bg-block::before {
  content: '';
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(227,229,232,0.5), var(--bg));
  border-top: 1px solid var(--border-subtle);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .page-case-gemeos-digitais-ia .case-bg-block::before {
  background: linear-gradient(to bottom, rgba(67,67,67,0.3), var(--bg));
}

.page-case-gemeos-digitais-ia .case-projeto-info__grid {
  position: relative;
  z-index: 1;
  transform: none;
}

@media (max-width: 768px) {
  .case-projeto-info { padding: 48px 0; }
  .case-projeto-info__grid {
    flex-direction: column;
    gap: 16px;
  }
  .case-projeto-info__value { font-size: 24px; }
  .page-case-gemeos-digitais-ia .case-projeto-info {
    background: var(--bg-neutral);
    border-top: 1px solid var(--border-subtle);
    margin-top: 48px;
  }
  .page-case-gemeos-digitais-ia .case-bg-block::before { display: none; }
  .page-case-gemeos-digitais-ia .case-projeto-info__grid { position: static; transform: none; }
}

/* ─── Case: Processo ─── */
.case-processo {
  padding-top: 0;
  position: relative;
  z-index: 1;
}

/* ─── Case: white block (processo-steps em diante) ─── */
.page-case-gemeos-digitais-ia .case-white-block {
  background: var(--bg);
}

/* ─── Case: Imagem standalone ─── */
.case-img-section {
  padding-top: 96px;
}

@media (max-width: 768px) {
  .case-img-section { padding-top: 64px; }
}

/* ─── Case: Resultado + Impacto ─── */
.section-resultado-impacto {
  padding-top: 96px;
  padding-bottom: 96px;
}

.resultado-impacto-grid {
  display: flex;
  gap: 96px;
  align-items: flex-start;
}

.info-box--wide {
  flex: 0 0 530px;
  width: 530px;
}

@media (max-width: 768px) {
  .section-resultado-impacto { padding-top: 64px; padding-bottom: 64px; }
  .resultado-impacto-grid { flex-direction: column; gap: 48px; }
  .info-box--wide { flex: none; width: 100%; }
}

/* ─── Case: Contact CTA ─── */
.section-case-contact {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

.section-case-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(227,229,232,0), rgba(227,229,232,0.5));
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .section-case-contact::before {
  background: linear-gradient(to bottom, rgba(67,67,67,0), rgba(67,67,67,0.3));
}

.case-contact__headline {
  position: relative;
  z-index: 1;
  font-size: 40px;
  font-weight: 900;
  line-height: 44px;
  color: var(--text-primary);
  text-align: center;
  max-width: calc(100% * 10 / 12);
  margin: 0 auto 24px;
}

.case-contact__sub {
  position: relative;
  z-index: 1;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-primary);
  text-align: center;
  margin: 0 auto 8px;
}

.case-contact__email {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
  text-align: center;
  text-decoration: none;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .section-case-contact { padding-top: 64px; padding-bottom: 64px; }
  .case-contact__headline { font-size: 28px; line-height: 34px; max-width: 100%; }
}

/* ─── Case: Carrossel de cases relacionados ─── */
.section-carrossel-cases {
  padding-top: 96px;
  padding-bottom: 0;
  background: var(--bg);
}

.carrossel-headline {
  font-size: 40px;
  font-weight: 300;
  line-height: 44px;
  color: var(--text-primary);
  text-align: center;
  max-width: calc(100% * 10 / 12);
  margin: 0 auto 48px;
}

.carrossel-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.carrossel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--text-primary);
  background: var(--bg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s ease;
}
.carrossel-btn:not(:disabled):hover { opacity: 0.7; transform: scale(1.06); }
.carrossel-btn:disabled { opacity: 0.25; cursor: default; }

.carrossel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  /* Headroom for card hover translateY(-4px) — prevents border clipping */
  padding-top: 6px;
  margin-top: -6px;
}

.carrossel-track {
  display: flex;
  gap: 24px;
}

.carrossel-card {
  flex: 0 0 316px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--text-primary);
  border-radius: 8px;
  padding: 32px 24px;
  background: var(--bg);
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 250ms ease;
}
.carrossel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
[data-theme="dark"] .carrossel-card:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.05);
}

.cc-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cc-tag span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}

.cc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cc-body h3 {
  font-size: 22px;
  font-weight: 300;
  line-height: 28px;
  color: var(--text-primary);
  margin: 0;
}

.cc-body p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
}

.cc-cta {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  margin-top: auto;
}

.carrossel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.carrossel-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  cursor: pointer;
}

.carrossel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--text-primary);
}

@media (max-width: 768px) {
  .section-carrossel-cases { padding-top: 64px; }

  .carrossel-headline { font-size: 30px; line-height: 36px; max-width: 100%; margin-bottom: 40px; }

  .carrossel-wrapper {
    padding: 0 16px;
    max-width: 100%;
    gap: 32px;
  }

  .carrossel-btn { display: flex; width: 32px; height: 32px; }
  .carrossel-btn svg { width: 16px; height: 16px; }

  .carrossel-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }
  .carrossel-viewport::-webkit-scrollbar { display: none; }

  .carrossel-track {
    padding: 0;
    gap: 0;
  }

  .carrossel-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  .cc-body h3 { font-size: 20px; line-height: 26px; }

  .carrossel-dots { display: none; }
}

/* ─── Case: Flow Section ─── */
.section-case-flow {
  padding-top: 96px;
  padding-bottom: 0;
}

.flow-headline {
  font-size: 40px;
  font-weight: 300;
  line-height: 44px;
  color: var(--text-primary);
  text-align: center;
  margin: 0 0 48px;
}

.flow-scroll-wrap {
  /* mobile scroll container */
}

.flow-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.flow-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  text-align: center;
  max-width: 90px;
}

.flow-connector {
  flex: 1;
  max-width: 133px;
  height: 1px;
  background: var(--text-primary);
  position: relative;
  align-self: flex-start;
  margin-top: 22px;
}

.flow-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--text-primary);
}

.flow-desc {
  font-size: 21px;
  font-weight: 300;
  line-height: 32px;
  color: var(--text-primary);
  text-align: center;
  margin: 48px auto 0;
  max-width: calc(100% * 10 / 12);
}

@media (max-width: 768px) {
  .section-case-flow { padding-top: 64px; }
  .flow-headline { font-size: 30px; line-height: 36px; margin-bottom: 40px; }
  .flow-scroll-wrap { overflow: visible; }
  .flow-track {
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px 16px;
    width: auto;
  }
  .flow-item { flex: 0 0 90px; }
  .flow-connector { display: none; }
  .flow-label { max-width: none; }
  .flow-desc { font-size: 18px; line-height: 28px; max-width: 100%; }
}

.case-processo__img-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.case-processo__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .case-processo { padding-top: 0; }
}

/* ─── Case: image placeholder (template) ─── */
.case-image-placeholder {
  width: 100%;
  min-height: 448px;
  background: var(--bg-neutral);
  border: 1.5px dashed var(--border-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  opacity: 0.5;
  user-select: none;
}

@media (max-width: 768px) {
  .case-image-placeholder { min-height: 220px; }
}

/* ─── Cases: regras visuais comuns a todas as páginas de case ─── */
.page-case .case-hero-text {
  padding-top: 48px;
}

.page-case .case-projeto-info {
  background: transparent;
  border-top: none;
  padding-bottom: 0;
}

.page-case .case-bg-block {
  position: relative;
}

.page-case .case-bg-block::before {
  content: '';
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(227,229,232,0.5), var(--bg));
  border-top: 1px solid var(--border-subtle);
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] .page-case .case-bg-block::before {
  background: linear-gradient(to bottom, rgba(67,67,67,0.3), var(--bg));
}

.page-case .case-projeto-info__grid {
  position: relative;
  z-index: 1;
  transform: none;
}

.page-case .case-white-block {
  background: var(--bg);
}

@media (max-width: 768px) {
  .page-case .case-bg-block::before { display: none; }
  .page-case .case-projeto-info {
    background: var(--bg-neutral);
    border-top: 1px solid var(--border-subtle);
    margin-top: 48px;
    padding-bottom: 48px;
  }
  .page-case .case-projeto-info__grid { position: static; transform: none; }
}

/* ─── Política de Privacidade ─── */
.privacidade-hero {
  padding: 54px 0 96px;
}

.privacidade-hero .container {
  text-align: center;
}

.privacidade-hero .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.privacidade-card {
  background: var(--bg);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.privacidade-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
  margin: 0;
}

.privacidade-card p.priv-title {
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 24px;
}

.privacidade-card ul {
  display: inline-block;
  text-align: left;
  list-style: disc;
  margin: 8px auto;
  padding-left: 20px;
}

.privacidade-card ul li {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text-body);
}

.privacidade-card a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacidade-cta {
  text-align: center;
}

@media (max-width: 768px) {
  .privacidade-hero { padding: 40px 0 64px; }
  .privacidade-card { padding: 16px; }
}

/* ═══════════════════════════════════════════
   CASE MEDIA — vídeo em cases
   ═══════════════════════════════════════════ */

.case-media-video {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}
.case-media-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.case-media__caption {
  font-size: 13px;
  line-height: 20px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════
   CASES ARCHIVE — página interna repositório
   ═══════════════════════════════════════════ */

.section-cases-archive-hero {
  padding: 54px 0 0;
}
.cases-archive-hero-sub {
  font-size: 21px;
  font-weight: 300;
  line-height: 32px;
  color: var(--text-body);
  margin-top: 8px;
  margin-bottom: 16px;
}
.cases-archive-hero-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: var(--text-muted);
  max-width: 680px;
}

.section-cases-archive-list {
  padding-top: 96px;
}

/* Toolbar: counter + search */
.cases-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.cases-archive-counter {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.cases-archive-search-wrap {
  position: relative;
  flex: 0 0 360px;
  max-width: 100%;
}
.cases-archive-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.cases-archive-search {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 40px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  background: var(--bg-neutral);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s, background 0.3s;
}
.cases-archive-search:focus { border-color: var(--text-primary); }
.cases-archive-search::placeholder { color: var(--text-muted); }

/* Grid */
.cases-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

/* Card */
.cases-archive-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s ease;
}
.cases-archive-card:hover {
  border-color: var(--text-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}
[data-theme="dark"] .cases-archive-card:hover {
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.05);
}

.cases-archive-card__number {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.cases-archive-card__tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.cases-archive-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  color: var(--text-primary);
  flex: 1;
}
.cases-archive-card__company {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
}
.cases-archive-card__status {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2px 8px;
  align-self: flex-start;
}
.cases-archive-card__cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 4px;
}

/* Pagination */
.cases-archive-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0 64px;
}
.cases-archive-pagination__button {
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.2s, background 0.2s, color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.cases-archive-pagination__button:hover:not(:disabled) {
  border-color: var(--text-primary);
  background: var(--bg-neutral);
}
.cases-archive-pagination__button--active {
  background: var(--text-primary);
  color: var(--bg);
  border-color: var(--text-primary);
  cursor: default;
}
.cases-archive-pagination__button--active:hover {
  background: var(--text-primary);
  color: var(--bg);
}
.cases-archive-pagination__button--disabled,
.cases-archive-pagination__button:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Empty state */
.cases-archive-empty {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-muted);
  padding: 48px 0;
  text-align: center;
  grid-column: 1 / -1;
}

/* Dark mode transitions */
.cases-archive-card,
.cases-archive-search,
.cases-archive-pagination__button {
  transition: background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

/* Mobile */
@media (max-width: 768px) {
  .section-cases-archive-hero { padding: 40px 0 0; }
  .cases-archive-hero-sub { font-size: 18px; line-height: 28px; }
  .section-cases-archive-list { padding-top: 64px; }
  .cases-archive-toolbar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cases-archive-search-wrap { flex: none; width: 100%; }
  .cases-archive-grid { grid-template-columns: 1fr; gap: 16px; }
  .cases-archive-pagination { justify-content: center; padding-bottom: 48px; }
  .cases-archive-pagination__button { min-width: 44px; height: 44px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .cases-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .cases-archive-card { transition: border-color 0.2s; }
  .cases-archive-card:hover { transform: none; box-shadow: none; }
  .cases-archive-pagination__button { transition: border-color 0.2s, opacity 0.2s; }
}
