:root {
  --primary: #0b2957;
  --primary-dark: #071d3d;
  --primary-soft: #eef3f9;
  --text: #0f1e34;
  --muted: #4b5f7a;
  --surface: #ffffff;
  --surface-alt: #f4f7fb;
  --border: rgba(11, 41, 87, 0.14);
  --shadow: 0 24px 60px rgba(7, 29, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(11, 41, 87, 0.16), transparent 32%),
    linear-gradient(180deg, #f5f7fa 0%, #ffffff 52%, #edf2f8 100%);
}

main {
  display: flex;
  flex-direction: column;
}

.equipment-section {
  order: -1;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding: 24px clamp(20px, 4vw, 64px) 48px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 29, 61, 0.84) 0%, rgba(7, 29, 61, 0.72) 42%, rgba(7, 29, 61, 0.5) 100%),
    linear-gradient(180deg, rgba(7, 29, 61, 0.18) 0%, rgba(7, 29, 61, 0.34) 100%),
    url("./conserto-eletrodomesticos-em-paulinia.webp") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(7, 29, 61, 0.16) 100%);
  z-index: -1;
}

.nav,
.hero-content,
.section,
.footer {
  max-width: 1180px;
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  background: #ffffff;
  border: 1px solid rgba(0, 87, 184, 0.12);
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta,
.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #0b2957 0%, #143d78 100%);
  box-shadow: 0 18px 35px rgba(11, 41, 87, 0.24);
}

