:root {
  --black: #07090d;
  --black-2: #10141c;
  --black-3: #171c26;
  --white: #ffffff;
  --muted: #b8c0cc;
  --muted-dark: #5f6a78;
  --light: #f5f6f8;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(7, 9, 13, 0.1);
  --red: #ef4c55;
  --red-2: #ff747c;
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: rgba(7, 9, 13, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  width: var(--container);
  margin: 0 auto;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo-frame {
  width: 86px;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.42));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:not(.btn) {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.04) contrast(1.08) brightness(0.92);
  transform: scale(1.03);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 75% 25%, rgba(239, 76, 85, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(7, 9, 13, 0.94) 0%, rgba(7, 9, 13, 0.78) 45%, rgba(7, 9, 13, 0.48) 100%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.18), rgba(7, 9, 13, 0.95));
}

.hero-media {
  z-index: -2;
}

.hero-content {
  max-width: 860px;
}

.hero-logo-badge {
  width: 132px;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.48));
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 900;
  margin-bottom: 24px;
}

.hero p {
  max-width: 690px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 34px;
}

.hero-actions,
.cta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--red), var(--red-2));
  box-shadow: 0 18px 45px rgba(239, 76, 85, 0.34);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.btn-small {
  min-height: 44px;
  padding: 0 16px;
  color: var(--black);
  background: var(--white);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 62px;
  max-width: 780px;
}

.hero-cards article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-cards strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--white);
}

.hero-cards span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.section {
  padding: 112px 0;
  background: var(--black);
}

.section-light {
  color: var(--black);
  background: var(--light);
}

.section-dark {
  background:
    radial-gradient(circle at 15% 15%, rgba(239, 76, 85, 0.18), transparent 30%),
    var(--black-2);
}

.two-columns,
.contact-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2,
.cta-card h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.2rem);
  font-weight: 900;
  margin-bottom: 22px;
}

.section-copy p,
.section-heading p,
.contact-copy p,
.cta-card p {
  color: var(--muted-dark);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.section:not(.section-light) .section-heading p,
.section-dark .section-heading p,
.cta-card p {
  color: rgba(255, 255, 255, 0.68);
}

.story-card {
  position: relative;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 30px 90px rgba(7, 9, 13, 0.13);
  overflow: hidden;
}

.story-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(239, 76, 85, 0.13);
}

.story-card-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 38px;
}

.story-card-header span {
  color: var(--muted-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.story-card-header strong {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.82;
  letter-spacing: -0.08em;
  color: var(--red);
}

.story-card h3 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.story-card p {
  color: var(--muted-dark);
  margin-bottom: 24px;
}

.story-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.story-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.story-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(239, 76, 85, 0.12);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

#servicos {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(239, 76, 85, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(7, 9, 13, 0.92), rgba(16, 20, 28, 0.98));
}

#servicos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/bikes-penduradas.jpeg") center 42% / cover no-repeat;
  opacity: 0.13;
  filter: grayscale(0.25) contrast(1.08);
}

#servicos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.74), rgba(7, 9, 13, 0.96));
}

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

.service-grid,
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.audience-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.audience-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239, 76, 85, 0.5);
  background: linear-gradient(180deg, rgba(239, 76, 85, 0.16), rgba(255, 255, 255, 0.045));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  opacity: 0.9;
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 18px;
  font-size: 1.7rem;
  background: rgba(239, 76, 85, 0.14);
  border: 1px solid rgba(239, 76, 85, 0.24);
}

.service-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--red-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3,
.audience-card h3 {
  font-size: 1.48rem;
  margin-bottom: 14px;
}

.service-card p,
.audience-card p {
  color: var(--muted);
}

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

.audience-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.audience-card span {
  color: var(--red-2);
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 2.5rem;
}

.cta-section {
  padding: 0 0 112px;
  background: var(--black-2);
}

