:root {
  --gold: #f4b400;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --text: #101010;
  --text-soft: #3d3d3d;
  --card: #ffffff;
  --border: #dadada;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] {
  --bg: #080808;
  --bg-soft: #111111;
  --text: #f7f7f7;
  --text-soft: #d1d1d1;
  --card: #111111;
  --border: #262626;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  background: var(--gold);
  color: #000;
  padding: 8px 10px;
  border-radius: 8px;
  z-index: 20000;
  outline: 3px solid #000;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}

.container {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0 0.78rem;
  gap: 1rem;
}

.brand img.brand-logo {
  width: 128px;
  height: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: 128px;
  height: auto;
}

.brand-logo-dark {
  display: none;
}

/* Toggle de tema no mobile: fora do menu, ao lado da marca (controlado em layout.js) */
.header-mobile-tools {
  display: none;
  align-items: center;
  flex-shrink: 0;
}

html[data-theme="dark"] .brand-logo-light {
  display: none;
}

html[data-theme="dark"] .brand-logo-dark {
  display: inline-block;
}

.desktop-nav {
  display: none;
}

.icon-btn {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}

.icon-btn span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  padding: 0 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
}

.mobile-nav.open {
  display: grid;
  gap: 0.5rem;
}

.mobile-nav a,
.theme-btn {
  color: var(--text);
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 600;
}

.theme-btn {
  text-align: left;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.theme-toggle-text {
  font-size: 0.85rem;
  line-height: 1;
}

.theme-toggle-rail {
  position: relative;
  width: 66px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #dcdcdc;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
}

.theme-toggle-knob {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  left: 4px;
  top: 4px;
  transition: transform 0.2s ease;
}

.theme-toggle-icon {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: #111;
}

html[data-theme="dark"] .theme-toggle-rail {
  background: #030303;
}

html[data-theme="dark"] .theme-toggle-knob {
  transform: translateX(32px);
  background: #f4f4f4;
}

html[data-theme="dark"] .theme-toggle-icon-sun {
  color: rgba(255, 255, 255, 0.5);
}

html[data-theme="dark"] .theme-toggle-icon-moon {
  color: var(--gold);
}

.hero {
  box-sizing: border-box;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
}

@supports not (height: 100svh) {
  .hero {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
  }
}

.hero > .container.hero-grid {
  box-sizing: border-box;
  align-self: stretch;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  min-width: 0;
  margin-inline: auto;
  padding-top: clamp(0.12rem, 0.55svh, 0.45rem);
  padding-bottom: clamp(0.85rem, 3.5svh, 2.35rem);
  padding-inline: 0;
  display: grid;
  align-items: stretch;
  align-content: start;
  gap: clamp(0.55rem, 2svh, 1.35rem);
  overflow: hidden;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
}

.hero-copy {
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: stretch;
  width: 100%;
  gap: clamp(0.28rem, 1svh, 0.65rem);
  overflow: hidden;
}

.hero-copy-intro,
.hero-copy-foot {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-copy-intro {
  gap: clamp(0.2rem, 0.9svh, 0.55rem);
}

.hero-copy-foot {
  gap: clamp(0.15rem, 0.75svh, 0.48rem);
}

.hero-copy-foot .hero-scroll-hint {
  margin-top: 0;
}

.hero h1 {
  font-size: clamp(1.15rem, 2.8vmin + 0.55rem, 2.85rem);
  line-height: 1.08;
  margin: 0;
}

/* Quebra opcional no título: só no mobile (ver responsive.css) */
.hero-h1-br {
  display: none;
}

.hero p {
  color: var(--text-soft);
  line-height: 1.45;
}

.hero-lead {
  margin: 0;
  font-size: clamp(0.78rem, 1.35vmin + 0.35rem, 1rem);
}

.hero-proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.35rem, 1svh, 0.55rem) clamp(0.5rem, 2vw, 1.1rem);
}

.hero-proof li {
  font-size: clamp(0.68rem, 1.1vmin + 0.28rem, 0.84rem);
  color: var(--text-soft);
  line-height: 1.35;
  border-left: 2px solid var(--gold);
  padding-left: 0.55rem;
}

.hero-proof strong {
  color: var(--text);
  font-weight: 700;
}

.hero-proof-note {
  font-weight: 500;
  opacity: 0.88;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(0.62rem, 0.9vmin + 0.32rem, 0.78rem);
  margin: 0;
}

