/* ==========================================================================
   SYST TEAM — MOBILE ART DIRECTION (CONSOLIDADO E REVISADO)
   Layout mobile independente. O style-pc.css permanece responsável pelo desktop.
   ========================================================================== */
:root {
  color-scheme: light;
  --color-bordo: #6C151E;
  --color-green: #0F3D3A;
  --color-cream: #F5DABF;
  --bg-primary: #F5DABF;
  --bg-secondary: #FFF9F1;
  --bg-elevated: #FFFCF7;
  --bg-muted: #EED2B6;
  --accent: #6C151E;
  --accent-hover: #521017;
  --secondary: #0F3D3A;
  --text-main: #241B19;
  --text-muted: #665750;
  --text-subtle: #88776D;
  --text-on-dark: #FFF9F1;
  --border-color: rgba(65, 39, 31, .12);
  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-code: 'JetBrains Mono', ui-monospace, monospace;
  --mobile-gutter: 22px;
  --mobile-radius: 24px;
  --header-height: 68px;
  --glass-tint: rgba(255, 250, 243, .48);
  --glass-strong: rgba(255, 252, 247, .68);
  --glass-border: rgba(255, 255, 255, .68);
  --glass-highlight: rgba(255, 255, 255, .78);
  --glass-shadow: 0 18px 42px rgba(58, 39, 29, .10),
                  inset 0 1px 0 rgba(255, 255, 255, .82),
                  inset 0 -1px 0 rgba(113, 30, 43, .045);
  --glass-blur: 22px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: clip;
  background:
    radial-gradient(ellipse at 12% 12%, rgba(255, 255, 255, .58), transparent 35%),
    radial-gradient(ellipse at 92% 35%, rgba(181, 207, 192, .30), transparent 30%),
    radial-gradient(ellipse at 8% 82%, rgba(221, 177, 153, .24), transparent 32%),
    var(--bg-primary);
  color: var(--text-main);
  font: 400 15px/1.65 var(--font-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse at 88% 8%, rgba(255, 255, 255, .48), transparent 28%),
    radial-gradient(ellipse at 4% 48%, rgba(108, 21, 30, .055), transparent 32%);
}

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

::selection {
  background: var(--color-bordo);
  color: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  -webkit-tap-highlight-color: transparent;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding-inline: var(--mobile-gutter);
}

.section {
  position: relative;
  padding: 76px 0;
  scroll-margin-top: 82px;
}

.section:nth-of-type(even) {
  background: rgba(255, 249, 241, .43);
}

.section-header {
  width: 100%;
  margin: 0 0 30px;
  text-align: left;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  color: var(--color-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
}

.section-tag::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-bordo);
  box-shadow: 0 0 0 4px rgba(108, 21, 30, .09);
  content: "";
}

