:root {
  --black: #090909;
  --black-soft: #141414;
  --gray-900: #1d1d1d;
  --gray-700: #4a4a4a;
  --gray-500: #777777;
  --gray-300: #d8d8d8;
  --gray-200: #e9e9e9;
  --gray-100: #f4f4f4;
  --white: #ffffff;
  --red: #e31b23;
  --red-dark: #b40f16;
  --red-soft: #fff0f1;
  --green: #25d366;
  --container: 1180px;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
  --transition: 180ms ease;
}

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

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

body {
  min-width: 320px;
  background: var(--white);
  color: var(--gray-900);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-150%);
  transition: transform var(--transition);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 9, 9, 0.92);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand-mark {
  display: inline-grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 2px solid var(--red);
  color: var(--white);
  font-size: 1rem;
  transform: skew(-8deg);
}

.brand-text {
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #e7e7e7;
  font-size: 0.95rem;
  font-weight: 650;
}

.main-nav > a:not(.button) {
  position: relative;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

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

.button-primary {
  background: var(--red);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--red-dark);
}

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

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-small {
  min-height: 42px;
  padding: 9px 16px;
  background: var(--red);
  color: var(--white);
}

.button-full {
  width: 100%;
}

.section {
  padding: 104px 0;
}

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

.section-soft {
  background: var(--gray-100);
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 78% 28%, rgba(227, 27, 35, 0.25), transparent 26%),
    linear-gradient(115deg, rgba(0, 0, 0, 0.96) 35%, rgba(0, 0, 0, 0.78)),
    repeating-linear-gradient(
      128deg,
      transparent 0,
      transparent 70px,
      rgba(255, 255, 255, 0.025) 71px,
      rgba(255, 255, 255, 0.025) 72px
    );
}

.hero-background::before {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -250px;
  border: 70px solid rgba(227, 27, 35, 0.13);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  min-height: 700px;
  align-items: center;
  gap: 72px;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  padding-block: 86px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--red);
}

.hero-description {
  max-width: 760px;
  margin-top: 26px;
  color: #d0d0d0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

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

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
  color: #dbdbdb;
  font-size: 0.93rem;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding-left: 20px;
}

.trust-list li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.hero-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(227, 27, 35, 0.14);
  color: #ff8f94;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin-top: 18px;
  font-size: 1.9rem;
  line-height: 1.15;
}

.hero-card > p {
  margin-top: 14px;
  color: #c9c9c9;
}

