:root {
  --black: #07080a;
  --black-soft: #0d0f12;
  --surface: #13161a;
  --surface-2: #1a1e23;
  --yellow: #ffc400;
  --yellow-dark: #e8aa00;
  --white: #f7f7f5;
  --gray-100: #ececea;
  --gray-300: #b7bac0;
  --gray-500: #7e838c;
  --line: rgba(255, 255, 255, 0.12);
  --green: #25d366;
  --container: 1200px;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  min-width: 320px;
  color: var(--white);
  background: var(--black);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--black);
  background: var(--yellow);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.03;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.15rem, 4.5vw, 4.25rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.7rem;
  letter-spacing: -0.025em;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}

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

.button svg {
  width: 20px;
  fill: currentColor;
}

.button--primary {
  color: #111;
  background: var(--yellow);
  box-shadow: 0 10px 30px rgba(255, 196, 0, 0.18);
}

.button--primary:hover {
  background: #ffd129;
}

.button--ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.button--ghost:hover,
.button--outline:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.button--dark {
  color: var(--white);
  background: var(--black);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.header.is-scrolled,
.header.menu-active {
  background: rgba(7, 8, 10, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
}

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

.brand__logo {
  width: 118px;
  height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav > a:not(.nav__cta) {
  color: var(--gray-100);
  font-size: 0.8rem;
  font-weight: 650;
  transition: color var(--transition);
}

.nav > a:not(.nav__cta):hover {
  color: var(--yellow);
}

.nav__cta {
  padding: 9px 14px;
  color: var(--black);
  background: var(--yellow);
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* Hero */
.hero {
  position: relative;
  min-height: min(720px, 75vw);
  overflow: hidden;
  background: #05060a;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background: url("assets/images/hero-suportcar.png") center / cover no-repeat;
  filter: brightness(1.16) saturate(1.08);
  transform: scale(1.01);
  animation: hero-entry 1.2s ease both;
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, transparent 24%),
    linear-gradient(0deg, rgba(5, 6, 8, 0.78) 0%, transparent 27%);
}

.hero__mobile-content {
  position: absolute;
  z-index: 2;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero__actions {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  width: 100%;
}

.hero__actions-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero__lead {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__lead div {
  display: flex;
  flex-direction: column;
}

.hero__lead strong {
  font-size: 1rem;
}

.hero__lead small {
  color: var(--gray-300);
}

.status-dot {
  position: relative;
  width: 11px;
  height: 11px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.12);
}

.status-dot::after {
  position: absolute;
  inset: -6px;
  content: "";
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 50%;
  animation: pulse 2s ease-out infinite;
}

.hero__buttons {
  display: flex;
  gap: 10px;
  margin-right: 152px;
}

/* Diferenciais */
.trust-strip {
  position: relative;
  z-index: 4;
  background: var(--yellow);
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 115px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  color: var(--black);
  border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.trust-item:first-child {
  border-left: 1px solid rgba(0, 0, 0, 0.18);
}

.trust-item strong {
  font-size: 1.04rem;
}

.trust-item span {
  font-size: 0.8rem;
  opacity: 0.72;
}

/* Serviços */
.services {
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 196, 0, 0.08), transparent 25%),
    var(--black-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.section-heading > p {
  max-width: 440px;
  color: var(--gray-300);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(255, 196, 0, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
}

.service-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.035);
}

.service-card__body {
  position: relative;
  padding: 26px;
}

.service-card__number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255, 255, 255, 0.13);
  font-size: 1.4rem;
  font-weight: 900;
}

.service-card__body h3 {
  margin-bottom: 12px;
  padding-right: 42px;
}

.service-card__body p {
  min-height: 76px;
  color: var(--gray-300);
  font-size: 0.93rem;
}

.service-card__link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card__link span,
.text-link span {
  transition: transform var(--transition);
}

.service-card__link:hover span,
.text-link:hover span {
  transform: translateX(4px);
}

.service-card--cta {
  display: flex;
  min-height: 100%;
  justify-content: space-between;
  flex-direction: column;
  padding: 34px;
  color: var(--black);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 55%),
    var(--yellow);
}

.service-card--cta:hover {
  border-color: var(--yellow);
}

.service-card--cta h3 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.service-card--cta p {
  margin-bottom: 32px;
  color: rgba(0, 0, 0, 0.7);
}

.service-card__tag {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Banner Alinhamento 3D */
.promo-banner {
  overflow: hidden;
  background: #050607;
}

.promo-banner__link {
  display: block;
  width: 100%;
}

.promo-banner__link img {
  width: 100%;
  height: auto;
  transition: filter var(--transition), transform 500ms ease;
}

.promo-banner__link:hover img {
  filter: brightness(1.06);
  transform: scale(1.008);
}

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

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
}

.about__media {
  position: relative;
}

.about__media img {
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 18px 18px 0 var(--yellow);
}

.about__badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  display: flex;
  padding: 15px 18px;
  color: var(--white);
  background: rgba(7, 8, 10, 0.88);
  border: 1px solid var(--line);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  flex-direction: column;
}