.granular {
  position: relative;
  overflow: hidden;
}

.granular::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    radial-gradient(circle at 20% 15%, var(--gold) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, var(--gold) 0 1px, transparent 1px),
    radial-gradient(circle at 50% 70%, var(--gold) 0 1px, transparent 1px);
  background-size: 7px 7px, 9px 9px, 11px 11px;
}

html[data-theme="dark"] .granular::before {
  opacity: 0.12;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.45rem, 1.2svh, 0.72rem);
  margin: 0;
  flex-shrink: 0;
}

.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  margin-top: clamp(0.15rem, 0.8svh, 0.5rem);
  font-size: clamp(0.78rem, 1.1vmin + 0.3rem, 0.9rem);
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}

.hero-scroll-hint:hover {
  text-decoration: underline;
}

.hero-scroll-arrow {
  display: inline-block;
  animation: hero-scroll-nudge 1.6s ease-in-out infinite;
}

@keyframes hero-scroll-nudge {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }

  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

.hero-media {
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (min-width: 768px) {
  .hero > .container.hero-grid {
    grid-template-columns: 1.12fr minmax(0, 0.88fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 2.5svh, 2.5rem);
    padding-top: clamp(0.15rem, 0.7svh, 0.55rem);
    padding-bottom: clamp(1rem, 3.6svh, 2.4rem);
  }

  .hero-copy {
    align-self: stretch;
    justify-content: center;
    padding-top: clamp(0.2rem, 1.2svh, 0.75rem);
    padding-bottom: clamp(3.25rem, 12svh, 8rem);
    overflow: hidden;
    transform: none;
  }

  .hero-media {
    height: 100%;
    max-height: none;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

@media (orientation: landscape) and (max-height: 540px) and (max-width: 767px) {
  .hero > .container.hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    align-content: stretch;
    padding-top: clamp(0.06rem, 0.35svh, 0.28rem);
    gap: clamp(0.28rem, 1svh, 0.55rem);
  }
}

@media (max-height: 520px) {
  .hero > .container.hero-grid {
    padding-top: clamp(0.06rem, 0.35svh, 0.28rem);
    padding-bottom: clamp(0.45rem, 1.8svh, 1rem);
    gap: clamp(0.25rem, 1svh, 0.55rem);
  }

  .hero-copy {
    gap: clamp(0.12rem, 0.6svh, 0.35rem);
  }

  .hero-scroll-hint {
    margin-top: 0;
  }

  .hero-actions .btn {
    padding: 0.55rem 0.75rem;
    font-size: clamp(0.75rem, 2.5vmin, 0.88rem);
  }
}

.btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.78rem 1rem;
  font-weight: 700;
  border: 2px solid transparent;
}

.btn:focus-visible,
.icon-btn:focus-visible,
.theme-btn:focus-visible,
.mobile-nav a:focus-visible,
.desktop-nav-links a:focus-visible,
.social-icon:focus-visible,
.hero-scroll-hint:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gold);
  color: #121212;
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

html[data-theme="dark"] .btn-ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: #fafafa;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  background: transparent;
  border-color: color-mix(in srgb, var(--gold) 55%, var(--border));
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}

html[data-theme="dark"] .btn-outline {
  border-color: rgba(244, 180, 0, 0.72);
  color: #fafafa;
  background: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .btn-outline:hover {
  border-color: var(--gold);
  background: rgba(244, 180, 0, 0.14);
}

.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.trust-scroll {
  width: 100%;
}

.trust-grid {
  display: grid;
  gap: 1rem;
  padding: 1.3rem 0;
}

.trust .stat-card {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.05rem;
}

.trust h2,
.section h2 {
  margin: 0 0 0.5rem;
}

.section {
  padding: 2.3rem 0;
  scroll-margin-top: 88px;
}

.section-alt {
  background: var(--bg-soft);
}

.cta-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}

.cta-band-text {
  flex: 1 1 16rem;
  max-width: 40rem;
}

.cta-band .cta-band-text h2 {
  margin: 0 0 0.55rem;
}

.cta-band-lead {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.98rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.cards-scroll {
  width: 100%;
}

/* Faixa horizontal com scroll: no mobile, indicador visual em responsive.css (.h-scroll-rail) */
.h-scroll-rail {
  min-width: 0;
}

.cards {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-body {
  padding: 1rem;
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}

.card-media picture {
  position: absolute;
  inset: 0;
  display: block;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--gold) 35%, var(--border));
}