.button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-whatsapp {
  color: #ffffff;
  background: linear-gradient(135deg, #24c768 0%, #149c4a 100%);
  box-shadow: 0 18px 35px rgba(20, 156, 74, 0.28);
  border: none;
}

.nav-cta:hover,
.button:hover,
.floating-button:hover {
  transform: translateY(-2px);
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
  padding-top: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.hero-copy h1,
.section-heading h2,
.notice-card h2,
.hero-card h2 {
  margin: 0;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.service-card p,
.notice-card p,
.location-card p,
.contact-list dd {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-text {
  color: rgba(255, 255, 255, 0.86);
  max-width: 58ch;
  margin: 20px 0 0;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  flex: none;
}

.hero-points .warning {
  color: #ffffff;
  font-weight: 700;
}

.hero-card,
.service-card,
.notice-card,
.location-card,
.reviews-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
}

.hero-card-top {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(11, 41, 87, 0.1);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-card h2 {
  margin-top: 14px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--primary);
}

.contact-list {
  display: grid;
  gap: 20px;
  margin: 22px 0 0;
}

.contact-list dt {
  margin-bottom: 6px;
  color: var(--primary-dark);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
}

.section {
  padding: 28px clamp(20px, 4vw, 64px) 84px;
}

.section-heading {
  max-width: 760px;
}

.equipment-section {
  position: relative;
  width: min(1180px, calc(100% - clamp(40px, 8vw, 128px)));
  margin-top: 36px;
  margin-bottom: 72px;
  padding: clamp(30px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(11, 41, 87, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(11, 41, 87, 0.08) 0%, rgba(36, 199, 104, 0.1) 100%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(7, 29, 61, 0.12);
}

.equipment-section .section-heading {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.equipment-section .eyebrow {
  color: #149c4a;
}

.equipment-section .section-heading h2 {
  color: var(--primary-dark);
}

.service-grid,
.location-grid {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.service-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.service-card,
.reason-card,
.location-card,
.notice-card,
.reviews-card {
  padding: 24px;
}

.equipment-card {
  position: relative;
  display: grid;
  min-height: 260px;
  gap: 12px;
  padding: 26px 22px 24px;
  overflow: hidden;
  border-radius: 24px;
  border: 2px solid rgba(11, 41, 87, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 251, 0.96) 100%);
  box-shadow: 0 18px 36px rgba(7, 29, 61, 0.1);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  justify-items: center;
  align-content: start;
  text-align: center;
}

.equipment-card::before {
  content: "WhatsApp";
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #24c768 0%, #149c4a 100%);
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(20, 156, 74, 0.22);
}

.equipment-card::after {
  content: "Pedir atendimento";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  margin-top: auto;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0b2957 0%, #143d78 100%);
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(11, 41, 87, 0.2);
}

.equipment-card:hover,
.equipment-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(20, 156, 74, 0.46);
  background: #ffffff;
  box-shadow: 0 30px 62px rgba(7, 29, 61, 0.18);
  outline: none;
}

.equipment-card strong {
  color: var(--primary-dark);
  font-size: 1.28rem;
}

.equipment-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.equipment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-top: 14px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(11, 41, 87, 0.1) 0%, rgba(36, 199, 104, 0.16) 100%),
    #ffffff;
  border: 1px solid rgba(20, 156, 74, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 30px rgba(7, 29, 61, 0.12);
  transition: transform 180ms ease, background 180ms ease;
}

.equipment-card:hover .equipment-icon,
.equipment-card:focus-visible .equipment-icon {
  transform: scale(1.06);
  background:
    linear-gradient(135deg, rgba(36, 199, 104, 0.18) 0%, rgba(11, 41, 87, 0.12) 100%),
    #ffffff;
}

.equipment-icon svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 10px rgba(11, 41, 87, 0.12));
}

.reason-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  grid-column: span 3;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.reason-card:nth-child(-n + 3) {
  grid-column: span 4;
}

.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  background: linear-gradient(135deg, #eef2f7 0%, #ffffff 100%);
  border: 1px solid rgba(11, 41, 87, 0.1);
  font-size: 3rem;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 28px rgba(7, 29, 61, 0.1);
}

.reason-icon-badge {
  width: 112px;
  height: 112px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.original-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 999px;
  background: #0b2957;
  border: 3px solid #0b2957;
  box-shadow: 0 14px 28px rgba(7, 29, 61, 0.12);
  overflow: hidden;
}

.original-badge::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.original-badge-top {
  position: absolute;
  top: 16px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #ffffff;
}

.original-badge-top::before,
.original-badge-top::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 8px;
  height: 16px;
  border-radius: 999px 0 999px 0;
  background: #0b2957;
}

.original-badge-top::before {
  left: 2px;
}

.original-badge-top::after {
  right: 2px;
  transform: scaleX(-1);
}

.original-badge-band {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 122px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: #8b98ab;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.original-badge-text {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 1;
  width: 70px;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.reason-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.reason-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-card h3,
.location-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.notice-card {
  display: grid;
  gap: 10px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
}

.notice-card h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.reviews-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #eef2f7 100%);
}

.reviews-label {
  margin: 0 0 10px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.reviews-card h3 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.reviews-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.reviews-actions {
  margin-top: 0;
}

.location-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.location-card-cta {
  background: linear-gradient(135deg, #0b2957 0%, #071d3d 100%);
  color: #ffffff;
}

.location-card-cta p,
.location-card-cta h3 {
  color: inherit;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 20px;
  margin-top: 28px;
}

.map-frame,
.map-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.map-frame {
  overflow: hidden;
  min-height: 420px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map-card {
  padding: 24px;
}

.map-card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.map-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.4fr) auto;
  align-items: center;
  gap: 28px;
  padding: 28px clamp(20px, 4vw, 64px) 120px;
  color: #73829a;
  border-top: 1px solid rgba(11, 41, 87, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #f5f7fa 100%);
}

.footer > p {
  display: none;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.footer-brand-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  flex: none;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-brand-text strong {
  color: #101418;
  font-size: 1.75rem;
  line-height: 1;
  white-space: nowrap;
}

.footer-brand-text small {
  color: #6f7987;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-meta {
  text-align: center;
}

.footer-meta p {
  margin: 4px 0;
  line-height: 1.5;
}

.footer-meta p:first-child {
  color: #67758c;
  font-size: 1rem;
}

.footer-meta p:nth-child(2) {
  font-size: 0.95rem;
}

.footer-meta p:last-child {
  font-size: 0.9rem;
}

.footer-meta span {
  color: #7abf43;
  font-weight: 700;
}

.footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #ffffff;
  background: #767676;
  box-shadow: 0 12px 24px rgba(15, 30, 52, 0.14);
  transition: transform 180ms ease, background 180ms ease;
}

.footer-icon.whatsapp {
  background: linear-gradient(135deg, #24c768 0%, #149c4a 100%);
}

.footer-icon.call {
  background: linear-gradient(135deg, #0b2957 0%, #143d78 100%);
}

.footer-actions .footer-icon:last-child {
  background: linear-gradient(135deg, #0b2957 0%, #143d78 100%);
}

.footer-icon:hover {
  transform: translateY(-2px);
  background: #5f5f5f;
}

.footer-icon.whatsapp:hover {
  background: linear-gradient(135deg, #1fb55e 0%, #128741 100%);
}

.footer-icon.call:hover,
.footer-actions .footer-icon:last-child:hover {
  background: linear-gradient(135deg, #092247 0%, #113463 100%);
}

.footer-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.floating-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.floating-button.call {
  background: linear-gradient(135deg, #0b2957 0%, #143d78 100%);
}

.floating-button.whatsapp {
  background: linear-gradient(135deg, #24c768 0%, #149c4a 100%);
}

@media (max-width: 1080px) {
  .hero-content,
  .service-grid,
  .equipment-grid,
  .reasons-grid,
  .location-grid,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .reviews-card {
    display: grid;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 18px;
  }

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

  .hero-content {
    padding-top: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .floating-actions {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }

  .floating-button {
    width: 100%;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
    padding-bottom: 150px;
  }

  .footer-meta {
    text-align: left;
  }

  .footer {
    gap: 18px;
  }
}
