:root {
  --ink: #20262d;
  --muted: #69737d;
  --line: #d8dee5;
  --soft: #f4f6f8;
  --panel: #ffffff;
  --navy: #4e6574;
  --navy-2: #26333d;
  --green: #66736c;
  --orange: #b38559;
  --red: #c93535;
  --shadow: 0 14px 32px rgba(24, 36, 48, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f9fafb 0%, #f4f6f8 54%, #f7f8f9 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

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

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

button {
  cursor: pointer;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(220px, 420px);
  align-items: center;
  gap: 24px;
  padding: 12px 24px;
  background: rgba(250, 251, 252, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(38, 51, 61, 0.03);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 170px;
}

.brand-logo {
  width: min(170px, 38vw);
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.nav a.active {
  color: var(--navy-2);
  border-color: var(--navy-2);
  font-weight: 800;
}

.search {
  display: grid;
  grid-template-columns: 1fr 46px;
  width: 100%;
  min-width: 0;
  height: 56px;
  border: 1px solid #d4dae0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search input {
  min-width: 0;
  border: 0;
  padding: 0 18px;
  outline: none;
  color: var(--ink);
}

.icon-button {
  width: 46px;
  height: 46px;
  align-self: center;
  margin-right: 5px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-2);
  font-size: 1.6rem;
  line-height: 1;
}

.app {
  flex: 1 1 auto;
  width: min(100%, 1460px);
  margin: 0 auto;
  padding: 42px 24px 72px;
}

.app[data-route="home"] {
  display: grid;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 0;
  overflow: hidden;
}

.app[data-route="orcamento"] {
  display: grid;
  align-items: stretch;
  padding-top: 24px;
  padding-bottom: 24px;
}

.app[data-route="orcamento"] > section {
  display: grid;
  align-content: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 0;
  padding-bottom: 26px;
}

.client-hero {
  min-height: auto;
  overflow: hidden;
  padding-bottom: 0;
  isolation: isolate;
  row-gap: 20px;
}

.client-hero .hero-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 680px;
}

.client-hero .service-carousel {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.client-hero > .hero-actions {
  grid-column: 1;
  grid-row: 2;
}

.service-carousel {
  position: relative;
  width: min(100%, 520px);
  height: 326px;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 250, 0.92)),
    #fff;
  overflow: hidden;
  box-shadow:
    0 18px 44px rgba(24, 36, 48, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.service-carousel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--navy), var(--orange));
}

.service-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding: 38px 42px;
  text-align: center;
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  animation: serviceSlide 12s infinite;
  animation-delay: calc(var(--slide-index) * 4s);
}

.service-slide-icon {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: var(--radius);
  background: #eef2f5;
  color: var(--navy-2);
  box-shadow:
    inset 0 0 0 1px rgba(38, 51, 61, 0.08),
    0 10px 20px rgba(38, 51, 61, 0.08);
}

.service-slide-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-slide strong {
  color: var(--navy-2);
  font-size: 1.5rem;
}

.service-slide span:not(.service-slide-icon) {
  max-width: 320px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

@keyframes serviceSlide {
  0%,
  19% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }

  25%,
  100% {
    opacity: 0;
    transform: translateX(-28px) scale(0.98);
  }
}

.hero-copy {
  display: grid;
  gap: 20px;
  max-width: 560px;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 3.9rem);
  line-height: 1;
  max-width: 820px;
}

h2 {
  color: var(--navy-2);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

h3 {
  font-size: 1.05rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.5;
  max-width: 520px;
}

.hero-actions,
.actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-visual {
  min-height: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  border-left: 1px solid var(--line);
  background: #eef6f2;
  padding: 20px;
}

.hero-visual img {
  width: min(100%, 620px);
  height: auto;
  max-height: min(56svh, 620px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(13, 43, 99, 0.16));
}

.home-carousel {
  width: min(100%, 760px);
  display: grid;
  gap: 14px;
}

.home-carousel-stage {
  position: relative;
  min-height: 0;
  height: min(42svh, 400px);
  border: 1px solid rgba(18, 98, 77, 0.12);
  border-radius: 20px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), rgba(238, 246, 242, 0.82) 60%),
    linear-gradient(135deg, rgba(18, 98, 77, 0.06), rgba(216, 100, 49, 0.08));
  overflow: hidden;
  isolation: isolate;
}