.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips li {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.46rem 0.8rem;
  font-weight: 600;
}

.list p {
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
}

.social-icons {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.social-icons li {
  margin: 0;
  padding: 0;
}

.social-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.showcase {
  display: grid;
  gap: 0.9rem;
}

.case-carousel-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: stretch;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.case-carousel-shell.is-grid-mode {
  grid-template-columns: 1fr;
}

.case-carousel-shell.is-grid-mode .carousel-nav-btn {
  display: none;
}

.carousel-nav-btn {
  align-self: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.carousel-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.carousel-nav-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.carousel-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.showcase-viewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0.9rem;
  border-radius: 18px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.showcase-viewport.is-grid-mode {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  overflow: visible;
  scroll-snap-type: none;
  border-radius: 0;
}

.showcase-viewport::-webkit-scrollbar {
  height: 6px;
}

.showcase-viewport::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--gold) 45%, var(--border));
  border-radius: 999px;
}

.showcase-slide {
  flex: 0 0 min(100%, 360px);
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
}

.showcase-viewport:not(.is-grid-mode) .showcase-slide:only-child {
  margin-inline: auto;
}

.showcase-viewport.is-grid-mode .showcase-slide {
  flex: initial;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.carousel-dots[hidden] {
  display: none;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.2);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.showcase-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(145deg, var(--bg-soft) 0%, color-mix(in srgb, var(--border) 55%, var(--bg-soft)) 100%);
}

.showcase-thumb-placeholder-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.45;
  max-width: 22ch;
}

.cases-head {
  margin-bottom: 0.35rem;
}

.cases-head h2 {
  margin: 0 0 0.45rem;
}

.cases-intro {
  margin: 0;
  max-width: 52ch;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
}

.home-gallery-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .home-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .home-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
}

.home-gallery-thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: var(--bg-soft);
  cursor: pointer;
  text-align: left;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-gallery-thumb:hover {
  box-shadow: var(--shadow);
}

.home-gallery-thumb:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.home-gallery-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.home-gallery-aspect picture {
  position: absolute;
  inset: 0;
  display: block;
}

.home-gallery-aspect img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-gallery-caption {
  display: block;
  padding: 0.55rem 0.7rem 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.home-gallery-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.home-gallery-actions .btn[hidden] {
  display: none;
}

.home-gallery-empty {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.home-gallery-empty code {
  font-size: 0.85em;
}

.case-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0.7rem 0 1rem;
}

.case-filter {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: 999px;
  padding: 0.46rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.case-filter.is-active {
  border-color: var(--gold);
  color: #151515;
  background: var(--gold);
}

.showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.showcase-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: var(--bg-soft);
}

.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.case-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 0.28rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #121212;
  background: var(--gold);
  border-radius: 6px;
  line-height: 1.2;
  max-width: calc(100% - 20px);
}

.case-segment {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.showcase-content h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.case-lead {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.showcase-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.showcase-content .case-open-btn {
  margin-top: auto;
}

.showcase-card.is-hidden {
  display: none !important;
}

.case-open-btn {
  margin-top: 0.6rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.48rem 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.cta {
  text-align: center;
}

address {
  font-style: normal;
  line-height: 1.7;
}

address a {
  color: inherit;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-soft) 86%, var(--card));
  color: var(--text-soft);
}

.footer-main {
  display: grid;
  gap: 1rem;
  padding: 1rem 0 0.7rem;
}

.footer-col {
  min-width: 0;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
}

.footer-logo {
  height: 42px;
  width: auto;
}

.footer-logo-dark {
  display: none;
}

html[data-theme="dark"] .footer-logo-light {
  display: none;
}

html[data-theme="dark"] .footer-logo-dark {
  display: block;
}

.footer-value,
.footer-area {
  margin: 0 0 0.4rem;
  line-height: 1.55;
}

.footer-area {
  margin-bottom: 0.55rem;
}

.footer-cta-btn {
  min-height: 44px;
  min-width: 44px;
}

.footer-title {
  margin: 0 0 0.45rem;
  color: var(--text);
  font-size: 0.98rem;
}

.footer-list,
.footer-contact-list,
.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.footer-list a,
.footer-contact-list a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  min-width: 44px;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.12rem 0.35rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-list a:hover,
.footer-contact-list a:hover,
.footer-social a:hover {
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--text);
}