.about__badge strong {
  color: var(--yellow);
  font-size: 1.2rem;
}

.about__badge span {
  font-size: 0.76rem;
}

.about__content {
  color: var(--black);
}

.about__content h2 {
  margin-bottom: 24px;
}

.about__content > p:not(.eyebrow) {
  margin-bottom: 14px;
  color: #52565d;
}

.about__checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.about__checks span {
  position: relative;
  padding-left: 24px;
  color: #33363b;
  font-size: 0.9rem;
  font-weight: 700;
}

.about__checks span::before {
  position: absolute;
  left: 0;
  color: var(--yellow-dark);
  content: "✓";
  font-weight: 900;
}

.about .text-link {
  color: #9b7200;
}

/* CTA */
.cta-section {
  padding: 0 0 112px;
  background: var(--white);
}

.cta-section__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 45px 50px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(255, 196, 0, 0.08), transparent 55%),
    var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-section__box h2 {
  margin-bottom: 8px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.cta-section__box > div > p:last-child {
  color: var(--gray-300);
}

/* Localização */
.location {
  background:
    radial-gradient(circle at 15% 35%, rgba(255, 196, 0, 0.07), transparent 30%),
    var(--black-soft);
}

.location__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.location__content h2 {
  margin-bottom: 24px;
}

.location__address {
  margin-bottom: 18px;
  color: var(--gray-300);
  font-size: 1.05rem;
}

.location__contact {
  display: flex;
  margin-bottom: 30px;
  flex-direction: column;
}

.location__contact a {
  width: fit-content;
  color: var(--white);
  font-weight: 750;
}

.location__contact a:hover {
  color: var(--yellow);
}

.location__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.location__media img {
  height: auto;
  object-fit: contain;
}

/* Rodapé */
.footer {
  position: relative;
  padding-top: 0;
  background:
    radial-gradient(circle at 80% 0, rgba(255, 196, 0, 0.08), transparent 26%),
    #050607;
  border-top: 1px solid rgba(255, 196, 0, 0.32);
}

.footer__visual {
  display: block;
  width: 100%;
}

.footer__visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer__mobile {
  display: none;
}

.footer__logo {
  width: 180px;
  height: auto;
  object-fit: contain;
}

.footer__mobile > p {
  max-width: 340px;
  color: var(--gray-300);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--gray-500);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.footer__bottom a:hover {
  color: var(--yellow);
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  color: #fff;
  background: var(--green);
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
  font-size: 0.84rem;
  font-weight: 850;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.28);
  transform: translateY(-3px);
}

.whatsapp-float svg {
  width: 25px;
  fill: currentColor;
}

/* Animações */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@keyframes hero-entry {
  from { opacity: 0; transform: scale(1.045); }
  to { opacity: 1; transform: scale(1.01); }
}

@keyframes pulse {
  from { opacity: 1; transform: scale(0.8); }
  to { opacity: 0; transform: scale(1.5); }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}