.home-carousel-stage::before {
  content: "";
  position: absolute;
  inset: auto 12% 8% 12%;
  height: 24px;
  border-radius: 999px;
  background: rgba(24, 33, 31, 0.12);
  filter: blur(26px);
  z-index: 0;
}

.home-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(0) scale(0.82);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    filter 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.home-slide.active,
.home-slide.prev,
.home-slide.next {
  opacity: 1;
}

.home-slide.active {
  transform: translateX(0) scale(1);
  filter: none;
  z-index: 3;
}

.home-slide.prev {
  transform: translateX(-33%) scale(0.76);
  filter: saturate(0.85) blur(0.2px);
  z-index: 2;
}

.home-slide.next {
  transform: translateX(33%) scale(0.76);
  filter: saturate(0.85) blur(0.2px);
  z-index: 2;
}

.home-slide.hidden {
  opacity: 0;
  transform: translateX(0) scale(0.7);
}

.home-slide img {
  width: min(100%, 560px);
  max-height: min(40svh, 420px);
}

.home-carousel-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.home-carousel-meta strong {
  display: block;
  color: var(--navy-2);
  font-size: 1.15rem;
}

.home-carousel-meta span {
  color: var(--muted);
}

.home-carousel-actions,
.home-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.carousel-button,
.carousel-dot {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.carousel-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--navy-2);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(24, 33, 31, 0.08);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  padding: 0;
}

.carousel-dot.active {
  width: 32px;
  background: var(--navy);
  border-color: var(--navy);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
}

.stat {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--navy-2);
  font-size: 1.2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #d3d9df;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 800;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

.btn:hover,
.choice-card:hover,
.item-card:hover,
.repair-card:hover,
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(78, 101, 116, 0.42);
}

.btn.primary {
  border-color: var(--navy-2);
  background: var(--navy-2);
  color: #fff;
}

.btn.primary:hover {
  background: #1f2a32;
}