.cta-card {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  padding: 46px;
  border: 1px solid rgba(239, 76, 85, 0.24);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(90deg, rgba(7, 9, 13, 0.96) 0%, rgba(7, 9, 13, 0.88) 54%, rgba(7, 9, 13, 0.62) 100%),
    url("assets/fachada.png") center 48% / cover no-repeat;
  box-shadow: var(--shadow);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 18%, rgba(239, 76, 85, 0.28), transparent 34%);
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card > div {
  max-width: 680px;
}

.contact-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
  box-shadow: 0 30px 90px rgba(7, 9, 13, 0.13);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0;
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
  display: inline-block;
  color: var(--black);
  font-size: 1rem;
  font-weight: 800;
}

.contact-list a:hover {
  color: var(--red);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: var(--black);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.92rem;
}

.footer-brand .brand-logo-frame {
  width: 78px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--white);
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--red-2);
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 40;
  border: 0;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.whatsapp-float {
  right: 22px;
  bottom: 22px;
  padding: 16px 20px;
  border-radius: 999px;
  color: var(--black);
  background: linear-gradient(135deg, var(--red), var(--red-2));
}

.back-to-top {
  right: 22px;
  bottom: 86px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-gallery {
  color: var(--black);
  background:
    linear-gradient(180deg, var(--white), var(--light));
}

.section-gallery .section-heading p {
  color: var(--muted-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  grid-column: span 4;
  min-height: 300px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--black);
  box-shadow: 0 24px 70px rgba(7, 9, 13, 0.18);
  cursor: zoom-in;
  isolation: isolate;
}

.gallery-card-large {
  grid-column: span 6;
  min-height: 390px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(7, 9, 13, 0.78));
}

.gallery-card span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: left;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.gallery-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.06);
}

.gallery-card:focus-visible,
.lightbox-close:focus-visible,
.menu-toggle:focus-visible,
.btn:focus-visible,
.back-to-top:focus-visible {
  outline: 3px solid rgba(255, 116, 124, 0.78);
  outline-offset: 4px;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 52px);
  background: rgba(7, 9, 13, 0.9);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(100%, 1120px);
  max-height: 82vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--black);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  backdrop-filter: blur(12px);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 20px;
    right: 20px;
    top: 92px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(7, 9, 13, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
  }

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

  .nav-links a {
    padding: 14px;
  }

  .nav-links .btn {
    margin-top: 6px;
  }

  .hero-cards,
  .service-grid,
  .audience-grid,
  .two-columns,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-card,
  .gallery-card-large {
    grid-column: span 6;
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1160px);
    --radius: 22px;
  }

  .navbar {
    height: 76px;
  }

  .brand-logo-frame {
    width: 72px;
  }

  .hero {
    min-height: auto;
    padding: 128px 0 56px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 85% 18%, rgba(239, 76, 85, 0.26), transparent 40%),
      linear-gradient(180deg, rgba(7, 9, 13, 0.86) 0%, rgba(7, 9, 13, 0.9) 54%, rgba(7, 9, 13, 0.97) 100%);
  }

  .hero-actions .btn,
  .cta-card .btn {
    width: 100%;
  }

  .hero-cards,
  .service-grid,
  .audience-grid,
  .two-columns,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-logo-badge {
    width: 112px;
    margin-bottom: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .cta-section {
    padding-bottom: 76px;
  }

  .story-card,
  .contact-card,
  .cta-card,
  .service-card,
  .audience-card {
    padding: 24px;
  }

  .hero-cards {
    margin-top: 44px;
  }

  .gallery-grid {
    gap: 14px;
  }

  .gallery-card,
  .gallery-card-large {
    grid-column: 1 / -1;
    min-height: 270px;
  }

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

  .whatsapp-float {
    left: 14px;
    right: 14px;
    text-align: center;
  }

  .back-to-top {
    right: 16px;
    bottom: 86px;
  }

  .lightbox {
    padding: 72px 14px 28px;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
