:root {
  --blue: #1a6cb8;
  --blue-deep: #0e3f78;
  --blue-ink: #123052;
  --sky: #e8f3fb;
  --orange: #e86c18;
  --orange-deep: #c4530c;
  --green: #3f8f34;
  --text: #1b3148;
  --muted: #5a6c7e;
  --line: #e2ebf3;
  --bg: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(14, 63, 120, 0.08);
  --radius: 20px;
  --header: 4.5rem;
  --space: 1.25rem;
  --max: 1120px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--blue-deep);
}

a:hover {
  color: var(--orange-deep);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--blue-ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  color: var(--blue-ink);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.skip:focus {
  top: 0.75rem;
}

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

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(14, 63, 120, 0.06);
}

.brand-line {
  height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 42%, var(--green) 42% 68%, var(--orange) 68%);
}

.header-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  order: 1;
}

.nav-toggle {
  order: 2;
}

.header-cta {
  order: 3;
}

.logo img {
  width: 4.4rem;
  height: 4.4rem;
}

.nav-toggle,
.header-cta,
.btn,
.filter {
  font-family: var(--display);
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 14px;
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: inset 0 0 0 1.5px #d5e2ee;
  display: grid;
  place-items: center;
}

.nav-toggle .bars {
  width: 1.15rem;
  height: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle .bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: none;
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 108, 24, 0.22);
}

.header-cta:hover,
.btn:hover {
  background: var(--orange-deep);
  color: #fff;
}

.header-cta {
  padding-inline: 0.9rem;
  min-height: 2.6rem;
  font-size: 0.92rem;
}

.js .nav {
  display: none;
}

.nav.is-open,
.nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.15rem 0 0.9rem;
  padding: 0.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(14, 63, 120, 0.12);
}

.js .nav.is-open {
  display: flex;
}

.nav {
  flex: 1 0 100%;
  order: 4;
}

.nav a {
  text-decoration: none;
  color: var(--blue-ink);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
}

.nav a.is-current {
  background: var(--sky);
  color: var(--blue-deep);
}

.hero {
  background:
    radial-gradient(circle at 100% 0%, rgba(63, 143, 52, 0.35), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(232, 108, 24, 0.32), transparent 34%),
    linear-gradient(165deg, #0d4a86 0%, #1a6cb8 58%, #145f9e 100%);
  color: var(--white);
  padding: 2.4rem 0 2.8rem;
}

.hero h1,
.hero p {
  color: var(--white);
}

.eyebrow {
  margin-bottom: 0.7rem;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffe1c4;
}

.hero h1 {
  font-size: clamp(2.2rem, 9vw, 4rem);
  margin-bottom: 0.8rem;
  max-width: 12ch;
}

.lead {
  font-size: 1.12rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--blue-deep);
}

.hero-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.hero-visual {
  margin-top: 1.8rem;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(100%, 22rem);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.16),
    0 18px 40px rgba(6, 28, 58, 0.28);
}

.trust {
  display: grid;
  gap: 0.8rem;
  margin-top: -1.4rem;
  position: relative;
  z-index: 2;
}

.trust article {
  background: var(--white);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow);
}

.trust h2 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.trust p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 3.2rem 0;
}

.section h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 0.55rem;
}

.section-intro {
  max-width: 40rem;
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.filters {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.filter {
  flex: 0 0 auto;
  min-height: 2.6rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.filter.is-active {
  background: var(--blue-deep);
  color: var(--white);
  box-shadow: none;
}

.filter-status {
  min-height: 1.4rem;
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.catalog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card[hidden] {
  display: none !important;
}

.card-media {
  position: relative;
  background: linear-gradient(#fff, #f3f7fb);
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1rem 1.1rem;
  flex: 1;
}

.tag {
  align-self: flex-start;
  margin: 0;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-agua {
  background: #e5f6ea;
  color: var(--green);
}

.tag-acessorios {
  background: #fff1e6;
  color: var(--orange-deep);
}

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

.card p {
  margin: 0;
  color: var(--muted);
}

.card .btn {
  margin-top: auto;
  width: 100%;
}

.about {
  background: var(--white);
}

.about-grid,
.contact-grid {
  display: grid;
  gap: 1.2rem;
}

.quote {
  font-size: 1.2rem;
  color: var(--blue-ink);
}

.address {
  font-style: normal;
  margin-bottom: 1rem;
}

.address strong {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
}

.map {
  border: 0;
  width: 100%;
  min-height: 280px;
  border-radius: var(--radius);
  background: var(--sky);
}

.schedule {
  background:
    linear-gradient(160deg, rgba(14, 63, 120, 0.94), rgba(26, 108, 184, 0.92)),
    url("../imagens/entregador-supergasbras.jpg") center / cover;
  color: var(--white);
}

.schedule h2,
.schedule p {
  color: var(--white);
}

.schedule .btn {
  background: var(--white);
  color: var(--blue-deep);
  box-shadow: none;
}

.schedule .btn:hover {
  background: #ffe7d2;
  color: var(--blue-ink);
}

.faq details {
  background: var(--white);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  box-shadow: var(--shadow);
}

.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue-ink);
}

.faq details p {
  margin: 0.7rem 0 0.2rem;
  color: var(--muted);
}

.footer {
  background: var(--blue-ink);
  color: #d5e4f2;
  padding: 2.4rem 0 6rem;
}

.footer a {
  color: var(--white);
}

.footer h2 {
  color: var(--white);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

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

.footer li + li {
  margin-top: 0.35rem;
}

.footer-logo {
  width: 5.5rem;
  height: 5.5rem;
  background: var(--white);
  border-radius: 50%;
}

.legal {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  animation: wa-pulse 2.4s ease-out infinite;
}

.wa-float img {
  width: 32px;
  height: 32px;
  max-width: none;
  display: block;
  object-fit: contain;
}

.wa-float:hover {
  background: #1ebe5a;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .trust,
  .catalog,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog {
    gap: 1.15rem;
  }

  .hero-visual img {
    width: 26rem;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .js .nav,
  .js .nav.is-open,
  .nav {
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    align-items: center;
    order: 2;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav a {
    border: 0;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-size: 1rem;
  }

  .nav a.is-current,
  .nav a:hover {
    background: var(--sky);
    color: var(--blue-deep);
  }

  .header-cta {
    order: 3;
    margin-left: 0.35rem;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2rem;
  }

  .hero-visual {
    margin-top: 0;
  }

  .trust,
  .catalog {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.8fr;
  }

  .footer {
    padding-bottom: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .header,
  .wa-float,
  .filters,
  .btn,
  .header-cta {
    display: none !important;
  }

  body {
    background: white;
  }
}