@media (max-width: 980px) {
  .section {
    padding: 88px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero__buttons {
    margin-right: 0;
  }

  .nav {
    position: fixed;
    top: 68px;
    right: 20px;
    left: 20px;
    display: flex;
    max-height: 0;
    align-items: stretch;
    gap: 0;
    padding: 0 18px;
    overflow: hidden;
    background: rgba(10, 11, 14, 0.98);
    border: 1px solid transparent;
    border-radius: 14px;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 350ms ease, padding 350ms ease, opacity 250ms ease, transform 250ms ease, border-color 250ms ease;
    flex-direction: column;
  }

  .nav.is-open {
    max-height: 430px;
    padding: 12px 18px 18px;
    border-color: var(--line);
    box-shadow: var(--shadow);
    opacity: 1;
    transform: translateY(0);
  }

  .nav > a:not(.nav__cta) {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    margin-top: 12px;
    padding: 15px;
    text-align: center;
  }

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

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about__grid,
  .location__grid {
    gap: 44px;
  }

}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .header__inner {
    min-height: 64px;
  }

  .nav {
    top: 64px;
    right: 15px;
    left: 15px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__media {
    background-image: url("assets/images/banner-speedmax.png");
    background-position: 68% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(3, 4, 7, 0.95) 0%, rgba(3, 4, 7, 0.64) 68%, rgba(3, 4, 7, 0.25) 100%),
      linear-gradient(0deg, rgba(3, 4, 7, 0.98) 0%, transparent 45%),
      linear-gradient(180deg, rgba(3, 4, 7, 0.76) 0%, transparent 30%);
  }

  .hero__mobile-content {
    position: relative;
    width: min(calc(100% - 30px), var(--container));
    height: auto;
    margin-inline: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    padding-top: 160px;
  }

  .hero__mobile-content h1 {
    max-width: 520px;
    font-size: clamp(2.65rem, 12vw, 4.6rem);
  }

  .hero__mobile-content > p:last-child {
    max-width: 420px;
    margin-top: 18px;
    color: var(--gray-300);
  }

  .hero__actions-inner {
    align-items: stretch;
    padding: 24px 0 20px;
    flex-direction: column;
  }

  .hero__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    min-height: 105px;
    padding: 18px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  }

  .services__grid,
  .about__grid,
  .location__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    gap: 16px;
  }

  .service-card__body p {
    min-height: auto;
  }

  .about__media {
    margin-right: 16px;
  }

  .about__media img {
    box-shadow: 12px 12px 0 var(--yellow);
  }

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

  .cta-section__box {
    align-items: flex-start;
    padding: 34px 26px;
    flex-direction: column;
  }

  .location__media {
    grid-row: 1;
  }

  .location__media img {
    width: 100%;
    min-height: 0;
  }

  .footer__visual {
    display: none;
  }

  .footer__mobile {
    display: grid;
    gap: 22px;
    padding-top: 58px;
    padding-bottom: 48px;
  }

  .footer__mobile-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .footer__mobile-contact a {
    display: flex;
    min-height: 104px;
    justify-content: center;
    flex-direction: column;
    padding: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .footer__mobile-contact strong {
    margin-bottom: 5px;
    color: var(--yellow);
    font-size: 0.74rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  .footer__mobile-contact span {
    color: var(--gray-300);
    font-size: 0.82rem;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 72px 0;
  }

  .brand__logo {
    width: 104px;
    height: 52px;
  }

  .hero {
    min-height: 680px;
  }

  .hero__mobile-content {
    padding-top: 128px;
  }

  .hero__buttons {
    grid-template-columns: 1fr;
  }

  .hero__lead small {
    font-size: 0.76rem;
  }

  .trust-item strong {
    font-size: 0.9rem;
  }

  .trust-item span {
    font-size: 0.72rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card--cta {
    min-height: 360px;
  }

  .about__checks {
    grid-template-columns: 1fr;
  }

  .footer__mobile-contact {
    grid-template-columns: 1fr;
  }

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

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
    justify-content: center;
    padding: 0;
    border-width: 2px;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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