.icon-link svg,
.instagram-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-2);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.btn.success {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.btn.warn {
  border-color: rgba(108, 115, 124, 0.35);
  background: #f3f4f6;
  color: #4f565e;
}

.btn.danger {
  border-color: rgba(221, 52, 52, 0.3);
  color: var(--red);
  background: #fff;
}

.btn.full {
  width: 100%;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.back {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  font-size: 1.5rem;
}

.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.choice-card,
.item-card,
.repair-card,
.product-card,
.summary-panel,
.form-panel,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(24, 36, 48, 0.04);
}

.choice-card,
.item-card,
.repair-card,
.product-card {
  min-height: 128px;
  padding: 18px;
  text-align: left;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.choice-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.choice-card h3,
.item-card h3,
.repair-card h3,
.product-card h3 {
  margin: 0;
}

.choice-card p,
.item-card p,
.repair-card p,
.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.device-icon {
  display: inline-grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: var(--radius);
  background: #eef2f5;
  color: var(--navy);
}

.device-icon svg,
.repair-symbol svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.device-photo,
.repair-symbol {
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  overflow: visible;
}

.device-photo {
  background: #eef2f5;
}

.device-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f4f6f8;
}

.device-card-photo,
.iphone-x-photo {
  width: 96px;
  height: 96px;
  padding: 10px;
  background: #f7f8fa;
  overflow: visible;
}

.device-card-photo img,
.iphone-x-photo img {
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.device-fallback-icon {
  display: none;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.repair-symbol {
  width: 56px;
  height: 56px;
  background: #eef2f5;
  color: var(--navy);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  width: min(780px, 100%);
  margin: 4px auto 42px;
  color: var(--muted);
}

.step {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  font-weight: 700;
}

.bubble {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 3px solid #cbd3dc;
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

.step.active,
.step.done {
  color: var(--ink);
}

.step.active .bubble,
.step.done .bubble {
  border-color: var(--navy-2);
  background: var(--navy-2);
  color: #fff;
}

.connector {
  height: 3px;
  min-width: 86px;
  margin-top: 24px;
  background: #edf0f4;
}

.connector.done {
  background: var(--navy-2);
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.item-card,
.product-card {
  display: grid;
  gap: 16px;
  align-content: start;
  cursor: pointer;
}

.item-card .item-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.tag.hot {
  background: #fbf1e7;
  color: #7b4f27;
}

.tag.ok {
  background: #edf4ef;
  color: #475e52;
}

.price {
  color: var(--navy-2);
  font-size: 1.18rem;
  font-weight: 900;
}

.summary-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
}

.summary-panel h2 {
  margin-bottom: 8px;
}

.empty {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.search-group {
  margin: 12px 0 28px;
}

.search-empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 46px 18px;
}

.search-empty h3,
.search-empty p {
  margin: 0;
}

.summary-item {
  display: grid;
  gap: 10px;
  padding: 14px;
  margin: 16px 0;
  border: 1px solid rgba(52, 58, 64, 0.28);
  border-radius: var(--radius);
  background: #f7f9fc;
}

.summary-top,
.line-row,
.total-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.summary-top strong,
.total-row strong {
  color: var(--ink);
}

.line-row {
  color: var(--muted);
}

.total-row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 900;
}

.remove {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(221, 52, 52, 0.28);
  border-radius: var(--radius);
  color: var(--red);
  background: #fff;
}

.repair-card {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 14px;
  align-items: start;
  cursor: pointer;
}

.repair-card.selected {
  border-color: var(--navy);
  background: #f3f6f8;
}

.repair-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.product-card img {
  width: 100%;
  max-height: 210px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.product-page {
  display: grid;
  gap: 28px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.product-image {
  min-height: 430px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.product-image img {
  width: min(86%, 480px);
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

.option-group {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.segmented button {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 800;
}

.segmented button.active {
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.swatch {
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.swatch.active {
  box-shadow: 0 0 0 3px var(--navy);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.spec {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--soft);
}

.spec strong {
  display: block;
  margin-bottom: 8px;
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.form-panel {
  padding: 28px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(52, 58, 64, 0.16);
}

.radio-list {
  display: grid;
  gap: 10px;
}

.radio-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  font-weight: 800;
}

.radio-list input {
  width: 20px;
  height: 20px;
  accent-color: var(--navy);
}

.muted {
  color: var(--muted);
}

.reviews,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.contact-grid > .review-card {
  display: none;
}

.contact-card {
  min-height: 164px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(24, 36, 48, 0.06);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -52px auto;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(179, 133, 89, 0.1);
  z-index: -1;
  transform: scale(0.9);
  transition: transform 0.22s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(78, 101, 116, 0.35);
  box-shadow: var(--shadow);
}

.contact-card:hover::before {
  transform: scale(1.15);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-2), var(--navy));
  box-shadow: 0 12px 24px rgba(32, 38, 45, 0.16);
}

.contact-card-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: contact-float 3.6s ease-in-out infinite;
}

.contact-card-whatsapp .contact-card-icon {
  background: linear-gradient(135deg, #2f7565, #6f8a79);
}

.contact-card-instagram .contact-card-icon {
  background: linear-gradient(135deg, #6f4f78, #b38559);
}

.contact-card-email .contact-card-icon {
  background: linear-gradient(135deg, #3f5f7a, #7f9aaa);
}

.contact-card-location .contact-card-icon {
  background: linear-gradient(135deg, #5c6470, #9a7b60);
}

.contact-card-copy {
  min-width: 0;
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-card .instagram-link {
  color: var(--ink);
}

.contact-card .instagram-link svg {
  display: none;
}

.contact-card-whatsapp:hover .contact-card-icon svg {
  animation: contact-ring 0.82s ease-in-out;
}

.contact-card-instagram:hover .contact-card-icon svg {
  animation: contact-pop 0.72s ease;
}

.contact-card-email:hover .contact-card-icon svg {
  animation: contact-mail 0.72s ease;
}

.contact-card-location:hover .contact-card-icon svg {
  animation: contact-pin 0.82s ease;
}

.review-card {
  padding: 18px;
}

.contact-card-action p {
  margin-bottom: 0;
}

.review-card strong {
  display: block;
  margin-top: 14px;
  color: var(--navy-2);
}

.stars {
  color: #c98014;
  font-weight: 900;
}

@keyframes contact-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes contact-ring {
  0%,
  100% {
    transform: rotate(0);
  }
  24% {
    transform: rotate(-10deg);
  }
  48% {
    transform: rotate(10deg);
  }
  72% {
    transform: rotate(-6deg);
  }
}

@keyframes contact-pop {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.14);
  }
}

@keyframes contact-mail {
  0%,
  100% {
    transform: translateX(0);
  }
  45% {
    transform: translateX(5px);
  }
}

@keyframes contact-pin {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-6px);
  }
}

@media (min-width: 1101px) {
  html[data-route="home"],
  body[data-route="home"] {
    overflow-y: hidden;
  }

  .app[data-route="home"] {
    height: calc(100svh - 79px);
  }

  .app[data-route="orcamento"] .steps {
    margin-bottom: 28px;
  }

  .app[data-route="orcamento"] .section-title {
    margin-bottom: 22px;
  }

  .app[data-route="orcamento"] .choice-card {
    min-height: 120px;
    padding: 18px;
  }
}

.security-note,
.field small {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(380px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }

  .hero,
  .shop-layout,
  .checkout,
  .product-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .client-hero {
    min-height: auto;
  }

  .client-hero .hero-copy,
  .client-hero .service-carousel,
  .client-hero > .hero-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-visual {
    min-height: 300px;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .summary-panel {
    position: static;
  }

  .service-carousel {
    width: 100%;
    height: 286px;
  }

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

@media (max-width: 720px) {
  .topbar {
    padding: 12px 16px;
  }

  .brand-logo {
    width: min(150px, 48vw);
    height: 46px;
  }

  .app {
    padding: 26px 16px 52px;
  }

  .app[data-route="home"] {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .app[data-route="orcamento"] {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-copy {
    max-width: none;
  }

  .client-hero,
  .client-hero .hero-copy,
  .client-hero .service-carousel {
    width: calc(100vw - 32px);
    max-width: 100%;
    min-width: 0;
  }

  .client-hero .lead,
  .client-hero .service-slide span:not(.service-slide-icon) {
    overflow-wrap: break-word;
  }

  .client-hero .lead {
    max-width: 32ch;
  }

  .client-hero .service-slide span:not(.service-slide-icon) {
    max-width: 28ch;
  }

  .client-hero > .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100vw - 32px);
    max-width: 100%;
    min-width: 0;
  }

  .client-hero > .hero-actions .btn {
    display: flex;
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .client-hero > .hero-actions .primary {
    grid-column: 1 / -1;
  }

  .service-carousel {
    height: 258px;
  }

  .service-slide {
    padding: 26px 24px;
  }

  .service-slide-icon {
    width: 72px;
    height: 72px;
  }

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

  .grid,
  .grid.two,
  .choices,
  .reviews,
  .contact-grid,
  .form-grid,
  .spec-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 34px 1fr 34px 1fr;
    font-size: 0.78rem;
  }

  .bubble {
    width: 44px;
    height: 44px;
  }

  .connector {
    min-width: 24px;
    margin-top: 22px;
  }

  .repair-card {
    grid-template-columns: 48px 1fr;
  }

  .repair-card .price {
    grid-column: 2;
  }

  .product-image {
    min-height: 280px;
  }

  .home-carousel-stage {
    height: 320px;
  }

  .home-slide.prev {
    transform: translateX(-26%) scale(0.78);
  }

  .home-slide.next {
    transform: translateX(26%) scale(0.78);
  }

  .home-carousel-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 12px;
  }

  .nav {
    gap: 14px;
    font-size: 0.95rem;
  }

  .search {
    height: 52px;
  }

  .icon-button {
    width: 42px;
    height: 42px;
  }

  .home-carousel-stage {
    height: 260px;
  }

  .home-slide img {
    max-height: 300px;
  }

  .home-slide.prev,
  .home-slide.next {
    opacity: 0.35;
    transform: translateX(0) scale(0.78);
  }

  .home-carousel-actions {
    width: 100%;
    justify-content: space-between;
  }

  .choice-card,
  .item-card,
  .repair-card,
  .product-card,
  .summary-panel,
  .form-panel,
  .review-card {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-slide {
    animation: none;
  }

  .service-slide:first-child {
    opacity: 1;
    transform: none;
  }

}