.footer-list a:focus-visible,
.footer-contact-list a:focus-visible,
.footer-social a:focus-visible,
.footer-legal a:focus-visible,
.footer-legal .footer-legal-action:focus-visible,
.footer-dpo a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.footer-contact-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.12rem 0.35rem;
}

.footer-address {
  margin: 0 0 0.2rem;
  line-height: 1.55;
}

.footer-social {
  grid-template-columns: repeat(3, minmax(0, 42px));
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.footer-social a {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 10px;
  padding: 0;
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 0.85rem 0 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.legal-doc h2 {
  font-size: 1.12rem;
  margin: 1.65rem 0 0.5rem;
  font-weight: 700;
}

.legal-doc h2:first-of-type {
  margin-top: 1.1rem;
}

.legal-doc p,
.legal-doc li {
  line-height: 1.6;
  font-size: 0.95rem;
}

.legal-meta {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

.footer-legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  row-gap: 0.35rem;
}

.footer-legal-list li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.footer-legal-list li + li::before {
  content: "·";
  margin: 0 0.5rem;
  color: var(--text-soft);
  font-weight: 600;
  user-select: none;
  pointer-events: none;
}

.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.12rem 0.1rem;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal .footer-legal-action {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
  border-radius: 8px;
  padding: 0.12rem 0.1rem;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
}

.footer-legal .footer-legal-action:hover,
.footer-legal .footer-legal-action:focus-visible {
  text-decoration: underline;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.15rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.footer-dpo-label {
  font-weight: 700;
  margin-right: 0.2rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.86rem;
}

.footer-copy--merged {
  max-width: none;
  line-height: 1.45;
  color: var(--text-soft);
}

.footer-dpo {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer-dpo a {
  color: inherit;
  text-decoration: none;
}

.footer-dpo a:hover,
.footer-dpo a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .footer-bottom {
    gap: 0.65rem;
  }

  .footer-meta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem 1.25rem;
    border-top: none;
    padding-top: 0;
  }

  .footer-dpo {
    flex: 0 1 auto;
    max-width: min(100%, 40ch);
  }

  .footer-copy--merged {
    flex: 0 1 min(100%, 36rem);
    text-align: right;
    margin-left: auto;
  }
}

.floating-whatsapp {
  position: fixed;
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
  z-index: 999;
  background: transparent;
  color: inherit;
  text-decoration: none;
  border-radius: 0;
  padding: 0;
  line-height: 0;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.whatsapp-icon {
  width: 58px;
  height: 58px;
  display: block;
}

.whatsapp-icon-dark {
  display: none;
}

html[data-theme="dark"] .whatsapp-icon-light {
  display: none;
}

html[data-theme="dark"] .whatsapp-icon-dark {
  display: block;
}

.desktop-nav-links a.is-active {
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.stat-number {
  color: var(--gold);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-ripple {
  position: absolute;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: rgba(255, 255, 255, 0.4);
  animation: ripple 0.55s ease-out forwards;
}

@keyframes ripple {
  from {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  to {
    width: 320px;
    height: 320px;
    opacity: 0;
  }
}

.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  z-index: 998;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  padding: 0.56rem 0.84rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.case-modal.show {
  display: block;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.case-modal-content {
  position: relative;
  z-index: 1;
  width: min(92vw, 720px);
  max-height: 88vh;
  overflow: auto;
  margin: 5vh auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.case-modal-content img {
  width: 100%;
  max-height: min(72vh, 640px);
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: var(--bg-soft);
}

.case-modal-content img[hidden] {
  display: none;
}

.case-modal-content #caseModalDescription {
  margin: 0.65rem 0 0;
  line-height: 1.55;
  color: var(--text-soft);
}

.case-modal-instagram {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #121212;
  background: var(--gold);
  border-radius: 10px;
}

.case-modal-instagram:hover {
  filter: brightness(1.05);
}

.case-modal-instagram:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.case-modal-instagram[hidden] {
  display: none;
}

.case-modal-close {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 10px;
  padding: 0.42rem 0.7rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .showcase-viewport {
    scroll-behavior: auto;
  }

  .reveal,
  .card,
  .showcase-card,
  .floating-whatsapp,
  .back-to-top {
    transition: none;
    animation: none;
    transform: none;
    opacity: 1;
  }
}