.hero-card-info {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.hero-card-info div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.hero-card-info span {
  color: #aaa;
}

.hero-card-info strong {
  text-align: right;
}

.text-link,
.service-card a {
  color: var(--red);
  font-weight: 850;
}

.proof-strip {
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

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

.proof-grid div {
  min-height: 130px;
  padding: 26px;
  border-right: 1px solid var(--gray-200);
}

.proof-grid div:last-child {
  border-right: 0;
}

.proof-grid strong {
  display: block;
  color: var(--red);
  font-size: 1.85rem;
  line-height: 1.1;
}

.proof-grid span {
  display: block;
  margin-top: 6px;
  color: var(--gray-700);
}

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

.section-heading h2,
.fleet-content h2,
.quote-copy h2,
.faq-intro h2,
.final-cta h2 {
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.split-heading > p,
.fleet-content > p,
.faq-intro > p,
.quote-copy > p {
  margin-top: 18px;
  color: var(--gray-700);
  font-size: 1.07rem;
}

.split-heading {
  display: grid;
  max-width: none;
  align-items: end;
  gap: 70px;
  grid-template-columns: 1fr 0.72fr;
}

.services-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  min-height: 310px;
  padding: 36px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.service-card:hover {
  border-color: rgba(227, 27, 35, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-number {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.service-card h3 {
  max-width: 430px;
  margin-top: 54px;
  font-size: 1.65rem;
  line-height: 1.15;
}

.service-card p {
  margin: 16px 0 24px;
  color: var(--gray-700);
}

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

.gallery-item {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.07);
}

.gallery-large {
  grid-row: span 2;
}

.image-placeholder {
  display: flex;
  min-height: 270px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background:
    linear-gradient(135deg, rgba(227, 27, 35, 0.88), rgba(9, 9, 9, 0.93)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 10px,
      transparent 10px,
      transparent 20px
    );
  color: var(--white);
  text-align: center;
}

.gallery-large .image-placeholder {
  min-height: 635px;
}

.image-placeholder span {
  font-size: 1.35rem;
  font-weight: 900;
}

.image-placeholder small {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-item figcaption {
  padding: 18px 20px;
  font-weight: 750;
}

.fleet-section {
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.fleet-grid {
  display: grid;
  align-items: center;
  gap: 90px;
  grid-template-columns: 1fr 0.9fr;
}

.fleet-content > p {
  color: #c2c2c2;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 34px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  position: absolute;
  top: 0.18em;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  content: "✓";
  font-size: 0.8rem;
  font-weight: 900;
}

.fleet-visual {
  position: relative;
  min-height: 470px;
}

.fleet-card {
  position: absolute;
  display: flex;
  width: 75%;
  height: 330px;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
}

.fleet-card-back {
  top: 20px;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.16);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: rotate(9deg);
}

.fleet-card-front {
  left: 10px;
  bottom: 30px;
  align-items: flex-start;
  flex-direction: column;
  padding: 42px;
  background:
    linear-gradient(145deg, rgba(227, 27, 35, 0.92), rgba(96, 5, 10, 0.98)),
    var(--red);
  box-shadow: 0 36px 80px rgba(227, 27, 35, 0.22);
  transform: rotate(-7deg);
}

.fleet-card-front strong {
  font-size: 5rem;
  line-height: 1;
}

.fleet-card-front span {
  margin-top: 14px;
  font-size: 1.25rem;
  font-weight: 800;
}

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

.benefit {
  padding: 30px;
  border-top: 3px solid var(--red);
  background: var(--gray-100);
}

.benefit > span {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.benefit h3 {
  margin-top: 34px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.benefit p {
  margin-top: 14px;
  color: var(--gray-700);
}

.testimonials .section-heading > p:last-child {
  color: #bdbdbd;
}

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

.testimonial-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.stars {
  color: #ffc847;
  letter-spacing: 0.18em;
}

.testimonial-card blockquote {
  margin-top: 26px;
  color: #efefef;
  font-size: 1.1rem;
}

.testimonial-card cite {
  display: block;
  margin-top: 26px;
  color: #9d9d9d;
  font-style: normal;
  font-weight: 750;
}




.faq-grid {
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: 0.72fr 1.28fr;
}

.accordion {
  border-top: 1px solid var(--gray-300);
}

.accordion-item {
  border-bottom: 1px solid var(--gray-300);
}

.accordion-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--gray-900);
  font-weight: 850;
  text-align: left;
}

.accordion-button span {
  color: var(--red);
  font-size: 1.5rem;
  transition: transform var(--transition);
}

.accordion-button[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.accordion-content {
  display: grid;
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease;
}

.accordion-content p {
  padding: 0 0 24px;
  color: var(--gray-700);
}

.quote-section {
  background:
    radial-gradient(circle at 12% 10%, rgba(227, 27, 35, 0.08), transparent 22%),
    var(--white);
}

.quote-grid {
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  font-weight: 800;
}

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

.quote-form {
  padding: 36px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field-group label {
  font-size: 0.92rem;
  font-weight: 850;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  border-radius: 13px;
  background: var(--white);
  color: var(--gray-900);
  outline: none;
  padding: 14px 15px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 27, 35, 0.1);
}

.field-group textarea {
  resize: vertical;
}

.form-note {
  margin-top: 12px;
  color: var(--gray-500);
  font-size: 0.8rem;
  text-align: center;
}

.final-cta {
  padding: 70px 0;
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 {
  max-width: 750px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.site-footer {
  background: #050505;
  color: #c7c7c7;
}

.footer-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  padding-block: 70px;
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin-top: 8px;
}

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

.footer-brand {
  margin-bottom: 20px;
}

.footer-grid > div:first-child p {
  max-width: 420px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8d8d8d;
  font-size: 0.88rem;
}

.whatsapp-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  color: #072b14;
  font-weight: 900;
  transition: transform var(--transition);
}

.whatsapp-floating:hover,
.whatsapp-floating:focus-visible {
  transform: translateY(-3px) scale(1.02);
}

.whatsapp-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 950;
}

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

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

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

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

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

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

  .main-nav {
    position: fixed;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(9, 9, 9, 0.98);
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 260ms ease,
      opacity 220ms ease,
      padding 220ms ease;
  }

  .main-nav.is-open {
    max-height: calc(100vh - 78px);
    padding-block: 24px 30px;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 10px 0;
  }

  .main-nav .button {
    margin-top: 6px;
  }

  .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-grid,
  .fleet-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-card {
    max-width: 620px;
  }

  .fleet-visual {
    max-width: 680px;
    min-height: 430px;
  }

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

  .faq-grid {
    gap: 50px;
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 78px 0;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 70px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

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

  .proof-grid div:nth-child(2) {
    border-right: 0;
  }

  .proof-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--gray-200);
  }

  .split-heading,
  .services-grid,
  .gallery-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 0;
  }

  .gallery-large {
    grid-row: auto;
  }

  .gallery-large .image-placeholder {
    min-height: 360px;
  }

  .fleet-card {
    width: 78%;
  }

  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid {
    gap: 36px;
  }

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

@media (max-width: 560px) {
  .header-inner {
    min-height: 70px;
  }

  .main-nav {
    top: 70px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .trust-list {
    display: grid;
    gap: 12px;
  }

  .hero-card {
    padding: 26px;
  }

  .hero-card-info div {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card-info strong {
    text-align: left;
  }

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

  .proof-grid div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--gray-200);
  }

  .services-grid,
  .benefits-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 28px;
  }

  .service-card h3 {
    margin-top: 32px;
  }

  .fleet-visual {
    min-height: 340px;
  }

  .fleet-card {
    width: 86%;
    height: 250px;
  }

  .fleet-card-front {
    padding: 28px;
  }

  .fleet-card-front strong {
    font-size: 4rem;
  }

  .quote-form {
    padding: 24px;
  }

  .whatsapp-floating {
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-floating > span:last-child {
    display: none;
  }

  .whatsapp-floating {
    padding: 8px;
  }
}


.brand-logo {
  display: block;
  height: 74px;
  width: auto;
  object-fit: contain;
}

.footer-logo {
  height: 82px;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.gallery-large img {
  min-height: 635px;
}

@media (max-width: 780px) {
  .brand-logo {
    height: 62px;
  }

  .footer-logo {
    height: 70px;
  }

  .gallery-large img {
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 52px;
  }

  .footer-logo {
    height: 62px;
  }
}


/* Galeria atualizada: artes menores e padronizadas */
.portfolio-gallery {
  width: min(100%, 1040px);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-gallery .gallery-item {
  width: 100%;
  max-width: 310px;
  justify-self: center;
  border-radius: 18px;
}

.portfolio-gallery .gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portfolio-gallery .gallery-item figcaption {
  min-height: 68px;
  display: flex;
  align-items: center;
}

/* Botões flutuantes do Instagram e WhatsApp */
.social-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  display: grid;
  gap: 12px;
}

.social-button {
  display: flex;
  width: 56px;
  height: 56px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), filter var(--transition);
}

.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
}

.social-button svg {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-button .icon-fill {
  fill: currentColor;
  stroke: none;
}

.instagram-button {
  background:
    radial-gradient(circle at 30% 105%, #ffd600 0 18%, #ff7a00 32%, transparent 55%),
    radial-gradient(circle at 10% 15%, #ff0169 0 20%, transparent 58%),
    linear-gradient(135deg, #7638fa, #d300c5 45%, #ff3040 75%, #ff9a00);
}

.whatsapp-button {
  background: #25d366;
  color: #062f17;
}

.whatsapp-button svg {
  color: #062f17;
}

@media (max-width: 900px) {
  .portfolio-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 680px;
  }
}

@media (max-width: 560px) {
  .portfolio-gallery {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .social-floating {
    right: 12px;
    bottom: 12px;
  }

  .social-button {
    width: 52px;
    height: 52px;
    min-height: 52px;
  }
}


/* ==========================================================
   AJUSTES DE NITIDEZ E ALTA RESOLUÇÃO
   ========================================================== */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
strong,
.button,
.main-nav,
.eyebrow {
  text-rendering: geometricPrecision;
}

img,
svg {
  image-rendering: auto;
}

img {
  -ms-interpolation-mode: bicubic;
}

.brand-logo {
  width: auto;
  height: 64px;
  max-width: 210px;
  object-fit: contain;
  image-rendering: auto;
}

.footer-logo {
  height: 78px;
  max-width: 250px;
}

/* Após a animação, remove a transformação para o texto voltar
   ao modo normal de renderização do navegador. */
.reveal.is-visible {
  transform: none;
  will-change: auto;
}

/* O fundo dos cartões continua inclinado, mas o texto não.
   Isso impede a rasterização/pixelização da tipografia. */
.fleet-card {
  overflow: visible;
  background: transparent;
  transform: none;
  isolation: isolate;
}

.fleet-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: 32px;
  content: "";
  backface-visibility: hidden;
}

.fleet-card-back {
  top: 20px;
  right: 0;
  border: 0;
  background: transparent;
}

.fleet-card-back::before {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  transform: rotate(9deg);
}

.fleet-card-front {
  left: 10px;
  bottom: 30px;
  align-items: flex-start;
  justify-content: center;
  padding: 42px;
  background: transparent;
  box-shadow: none;
}

.fleet-card-front::before {
  background:
    linear-gradient(145deg, rgba(227, 27, 35, 0.96), rgba(96, 5, 10, 0.99)),
    var(--red);
  box-shadow: 0 36px 80px rgba(227, 27, 35, 0.22);
  transform: rotate(-7deg);
}

.fleet-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  transform: none;
}

.fleet-card-content strong {
  color: #fff;
  font-size: 5rem;
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-rendering: geometricPrecision;
}

.fleet-card-content span {
  margin-top: 16px;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 850;
  line-height: 1.2;
  text-rendering: geometricPrecision;
}

.portfolio-gallery .gallery-item img {
  max-width: 100%;
  transform: none;
  image-rendering: auto;
}

/* WhatsApp: verde oficial e símbolo vetorial branco. */
.whatsapp-button {
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: #25d366;
  color: #fff;
}

.whatsapp-button svg,
.whatsapp-button .whatsapp-official-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  fill: currentColor;
  stroke: none;
}

.instagram-button {
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.social-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .brand-logo {
    height: 56px;
    max-width: 185px;
  }

  .footer-logo {
    height: 70px;
    max-width: 225px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    height: 49px;
    max-width: 165px;
  }

  .footer-logo {
    height: 62px;
    max-width: 205px;
  }

  .fleet-card-front {
    padding: 28px;
  }

  .fleet-card-content strong {
    font-size: 4rem;
  }

  .fleet-card-content span {
    font-size: 1.08rem;
  }
}


/* Foco principal em decoração; automotivo como seção secundária */
#automotivo {
  padding-block: 78px;
}

#automotivo .fleet-content h2 {
  font-size: clamp(2rem, 3.4vw, 3.45rem);
}

#automotivo .fleet-visual {
  min-height: 390px;
}

#automotivo .fleet-card {
  height: 285px;
}

.brand-logo {
  background: transparent;
}