.section-title {
  max-width: 15ch;
  margin: 0 0 13px;
  color: var(--color-bordo);
  font-size: clamp(31px, 8.4vw, 42px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.section-subtitle {
  max-width: 43ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.8;
}

.section-subtitle strong {
  color: var(--color-bordo);
  font-weight: 800;
}

/* ==========================================================================
   HEADER E NAVEGAÇÃO MOBILE
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, .62);
  background: rgba(245, 218, 191, .58);
  box-shadow: 0 8px 26px rgba(54, 39, 29, .055), inset 0 1px 0 rgba(255, 255, 255, .72);
  backdrop-filter: blur(28px) saturate(175%);
  -webkit-backdrop-filter: blur(28px) saturate(175%);
}

.header-container {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-inline: var(--mobile-gutter);
}

.logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--color-green);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.055em;
}

.logo-image {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.logo-text {
  white-space: nowrap;
}

.nav-desktop, .header-actions-group {
  display: none !important;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-btn {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(255, 249, 241, .34));
  color: var(--color-green);
  box-shadow: 0 7px 18px rgba(43, 58, 49, .08), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  cursor: pointer;
}

.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 5px;
  background: currentColor;
  transition: transform .22s ease, top .22s ease, opacity .18s ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before, .menu-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

.menu-btn.is-open .menu-icon { background: transparent; }
.menu-btn.is-open .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-btn.is-open .menu-icon::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: absolute;
  top: calc(100% + 9px);
  right: var(--mobile-gutter);
  left: var(--mobile-gutter);
  display: block;
  visibility: hidden;
  padding: 9px;
  transform: translateY(-8px) scale(.985);
  transform-origin: top right;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 21px;
  background: linear-gradient(145deg, rgba(255, 253, 248, .84), rgba(244, 232, 216, .66));
  box-shadow: 0 25px 65px rgba(36, 29, 26, .17), inset 0 1px 0 rgba(255, 255, 255, .95);
  backdrop-filter: blur(30px) saturate(175%);
  -webkit-backdrop-filter: blur(30px) saturate(175%);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.nav-mobile.is-open {
  visibility: visible;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.nav-mobile-list {
  display: grid;
  gap: 3px;
}

.nav-mobile-link {
  display: flex;
  min-height: 49px;
  align-items: center;
  padding: 0 14px;
  border-radius: 13px;
  color: var(--color-green);
  font-size: 13px;
  font-weight: 800;
}

.nav-mobile-link:active {
  background: rgba(15, 61, 58, .08);
}

.nav-mobile-list li:last-child {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--border-color);
}

.nav-mobile-list li:last-child .nav-mobile-link {
  justify-content: center;
  background: var(--color-green);
  color: #FFF9F1 !important;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 48px;
  background: transparent;
}

.hero::before {
  position: absolute;
  top: -105px;
  right: -165px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(15, 61, 58, .13);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  top: -72px;
  right: -130px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(108, 21, 30, .11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-container {
  display: flex;
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  flex-direction: column;
  gap: 31px;
  padding-inline: var(--mobile-gutter);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: none;
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .68), rgba(218, 233, 220, .34));
  color: var(--color-green);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), 0 5px 15px rgba(34, 62, 49, .045);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.badge::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--color-bordo);
  content: "";
}

.hero-title {
  max-width: 10.5ch;
  margin: 0 0 17px;
  color: var(--color-green);
  font-size: clamp(46px, 12.8vw, 62px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.078em;
  text-wrap: balance;
}

.hero-description {
  max-width: 38ch;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.85;
}

.hero-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 25px;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-align: center;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}


.btn:active {
  transform: scale(.985);
}

.btn-primary {
  border-color: rgba(255, 255, 255, .25);
  background: linear-gradient(145deg, #7A2933, #6C151E 72%);
  color: #FFF9F1;
  box-shadow: 0 10px 24px rgba(108, 21, 30, .2), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.btn-outline {
  border-color: rgba(255, 255, 255, .9);
  background: linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(255, 249, 241, .38));
  color: var(--color-green);
  box-shadow: 0 8px 20px rgba(43, 58, 49, .07), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
}

.full-width {
  width: 100%;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 27px;
  background: radial-gradient(circle at 75% 28%, rgba(208, 169, 130, .2), transparent 28%), linear-gradient(145deg, #1A514A, #0B302D 74%);
  box-shadow: 0 25px 52px rgba(15, 61, 58, .22), inset 0 1px 0 rgba(255, 255, 255, .48);
}

.hero-scene {
  position: absolute;
  z-index: 0;
  inset: -3% -4%;
  min-height: 245px;
  opacity: .85;
  pointer-events: none;
}

.hero-scene canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.code-window {
  position: relative;
  z-index: 2;
  width: calc(100% - 30px);
  margin: 28px auto 44px;
  overflow: hidden;
  transform: none !important;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(12, 38, 36, .78), rgba(7, 25, 24, .88));
  box-shadow: 0 18px 42px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .18);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.window-header {
  display: flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 249, 241, .1);
  background: rgba(255, 255, 255, .055);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.window-title {
  margin-left: 5px;
  color: rgba(255, 249, 241, .58);
  font: 10px var(--font-code);
}

.window-body {
  padding: 14px 13px;
}

.window-body pre {
  margin: 0;
  overflow: auto;
  color: var(--color-cream);
  font: 10px/1.8 var(--font-code);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.hero-visual-caption {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 13px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 249, 241, .72);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.caption-mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-cream);
}

/* ==========================================================================
   LIQUID GLASS BASE PARA CARDS
   ========================================================================== */
.card, .service-card, .project-card, .about-card,
.review-card, .reviews-summary, .reviews-empty,
.cafeteria-version, .contact-card, .contact-btn {
  border: 1px solid rgba(255, 255, 255, .78);
  background: linear-gradient(145deg, rgba(255, 255, 255, .74), rgba(255, 250, 243, .45));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(155%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(155%);
}

.service-card, .project-card, .about-card,
.review-card, .contact-card {
  position: relative;
  isolation: isolate;
}

.service-card::before, .project-card::before, .about-card::before,
.review-card::before, .contact-card::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  content: "";
  pointer-events: none;
}

.service-card > *, .project-card > *, .about-card > *,
.review-card > *, .contact-card > * {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SERVIÇOS E PREÇOS
   ========================================================================== */
.services {
  padding-top: 70px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.card, .service-card {
  min-width: 0;
  border-radius: var(--mobile-radius);
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.service-card.featured-card {
  border-color: rgba(255, 255, 255, .92);
  background: linear-gradient(145deg, rgba(255, 255, 255, .84), rgba(255, 242, 232, .60));
  box-shadow: 0 20px 48px rgba(108, 21, 30, .12),
              inset 0 1px 0 rgba(255, 255, 255, .98),
              0 0 0 1px rgba(108, 21, 30, .08);
}

.card-header {
  padding: 21px 20px 13px;
}

.service-category {
  display: inline-flex;
  margin-bottom: 9px;
  color: var(--color-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.service-title {
  margin: 0;
  color: var(--color-green);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.card-body {
  padding: 0 20px 19px;
}

.price-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 17px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(221, 237, 225, .72), rgba(255, 255, 255, .42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.price-label {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
}

.price-value {
  color: var(--color-bordo);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.06em;
  white-space: nowrap;
}

.service-desc {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.service-subcategories {
  display: grid;
  gap: 0;
}

.sub-item {
  padding: 14px 0;
  border-top: 1px solid rgba(65, 39, 31, .1);
}

.sub-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.sub-price {
  flex: 0 0 auto;
  color: var(--color-bordo);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.sub-desc {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.7;
}

.service-notes {
  margin: 12px 0 0;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 13px;
  background: rgba(248, 226, 216, .48);
  color: var(--color-bordo);
  font-size: 10px;
  line-height: 1.55;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-notes li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.service-notes li span {
  font-weight: 900;
}

.card-footer {
  margin-top: auto;
  padding: 0 20px 20px;
}

/* ==========================================================================
   METODOLOGIA / PROCESSO
   ========================================================================== */
.process {
  background: rgba(15, 61, 58, .035);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 5px;
  align-items: start;
  min-width: 0;
  padding: 16px 15px 18px 0;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 250, 243, .12));
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 60px;
  bottom: -9px;
  left: 21px;
  z-index: 2;
  width: 1px;
  background: linear-gradient(to bottom, rgba(15, 61, 58, .25), rgba(15, 61, 58, .06));
  content: "";
  pointer-events: none;
}

.step-number {
  position: relative;
  z-index: 3;
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .86), rgba(238, 210, 182, .52));
  color: var(--color-bordo);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 #fff, 0 5px 14px rgba(54, 39, 29, .07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.step-title {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 9px 0 0;
  color: var(--color-green);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}

.step-desc {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  max-width: 48ch;
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: normal;
}

/* ==========================================================================
   PROJETOS E DEMONSTRAÇÕES (CENTRALIZADO + ANIMAÇÃO MOBILE ESTABILIZADA)
   ========================================================================== */
.projects.section {
  overflow: hidden;
}

.projects.section > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 28px);
}

.projects .section-header {
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
}

.projects .section-title,
.projects .section-subtitle {
  max-width: 100%;
  overflow-wrap: break-word;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.project-card {
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 22px;
}

.project-image-wrapper {
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E8D4C0;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-content {
  padding: 18px;
}

.project-content h3 {
  margin: 0 0 8px;
  color: var(--color-green);
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.project-content p {
  font-size: 12px;
  line-height: 1.75;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--color-bordo);
  font-size: 12px;
  font-weight: 800;
}

/* Showcase Antes / Depois do Redesign */
.cafeteria-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 540px;
  margin: 6px auto 0;
  gap: 18px;
  /* Anula qualquer deslocamento lateral herdado de scripts do desktop */
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

.cafeteria-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
  min-width: 0;
  transform: none !important;
}

.cafeteria-version {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .76), rgba(255, 250, 243, .48));
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(var(--glass-blur)) saturate(155%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(155%);
  /* Força o eixo X travado no centro e anima suavemente no eixo Y */
  left: auto !important;
  right: auto !important;
  will-change: transform, opacity;
  backface-visibility: hidden;
  animation: mobileCardSettle 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity .35s ease,
              border-color .28s ease,
              box-shadow .28s ease;
}

.cafeteria-version:nth-child(2) {
  animation-delay: 0.12s;
}

/* Suporte caso seu JS adicione classes de scroll reveal / AOS */
.cafeteria-version[data-reveal],
.cafeteria-version.reveal,
.project-card[data-reveal],
.project-card.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985) !important;
  animation: none;
}

.cafeteria-version[data-reveal].is-visible,
.cafeteria-version.reveal.is-visible,
.cafeteria-version.aos-animate,
.cafeteria-version.is-active,
.project-card[data-reveal].is-visible,
.project-card.reveal.is-visible,
.project-card.aos-animate {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.cafeteria-version:active {
  transform: translate3d(0, 0, 0) scale(.992) !important;
}

.cafeteria-version-after {
  border-color: rgba(15, 61, 58, .24);
}

.cafeteria-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.58;
  min-width: 0;
  overflow: hidden;
  border-radius: 15px;
  background: #E8D4C0;
}

.cafeteria-thumb::after {
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 31, 29, .42));
  content: "";
  pointer-events: none;
}

.cafeteria-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.cafeteria-thumb-label {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: 10px;
  left: auto;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 999px;
  background: rgba(15, 61, 58, .68);
  color: #FFF9F1;
  font: 800 9px/1 var(--font-code);
  letter-spacing: .08em;
  backdrop-filter: blur(13px) saturate(145%);
  -webkit-backdrop-filter: blur(13px) saturate(145%);
}

.cafeteria-version-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  padding: 16px 10px 10px;
}

.cafeteria-version-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: var(--color-bordo);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cafeteria-version-after .cafeteria-version-tag {
  color: var(--color-green);
}

.cafeteria-version-title {
  max-width: 100%;
  margin: 0 0 7px;
  color: var(--color-green);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
}

.cafeteria-version-desc {
  max-width: 100%;
  margin: 0 0 13px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.cafeteria-version .project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(65, 39, 31, .10);
  font-size: 11px;
  font-weight: 900;
}

.cafeteria-story {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 6vw, 32px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 25px;
  background: linear-gradient(145deg, #0F3D3A 0%, #092D2B 100%);
  color: var(--color-cream);
  box-shadow: 0 25px 55px -35px rgba(15, 61, 58, .8), inset 0 1px 0 rgba(255, 255, 255, .12);
}

.cafeteria-story::after {
  position: absolute;
  top: -65px;
  right: -75px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(245, 218, 191, .17);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cafeteria-story-eyebrow {
  color: #E7C6A7;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.cafeteria-story-title {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin: 10px 0 13px;
  color: #FFF5E8;
  font-size: clamp(28px, 7.5vw, 36px);
  line-height: 1.04;
  letter-spacing: -.06em;
}

.cafeteria-story-line {
  display: block;
}

.cafeteria-story-highlight {
  color: #EFC9A7;
}

.cafeteria-story-lead {
  margin: 0;
  color: rgba(255, 245, 232, .8);
  font-size: 12px;
  line-height: 1.8;
}

.cafeteria-story-points {
  display: grid;
  gap: 13px;
  margin-top: 21px;
}

.cafeteria-story-point {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  gap: 10px;
}

.cafeteria-story-number {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(245, 218, 191, .25);
  border-radius: 50%;
  color: #F0C9A6;
  font: 700 10px/1 var(--font-code);
}

.cafeteria-story-point p {
  margin: 0;
  color: rgba(255, 245, 232, .8);
  font-size: 11px;
  line-height: 1.65;
}

.cafeteria-story-point strong {
  color: #FFF5E8;
}

.cafeteria-story-signature {
  margin: 19px 0 0;
  padding-top: 15px;
  border-top: 1px solid rgba(245, 218, 191, .2);
  color: rgba(255, 245, 232, .72);
  font-size: 9px;
  letter-spacing: .06em;
}

@keyframes mobileCardSettle {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* ==========================================================================
   AVALIAÇÕES
   ========================================================================== */
.reviews {
  background: rgba(255, 249, 241, .55);
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 18px;
  padding: 15px 16px;
  border-radius: 17px;
}

.reviews-average {
  color: var(--color-green);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -.06em;
}

.reviews-stars, .review-card-stars {
  color: #A66A28;
  letter-spacing: .1em;
}

.reviews-count {
  color: var(--text-muted);
  font-size: 10px;
}

.reviews-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviews-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.review-card, .reviews-form-card {
  min-width: 0;
  padding: 18px;
  border-radius: 19px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-card-date {
  color: var(--text-subtle);
  font-size: 9px;
}

.review-card-title {
  margin: 0;
  color: var(--color-bordo);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.review-card-comment {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.review-card-author {
  margin-top: auto;
  padding-top: 5px;
  color: var(--color-green);
  font-size: 10px;
  font-weight: 800;
}

.reviews-empty {
  padding: 24px 16px;
  border: 1px dashed rgba(108, 21, 30, .3);
  border-radius: 17px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

.reviews-form-card {
  position: static;
  border: 1px solid rgba(245, 218, 191, .15);
  background: var(--color-green);
  color: var(--color-cream);
}

.reviews-form-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #E8C9A9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.reviews-form-card h3 {
  margin: 0 0 8px;
  color: #FFF5E8;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -.05em;
}

.reviews-form-description {
  margin: 0 0 16px;
  color: rgba(255, 245, 232, .74);
  font-size: 11px;
  line-height: 1.75;
}

.review-form {
  display: grid;
  gap: 10px;
}

.review-label {
  margin-top: 3px;
  color: #FFF5E8;
  font-size: 11px;
  font-weight: 800;
}

.review-label span {
  color: rgba(255, 245, 232, .58);
  font-weight: 500;
}

.review-form input[type=text], .review-form textarea {
  width: 100%;
  min-height: 47px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .055));
  color: #FFF5E8;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.review-form textarea {
  min-height: 110px;
  resize: vertical;
}

.review-form input::placeholder, .review-form textarea::placeholder {
  color: rgba(255, 245, 232, .45);
}

.review-rating-input {
  display: flex;
  gap: 7px;
}

.review-rating-input span[aria-hidden] {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 11px;
  background: rgba(255, 255, 255, .075);
  color: rgba(245, 218, 191, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.review-rating-input label {
  position: relative;
}

.review-rating-input input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.review-rating-input label:has(input:checked) span[aria-hidden] {
  background: rgba(245, 218, 191, .13);
  color: var(--color-cream);
}

.review-form-hint, .review-feedback {
  color: rgba(255, 245, 232, .68);
  font-size: 10px;
}

.reviews-form-card .btn-primary {
  margin-top: 5px;
  background: var(--color-cream);
  color: var(--color-green);
  box-shadow: none;
}

.my-review-status {
  margin-top: 11px;
  padding: 12px;
  border: 1px solid rgba(245, 218, 191, .2);
  border-radius: 11px;
  color: #FFF5E8;
  font-size: 10px;
}

.review-form[hidden], .review-auth-prompt[hidden], .my-review-status[hidden] {
  display: none !important;
}

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.about-card {
  padding: 22px 20px;
  border-radius: 21px;
  text-align: left;
}

.about-avatar {
  width: 66px;
  height: 66px;
  margin: 0 0 15px;
  overflow: hidden;
  border: 2px solid rgba(15, 61, 58, .18);
  border-radius: 20px;
  background: rgba(15, 61, 58, .08);
}

.about-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.about-name {
  margin: 0;
  color: var(--color-green);
  font-size: 19px;
  font-weight: 800;
}

.about-role {
  display: block;
  margin: 4px 0 12px;
  color: var(--color-bordo);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.about-bio {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact-card-wrapper {
  width: 100%;
}

.contact-card {
  padding: 20px 17px;
  border-radius: 24px;
}

.contact-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.contact-btn {
  display: flex;
  min-height: 69px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .82), rgba(245, 218, 191, .42));
  color: var(--color-bordo);
  box-shadow: inset 0 1px 0 #fff, 0 5px 14px rgba(54, 39, 29, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-icon img {
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.contact-btn strong {
  display: block;
  color: var(--color-green);
  font-size: 12px;
}

.contact-btn span:not(.contact-icon) {
  color: var(--text-muted);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.copy-feedback {
  color: var(--color-green);
  font-size: 10px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding: 42px 0 23px;
  background: var(--color-green);
  color: var(--color-cream);
}

.footer::before {
  position: absolute;
  top: -105px;
  right: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(245, 218, 191, .13);
  border-radius: 50%;
  content: "";
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 23px;
}

.footer .logo {
  color: #FFF5E8;
}

.footer .logo-image {
  width: 40px;
  height: 40px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.footer-nav a {
  color: rgba(255, 245, 232, .8);
  font-size: 11px;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 27px;
  padding-top: 17px;
  border-top: 1px solid rgba(245, 218, 191, .18);
  color: rgba(255, 245, 232, .6);
  font-size: 9px;
}

/* ==========================================================================
   ACESSIBILIDADE E BREAKPOINTS RESPONSIVOS
   ========================================================================== */
:focus-visible {
  outline: 3px solid rgba(15, 61, 58, .58);
  outline-offset: 3px;
}

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

@media (min-width: 560px) and (max-width: 820px) {
  :root {
    --mobile-gutter: 30px;
  }

  .hero {
    padding-top: 62px;
  }

  .hero-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    align-items: center;
    gap: 25px;
  }

  .hero-title {
    font-size: clamp(43px, 7.2vw, 58px);
  }

  .hero-visual, .hero-scene {
    min-height: 285px;
  }

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

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .projects-grid, .about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .projects.section > .container,
  .cafeteria-showcase {
    max-width: 720px;
  }

  .cafeteria-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .cafeteria-version {
    height: 100%;
  }

  .cafeteria-thumb {
    aspect-ratio: 1.28;
  }

  .cafeteria-story {
    padding: 30px;
  }

  .cafeteria-story-title {
    max-width: none;
    font-size: 34px;
  }

  .reviews-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .projects.section > .container {
    padding-inline: 18px;
  }

  .cafeteria-version {
    padding: 9px;
    border-radius: 20px;
  }

  .cafeteria-thumb {
    aspect-ratio: 1.48;
  }

  .cafeteria-version-copy {
    padding: 14px 9px 9px;
  }

  .cafeteria-version-title {
    font-size: 17px;
  }

  .cafeteria-version-desc {
    font-size: 11px;
  }

  .cafeteria-story {
    padding: 24px 19px;
  }
}

@media (max-width: 380px) {
  :root {
    --mobile-gutter: 17px;
    --glass-blur: 17px;
  }

  .hero-title {
    font-size: 44px;
  }

  .section {
    padding-block: 63px;
  }

  .price-value {
    font-size: 19px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .header, .nav-mobile, .menu-btn, .badge, .btn-outline,
  .card, .service-card, .project-card, .about-card, .review-card,
  .reviews-summary, .reviews-empty, .cafeteria-version,
  .cafeteria-thumb-label, .contact-card, .contact-btn,
  .price-tag, .step-number, .contact-icon, .code-window {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}