/* Variaveis */

:root {
  --amarelo-logo: #d6d000;
  --amarelo-quente: #e29322;
  --preto-logo: #171111;
  --branco-logo: #e6fc6e;
  --vidro: rgba(10, 10, 10, 0.62);
}

/* Reset / Base */

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

html {
  scroll-behavior: smooth;
}

/* Scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #ccff00 #000000;
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #000000;
}

*::-webkit-scrollbar-thumb {
  background: #ccff00;
  border-radius: 999px;
  border: 3px solid #000000;
}

*::-webkit-scrollbar-thumb:hover {
  background: #e6ff4a;
}

body {
  min-height: 100vh;
  overflow-x: hidden;   
  font-family: "Montserrat", Arial, sans-serif;
  color: #ffffff;
}

/* Backgrounds das paginas */

body.home-page {
  background: url("img/CAR00.webp?v=20260528a") center/cover fixed no-repeat;
}

body.home-page::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 34vh;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
}

body.historia-page {
  position: relative;
  background: url("img/asfaltonovo.webp?v=20260529-5") center center / cover fixed no-repeat;
}

body.historia-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.12) 48%, rgba(0, 0, 0, 0.72) 100%);
}

body.sobre-page {
  background: url("img/car19.webp") center/cover fixed no-repeat;
}

body.eventos-page {
  background: url("img/car7.webp") center/cover fixed no-repeat;
}

body.contato-page {
  background: url("img/car95.webp") center/cover fixed no-repeat;
}

/* Navbar */

.navbar {
  position: fixed;
  top: 8px;
  left: 50%;
  width: min(56vw, 960px);
  aspect-ratio: 1920 / 267;
  transform: translateX(-50%);
  background: url("img/menufarol.webp?v=20260529a") center / contain no-repeat;
  z-index: 999;
}

.historia-page .navbar {
  z-index: 5000;
}

.navbar nav {
  position: absolute;
  inset: 0;
}

.navbar-secret-sound {
  position: absolute;
  top: 20%;
  left: 1.8%;
  width: 17%;
  height: 60%;
  background: transparent;
  border: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.navbar-secret-horn {
  position: absolute;
  top: 20%;
  right: 1.8%;
  width: 17%;
  height: 60%;
  background: transparent;
  border: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.navbar-secret-sound:focus-visible {
  opacity: 1;
  outline: 3px solid rgba(214, 208, 0, 0.8);
  outline-offset: 3px;
}

.navbar-secret-horn:focus-visible {
  opacity: 1;
  outline: 3px solid rgba(214, 208, 0, 0.8);
  outline-offset: 3px;
}

.navbar::before,
.navbar::after {
  content: "";
  position: absolute;
  top: 20%;
  width: 17%;
  height: 60%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.58) 0 13%, rgba(255, 226, 117, 0.42) 18%, rgba(255, 180, 39, 0.14) 33%, transparent 50%),
    radial-gradient(circle at 78% 50%, rgba(255, 255, 255, 0.58) 0 13%, rgba(255, 226, 117, 0.42) 18%, rgba(255, 180, 39, 0.14) 33%, transparent 50%);
  mix-blend-mode: screen;
  filter: blur(1px) drop-shadow(0 0 10px rgba(255, 210, 72, 0.48));
  opacity: 0.08;
  animation: farolFalhando 1.2s infinite;
}

.navbar::before {
  left: 1.8%;
}

.navbar::after {
  right: 1.8%;
  animation-delay: 0.18s;
}

.navbar nav a {
  position: absolute;
  top: 27%;
  width: 7.2%;
  height: 47%;
  transform: translateX(-50%);
  display: block;
  color: transparent;
  font-size: 0;
  text-decoration: none;
  border-radius: 999px;
}

.navbar nav a:nth-child(1) {
  left: 28.65%;
}

.navbar nav a:nth-child(2) {
  left: 39.48%;
}

.navbar nav a:nth-child(3) {
  left: 50.16%;
}

.navbar nav a:nth-child(4) {
  left: 60.73%;
}

.navbar nav a:nth-child(5) {
  left: 70.99%;
}

.contato-page .navbar {
  width: min(42vw, 720px);
  top: 12px;
  left: 61%;
}

@keyframes farolFalhando {
  0%, 8%, 13%, 28%, 44%, 62%, 100% {
    opacity: 0.08;
  }

  10%, 12%, 31%, 34%, 48%, 52%, 70% {
    opacity: 0.48;
  }

  35%, 38%, 54%, 58%, 76%, 82% {
    opacity: 0.02;
  }
}

/* Home */

.home {
  position: relative;
  min-height: 100vh;
  width: 100%;
}

.home-main {
  position: relative;
  z-index: 1;
}

.home-hero-spacer {
  height: 100vh;
}

.home-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 45;
  transform: translateX(-50%);
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 12px 20px;
  border: 1px solid rgba(204, 255, 0, 0.72);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  backdrop-filter: blur(8px);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.58),
    0 0 22px rgba(204, 255, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.home-scroll-cue:hover {
  transform: translateX(-50%) translateY(-4px);
  border-color: #ccff00;
  background: rgba(0, 0, 0, 0.78);
}

.home-scroll-cue span {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.82;
}

.home-scroll-cue strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
  color: #ccff00;
}

.home-mobile-callout {
  display: none;
}

.foundation {
  width: 100%;
  padding: 84px 8% 120px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(7px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.foundation h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 0.95;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  color: #ccff00;
  max-width: 22ch;
  margin-inline: auto;
  text-shadow:
    4px 4px 0 #000000,
    8px 8px 0 rgba(0, 0, 0, 0.62),
    0 18px 34px rgba(0, 0, 0, 0.92),
    0 0 16px rgba(204, 255, 0, 0.28);
  margin-bottom: 10px;
}

.foundation-subtitle {
  max-width: 900px;
  margin: 0 auto 26px;
  text-align: center;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
  letter-spacing: 0.2px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-shadow:
    2px 2px 0 #000000,
    0 10px 20px rgba(0, 0, 0, 0.88);
}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.foundation-card {
  position: relative;
  background: #f6f6f6;
  color: #171111;
  border-radius: 14px;
  padding: 14px 14px 18px;
  border: 2px solid var(--amarelo-logo);
  overflow: hidden;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.foundation-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120px 90px at 12% 18%, rgba(176, 84, 18, 0.42), transparent 62%),
    radial-gradient(140px 110px at 88% 22%, rgba(141, 63, 13, 0.34), transparent 66%),
    radial-gradient(180px 140px at 78% 86%, rgba(199, 112, 28, 0.28), transparent 70%),
    radial-gradient(220px 160px at 18% 86%, rgba(120, 54, 12, 0.22), transparent 72%),
    repeating-linear-gradient(135deg, rgba(120, 54, 12, 0.06) 0 6px, transparent 6px 14px);
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.foundation-card:nth-child(2)::before {
  background-position: 14px -10px, -10px 12px, 0 0, 0 0, 0 0;
  opacity: 0.8;
}

.foundation-card:nth-child(3)::before {
  background-position: -18px 8px, 18px -14px, 0 0, 0 0, 0 0;
  opacity: 0.78;
}

.foundation-card:nth-child(4)::before {
  background-position: 10px 16px, -16px -8px, 0 0, 0 0, 0 0;
  opacity: 0.82;
}

.foundation-photo,
.foundation-caption {
  position: relative;
  z-index: 1;
}

.foundation-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

.foundation-photo {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  background: #101010;
}

.foundation-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 1100px) {
  .foundation-photo {
    height: 320px;
  }
}

.foundation-caption {
  padding-top: 12px;
  text-align: center;
}

.foundation-caption h3 {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.foundation-caption p {
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.82;
}

.home-history-hotspot {
  position: fixed;
  left: 16.8vw;
  top: 71.3vh;
  width: 14.8vw;
  height: 5.1vh;
  min-width: 230px;
  min-height: 44px;
  z-index: 40;
  display: block;
  border-radius: 8px;
  font-size: 0;
  color: transparent;
  text-decoration: none;
}

.home-intro-hotspot {
  position: absolute;
  left: 8.7vw;
  top: 80.8vh;
  width: 8.6vw;
  height: 5.8vh;
  min-width: 120px;
  min-height: 46px;
  z-index: 41;
  display: block;
  border-radius: 8px;
  color: transparent;
  font-size: 0;
  text-decoration: none;
}

html.skip-intro #intro {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.foundation:target {
  scroll-margin-top: 110px;
}

.foundation-card:focus-within {
  outline: 3px solid rgba(214, 208, 0, 0.75);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .foundation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .foundation {
    padding: 72px 6% 96px;
  }

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

.home-intro,
.hero {
  position: relative;
  min-height: 100vh;
  padding: 92px 8% 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.home-intro {
  justify-content: flex-start;
}

.historia-page .hero {
  padding-top: 120px;
  justify-content: center;
  min-height: 92vh;
}

.historia-page .hero::after {
  content: "";
  position: absolute;
  left: 6%;
  top: 18%;
  width: min(680px, 52vw);
  height: 58%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 45%, rgba(0, 0, 0, 0.42), transparent 70%);
}

.home-intro h1,
.hero h1 {
  max-width: 700px;
  color: #dfe222;
  font-family: "Anton", sans-serif;
  font-size: 90px;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow:
    4px 4px 0 #171111,
    0 10px 24px rgba(0, 0, 0, 0.9),
    0 0 22px rgba(223, 226, 34, 0.35);
  z-index: 2;
}

.historia-page .hero h1 {
  max-width: 760px;
  font-size: clamp(72px, 7vw, 126px);
}

.home-intro h1 {
  margin-top: auto;
}

.home-intro p,
.hero p {
  max-width: 500px;
  margin-top: 25px;
  font-size: 28px;
  line-height: 1.3;
  z-index: 2;
}

.historia-page .hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 30px;
  text-shadow:
    0 4px 16px rgba(0, 0, 0, 0.86),
    0 0 18px rgba(223, 226, 34, 0.12);
}

.home-intro p {
  position: absolute;
  top: 168px;
  left: 128px;
  max-width: min(560px, calc(100vw - 180px));
  margin: 0;
  color: #dfe222;
  text-shadow:
    0 8px 22px rgba(0, 0, 0, 0.7),
    0 0 16px rgba(223, 226, 34, 0.2);
}

.scroll-btn {
  width: max-content;
  margin-top: 40px;
  padding: 15px 28px;
  border-radius: 999px;
  background: #dfe222;
  color: #2b1a0f;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.3s ease;
  z-index: 2;
}

.historia-page .scroll-btn {
  border: 1px solid rgba(223, 226, 34, 0.72);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.42),
    0 0 24px rgba(223, 226, 34, 0.2);
}

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

.back-button {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(223, 226, 34, 0.5);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.56);
  color: #ffffff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  z-index: 3;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.back-button:hover {
  background: rgba(223, 226, 34, 0.14);
}

.mascote {
  position: absolute;
  right: 18%;
  bottom: 70px;
  width: 520px;
  max-width: 38vw;
  z-index: 2;
  cursor: pointer;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
  filter:
    brightness(0.88)
    saturate(0.85)
    drop-shadow(0 0 35px rgba(214, 208, 0, 0.22));
}

.mascote:hover {
  transform: translateY(-8px) scale(1.015);
}

.historia-page .mascote {
  display: none;
}

.selo-home {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 230px;
  max-width: 45vw;
  z-index: 20;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.65));
  pointer-events: none;
}

/* Historia / Timeline */

.historia {
  position: relative;
  min-height: 100vh;
  z-index: 1;
}

.timeline {
  position: relative;
  padding: 150px 8% 170px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.72) 12%, rgba(0, 0, 0, 0.8) 86%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 50% 0, rgba(223, 226, 34, 0.18), transparent 38%);
  box-shadow: inset 0 42px 80px rgba(0, 0, 0, 0.36);
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(226, 34, 34, 0.637) 7%,
    rgba(255, 15, 15, 0.986),
    rgba(192, 1, 1, 0.986),
    transparent
  );
  box-shadow: 0 0 24px rgba(226, 34, 34, 0.42);
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: visible;
  padding-top: 210px;
  margin-bottom: 35px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #dfe222;
  box-shadow:
    0 0 0 6px rgba(223, 226, 34, 0.12),
    0 0 28px rgba(223, 226, 34, 0.86);
}

.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.left .card {
  margin-top: -58px;
  margin-left: 26px;
}

.timeline-item.right {
  justify-content: flex-end;
}

.timeline-item.right .year {
  order: 12;
}

.timeline-item.right .card {
  order: 1;
  margin-top: -58px;
  margin-right: 26px;
  text-align: right;
}

.year {
  min-width: 236px;
  min-height: 1px;
}

.plate-year {
  position: relative;
  min-width: 236px;
  z-index: 2;
  pointer-events: none;
}

.plate-year img {
  position: absolute;
  top: -150px;
  display: block;
  width: 246px;
  height: auto;
  z-index: 4;
  transform: rotate(-9deg);
  transform-origin: center;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.54));
}

.timeline-item.left .plate-year img {
  left: 0;
}

.timeline-item.right .plate-year img {
  left: auto;
  right: 0;
}

/* Texto lateral da história na timeline */

.historia-lateral {
  position: absolute;
  top: 42px;
  width: min(430px, 31vw);
  z-index: 8;
  padding: 20px 22px;
  border: 1px solid rgba(223, 226, 34, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(13, 13, 9, 0.72), rgba(0, 0, 0, 0.38));
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  pointer-events: none;
}

.historia-lateral span {
  display: block;
  margin-bottom: 8px;
  color: #e29322;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.72);
}

.historia-lateral h3 {
  margin-bottom: 10px;
  color: #dfe222;
  font-family: "Anton", sans-serif;
  font-size: clamp(30px, 2.8vw, 46px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-shadow:
    2px 2px 0 #171111,
    0 8px 18px rgba(0, 0, 0, 0.86),
    0 0 14px rgba(223, 226, 34, 0.22);
}

.historia-lateral p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 1.72;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.84);
}

.timeline-item.left .historia-lateral {
  left: calc(50% + 72px);
  text-align: left;
}

.timeline-item.right .historia-lateral {
  right: calc(50% + 72px);
  text-align: right;
}

.timeline-item.right .historia-lateral::before,
.timeline-item.left .historia-lateral::before {
  content: "";
  position: absolute;
  top: 23px;
  width: 4px;
  height: calc(100% - 46px);
  border-radius: 999px;
  background: linear-gradient(180deg, #dfe222, rgba(226, 147, 34, 0.25));
  box-shadow: 0 0 18px rgba(223, 226, 34, 0.22);
}

.timeline-item.left .historia-lateral::before {
  left: -2px;
}

.timeline-item.right .historia-lateral::before {
  right: -2px;
}

.card {
  width: min(380px, 34vw);
  padding: 18px;
  border: 1px solid rgba(223, 226, 34, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(22, 22, 16, 0.92), rgba(8, 8, 7, 0.78)),
    rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(12px);
  box-shadow:
    0 22px 62px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: translateY(-100px);
  overflow: hidden;
}

.card.card-vertical {
  width: min(340px, 30vw);
}

.card::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #dfe222, rgba(226, 147, 34, 0.2));
  box-shadow: 0 0 18px rgba(223, 226, 34, 0.34);
}

.timeline-item.right .card::before {
  margin-left: auto;
  background: linear-gradient(270deg, #dfe222, rgba(226, 147, 34, 0.2));
}

.card h2 {
  margin-bottom: 15px;
  color: #dfe222;
  font-family: "Anton", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow:
    2px 2px 0 #171111,
    0 7px 16px rgba(0, 0, 0, 0.8),
    0 0 14px rgba(223, 226, 34, 0.28);
}

.card p {
  font-size: 17px;
  line-height: 1.58;
  opacity: 0.94;
}

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card.card-vertical img {
  aspect-ratio: 2 / 3;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.42);
}

.poster {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.poster:hover {
  transform: scale(1.02);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.modal.active {
  display: flex;
}

.modal-img {
  max-width: 78%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 50px;
  cursor: pointer;
}

/* Paginas internas */

.inner-page {
  min-height: 100vh;
  width: 100%;
}

.contato-hotspots {
  position: relative;
}

.contato-whatsapp-link {
  position: fixed;
  z-index: 50;
  display: block;
  color: transparent;
  font-size: 0;
  text-decoration: none;
}

.contato-whatsapp-number {
  left: 15.6vw;
  top: 52.8vh;
  width: 15vw;
  height: 5.4vh;
}

.contato-whatsapp-button {
  left: 10.1vw;
  top: 76.8vh;
  width: 34vw;
  height: 10.2vh;
  border-radius: 18px;
}

/* Chat */

.raposa-chat {
  position: fixed;
  right: 20px;
  bottom: 42px;
  width: 160px;
  z-index: 9999;
  cursor: pointer;
  transition: 0.3s;
}

.raposa-chat:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.35));
}

.raposa-chat.chat-open {
  transform: scale(0.92);
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.45));
}

.chat-panel {
  position: fixed;
  right: 28px;
  bottom: 245px;
  width: 230px;
  max-width: calc(100vw - 32px);
  height: 330px;
  max-height: calc(100svh - 48px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(223, 226, 34, 0.28);
  border-radius: 18px;
  background: rgba(12, 11, 8, 0.96);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.72),
    0 0 42px rgba(214, 208, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  transform-origin: bottom right;
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.chat-panel.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chat-header {
  min-height: 64px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background:
    linear-gradient(135deg, rgba(223, 226, 34, 0.96), rgba(226, 147, 34, 0.88)),
    url("img/menufundoBARRA.webp") center / cover no-repeat;
  color: #171111;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #171111;
  color: #dfe222;
  font-family: "Anton", sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.3);
}

.chat-header strong {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.chat-header span {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.78;
}

.chat-close {
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 17, 17, 0.12);
  color: #171111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)),
    url("img/car.webp") center / cover no-repeat;
  color: #171111;
}

.chat-time,
.chat-now {
  display: block;
  color: rgba(23, 17, 17, 0.62);
  font-size: 12px;
  text-align: center;
}

.chat-time {
  margin-bottom: 14px;
}

.chat-now {
  margin-top: 5px;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 10px;
}

.chat-row.user {
  justify-content: flex-end;
}

.chat-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #dfe222;
  color: #171111;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.chat-bubble {
  max-width: 215px;
  padding: 10px 12px;
  border-radius: 16px 16px 16px 4px;
  background: #f0f0f0;
  color: #171111;
  font-size: 14px;
  line-height: 1.45;
}

.chat-row.user .chat-bubble {
  border-radius: 16px 16px 4px 16px;
  background: #171111;
  color: #dfe222;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.chat-options button {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #e29322;
  border-radius: 999px;
  background: #fff;
  color: #171111;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}

.chat-options button:hover {
  background: #dfe222;
  border-color: #dfe222;
  transform: translateY(-2px);
}

.chat-form {
  min-height: 62px;
  padding: 9px 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-top: 1px solid rgba(23, 17, 17, 0.08);
}

.chat-attach,
.chat-send {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.chat-attach {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: #171111;
  font-size: 26px;
  line-height: 1;
}

.chat-form input {
  min-width: 0;
  flex: 1;
  height: 38px;
  padding: 0 13px;
  border: 2px solid #dfe222;
  border-radius: 999px;
  outline: 0;
  color: #171111;
  font-size: 14px;
}

.chat-send {
  height: 36px;
  padding: 0 11px;
  border-radius: 999px;
  background: #171111;
  color: #dfe222;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.fechar-historia{
  position:absolute;
  top:14px;
  right:18px;
  border:0;
  background:none;
  color:#fff;
  font-size:42px;
  cursor:pointer;
}

/* COLE AQUI */

.historia-botao-area{
  width:100%;
  display:flex;
  justify-content:center;
  margin-top:80px;
}

.abrir-historia{
  padding:16px 34px;
  border:1px solid rgba(223,226,34,.75);
  border-radius:999px;
  background:#dfe222;
  color:#171111;
  font-family:"Barlow Condensed",sans-serif;
  font-size:26px;
  letter-spacing:2px;
  cursor:pointer;
}

.modal-historia{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.82);
  backdrop-filter:blur(10px);
}

.modal-historia.active{
  display:flex;
}

.modal-historia-conteudo{
  position:relative;
  max-width:900px;
  max-height:82vh;
  overflow-y:auto;

  padding:90px 40px 40px;

  background:
    linear-gradient(
      to bottom,
      #d6d000 0,
      #d6d000 65px,
      #f4f0d8 65px,
      #f4f0d8 100%
    );

  border:8px solid #171111;
  border-radius:18px;

  color:#171111;

  box-shadow:
    0 25px 80px rgba(0,0,0,.7);
}
.modal-historia-conteudo::before{
  content:"MINAS GERAIS";
  position:absolute;
  top:15px;
  left:50%;
  transform:translateX(-50%);

  color:#171111;
  font-family:"Barlow Condensed",sans-serif;
  font-size:34px;
  letter-spacing:4px;
}

.modal-historia-conteudo h2{
  color:#171111;
  text-align:center;
  font-family:"Anton",sans-serif;
  font-size:60px;
  letter-spacing:4px;
  margin-bottom:30px;
}

.modal-historia-conteudo p{
  color:#171111;
  font-size:18px;
  line-height:1.8;
  margin-bottom:18px;
}

.fechar-historia{
  color:#171111;
  font-size:40px;
}


/* Responsivo */

@media (max-width: 760px) {
  body.home-page,
  body.sobre-page,
  body.eventos-page,
  body.contato-page {
    background-attachment: scroll;
    background-position: center top;
  }

  .navbar {
    top: 8px;
    left: 50%;
    width: min(74vw, 960px);
    aspect-ratio: 1920 / 267;
    transform: translateX(-50%);
    background: url("img/menufarol.webp?v=20260529a") center / contain no-repeat;
    padding: 0;
    border-radius: 0;
  }

  .navbar nav a {
    position: absolute;
    top: 27%;
    width: 7.2%;
    height: 47%;
    transform: translateX(-50%);
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
    border-radius: 999px;
  }

  .contato-page .navbar {
    width: min(58vw, 720px);
    top: 10px;
    left: 58%;
  }

  .home,
  .historia,
  .inner-page {
    min-height: 100svh;
  }

  .home-history-hotspot {
    left: 16.8vw;
    top: 71.3svh;
    width: 28vw;
    height: 5.2svh;
    min-width: 150px;
    min-height: 38px;
  }

  .home-page .home-intro {
    padding-top: 286px;
  }

  .home-intro,
  .hero {
    min-height: 100svh;
    padding: 120px 22px 250px;
    justify-content: flex-start;
  }

  .historia-page .hero {
    padding-top: 96px;
    min-height: 86svh;
  }

  .historia-page .hero::after {
    left: 0;
    top: 14%;
    width: 100%;
    height: 56%;
  }

  .historia-page .hero h1 {
    max-width: 330px;
    font-size: 52px;
  }

  .home-intro h1,
  .hero h1 {
    max-width: 100%;
    font-size: 52px;
    line-height: 0.9;
    letter-spacing: 2px;
  }

  .home-intro h1 {
    margin-top: auto;
  }

  .home-intro p,
  .hero p {
    max-width: 280px;
    margin-top: 18px;
    font-size: 20px;
    line-height: 1.25;
  }

  .historia-page .hero p {
    max-width: 280px;
    font-size: 20px;
  }

  .home-intro p {
    position: static;
    max-width: 280px;
    margin-top: 18px;
    color: #dfe222;
  }

  .scroll-btn {
    margin-top: 28px;
    padding: 13px 22px;
    font-size: 14px;
  }

  .back-button {
    top: 18px;
    left: 18px;
    padding: 7px 12px;
    font-size: 16px;
  }

  .mascote {
    left: 50%;
    right: auto;
    bottom: 32px;
    width: 300px;
    max-width: 78vw;
    transform: translateX(-50%);
    filter:
      brightness(0.9)
      saturate(0.88)
      drop-shadow(0 0 24px rgba(214, 208, 0, 0.22));
  }

  .mascote:hover {
    transform: translateX(-50%) translateY(-8px) scale(1.015);
  }

  .historia-page .mascote {
    left: auto;
    right: -4px;
    bottom: 160px;
    width: 340px;
    max-width: 92vw;
    transform: none;
    z-index: 1;
  }

  .historia-page .mascote:hover {
    transform: translateY(-8px) scale(1.015);
  }

  .selo-home {
    width: 180px;
    max-width: 42vw;
    bottom: 18px;
  }

  .timeline {
    padding: 86px 18px 120px;
    scroll-margin-top: 110px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.78) 10%, rgba(0, 0, 0, 0.86) 90%),
      radial-gradient(circle at 20% 0, rgba(223, 226, 34, 0.16), transparent 42%);
  }

  .timeline::before {
    left: 30px;
    width: 3px;
    transform: none;
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 0;
    padding-top: 0;
    margin-bottom: 46px;
  }

  .timeline-item::before {
    top: 36px;
    left: 12px;
    width: 14px;
    height: 14px;
    transform: none;
  }

  .timeline-item.left,
  .timeline-item.right {
    justify-content: normal;
  }

  .timeline-item.right .year,
  .timeline-item.right .card {
    order: initial;
  }

  .timeline-item .year {
    order: 1;
  }

  .timeline-item .card {
    order: 2;
  }

  .timeline-item.left .card,
  .timeline-item.right .card {
    margin: 0;
    text-align: left;
  }

  .year {
    min-width: 0;
    min-height: 0;
    padding-left: 0;
  }

  .plate-year {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    min-width: 100px;
    padding-left: 8px;
    pointer-events: auto;
    z-index: 0;
  }

  .plate-year img {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 110px;
    margin-left: 0;
  }

  .card {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    transform: none;
  }

  .card h2 {
    margin-bottom: 9px;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: 1.5px;
  }

  .card p {
    font-size: 15px;
    line-height: 1.45;
  }


  .historia-lateral {
    position: static;
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    text-align: left !important;
    pointer-events: auto;
  }

  .timeline-item.left .historia-lateral,
  .timeline-item.right .historia-lateral {
    left: auto;
    right: auto;
  }

  .historia-lateral::before {
    display: none;
  }

  .historia-lateral span {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .historia-lateral h3 {
    font-size: 28px;
    line-height: 1;
    letter-spacing: 2px;
  }

  .historia-lateral p {
    font-size: 14px;
    line-height: 1.55;
  }

  .card img {
    margin-top: 14px;
    border-radius: 8px;
  }

  .modal {
    padding: 18px;
  }

  .modal-img {
    max-width: 100%;
    max-height: 78svh;
    border-radius: 10px;
  }

  .close {
    top: 14px;
    right: 20px;
    font-size: 42px;
  }

  .raposa-chat {
    right: 8px;
    bottom: 8px;
    width: 78px;
  }

  .chat-panel {
    left: 10px;
    right: 10px;
    bottom: 62px;
    width: auto;
    height: calc(100svh - 82px);
    max-width: none;
    border-radius: 14px;
  }

  .contato-whatsapp-number {
    left: 15.6vw;
    top: 52.8svh;
    width: 24vw;
    height: 5.6svh;
  }

  .contato-whatsapp-button {
    left: 10.1vw;
    top: 76.8svh;
    width: 44vw;
    height: 10.4svh;
  }

  .chat-header {
    min-height: 68px;
    padding: 12px 14px;
  }

  .chat-avatar {
    width: 40px;
    height: 40px;
  }

  .chat-body {
    padding: 14px;
  }

  .chat-bubble {
    max-width: 245px;
    font-size: 14px;
  }

  .chat-options button {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 15px;
  }

  .chat-form {
    min-height: 68px;
    padding: 10px;
    gap: 8px;
  }

  .chat-send {
    padding: 0 10px;
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .home-intro h1,
  .hero h1 {
    font-size: 47px;
  }

  .back-button {
    top: 14px;
    left: 14px;
  }

  .mascote {
    width: 280px;
  }

  .raposa-chat {
    width: 72px;
  }

  .chat-bubble {
    max-width: 220px;
  }

  .chat-options button {
    font-size: 14px;
  }
}

/* Intro V8 */
#intro {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 28px 20px;
  background:
    radial-gradient(circle, rgb(126, 241, 4), transparent 35%),
    #000000d6;
  z-index: 999999;
  transition: opacity 1s ease, visibility 1s ease;  
  overflow: hidden; /* necessário para o ::before */
}

#intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/capa.webp"); /* coloque aqui sua imagem */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0,5; /* ajusta de acordo com o quanto quer que apareça */
  filter: blur(4px); /* deixa o fundo desfocado */
  z-index: 0; /* por baixo de tudo */
}

#intro > * {
  position: relative;
  z-index: 1; /* mantém logo, motor e botão na frente */
}

#intro.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-logo {
  width: 320px;
  max-width: 75vw;
  animation: logoEntrada 1.2s ease;
}

.intro-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 6px 18px rgb(0, 0, 0))
    
}

@keyframes logoEntrada {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

#motorV8 {
  width: min(500px, 82vw);
  height: min(300px, 40vh);
  min-height: 180px;
  border-radius: 0;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-height: 0px;
}

#motorV8::part(default-progress-bar) {
  display: none;
}

@media (hover: none) and (min-width: 761px), (pointer: coarse) and (min-width: 761px) {
  .navbar {
    transform: translateX(-50%);
  }
}

#entrarBtn {
  padding: 10px 15px;
  border: 1px solid #ccff00;
  border-radius: 8px;
  background: #000000;
  color: #ccff00;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

#entrarBtn:hover {
  background: #660101;
  color: #ffffff;
  transform: translateY(-3px);
}

#entrarBtn:disabled {
  opacity: 0.72;
  cursor: default;
  transform: none;
}

@media (max-width: 760px) {
  #intro {
    gap: 22px;
    padding: 24px 16px;
  }

  .intro-logo {
    width: min(250px, 72vw);
  }

  #motorV8 {
    width: min(88vw, 430px);
    height: min(240px, 32vh);
    min-height: 150px;
  }

  #entrarBtn {
    width: min(270px, 82vw);
    padding: 13px 24px;
    font-size: 21px;
    text-align: center;
  }
}

@media (max-width: 390px) {
  #intro {
    gap: 18px;
  }

  .intro-logo {
    width: min(220px, 72vw);
  }

  #motorV8 {
    width: 88vw;
    height: min(210px, 28vh);
    min-height: 130px;
  }

  #entrarBtn {
    width: 82vw;
    font-size: 18px;
    letter-spacing: 1.5px;
  }
}


/* Ajustes responsivos do modal da história */
@media (max-width: 760px) {
  .historia-botao-area{
    margin-top: 50px;
  }

  .abrir-historia{
    padding: 14px 24px;
    font-size: 21px;
  }

  .modal-historia{
    padding: 16px;
  }

  .modal-historia-conteudo{
    max-width: 100%;
    max-height: 82svh;
    padding: 36px 22px 26px;
  }

  .modal-historia-conteudo h2{
    font-size: 40px;
  }

  .modal-historia-conteudo p{
    font-size: 16px;
    line-height: 1.65;
  }

  .fechar-historia{
    top: 8px;
    right: 14px;
    font-size: 38px;
  }
}

/* Pente fino mobile */
@media (max-width: 820px) {
  body {
    min-height: 100svh;
  }

  .navbar,
  .contato-page .navbar {
    top: 10px;
    left: 50%;
    width: calc(100% - 24px);
    height: auto;
    aspect-ratio: auto;
    padding: 8px;
    border: 1px solid rgba(214, 208, 0, 0.42);
    border-radius: 14px;
    background: rgba(8, 8, 7, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.52);
  }

  .navbar::before,
  .navbar::after,
  .navbar-secret-sound,
  .navbar-secret-horn,
  .mobile-nav-brand {
    display: none;
  }

  .navbar nav {
    position: static;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .navbar nav::-webkit-scrollbar {
    display: none;
  }

  .navbar nav a {
    position: static;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    min-height: 38px;
    padding: 9px 12px;
    transform: none;
    display: grid;
    place-items: center;
    border: 1px solid rgba(214, 208, 0, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .navbar nav a.active {
    background: #d6d000;
    color: #171111;
  }

  .home-hero-spacer {
    height: 100svh;
    min-height: 620px;
  }

  .home-history-hotspot,
  .home-intro-hotspot {
    display: none;
  }

  .home-mobile-callout {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 155px;
    z-index: 44;
    display: grid;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(204, 255, 0, 0.45);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.72), rgba(23, 17, 17, 0.46));
    backdrop-filter: blur(8px);
    box-shadow:
      0 22px 50px rgba(0, 0, 0, 0.54),
      0 0 24px rgba(204, 255, 0, 0.12);
  }

  .home-mobile-callout span {
    font-family: "Barlow Condensed", sans-serif;
    color: #ccff00;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
  }

  .home-mobile-callout h1 {
    max-width: 330px;
    color: #ffffff;
    font-family: "Anton", sans-serif;
    font-size: 38px;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow:
      3px 3px 0 #000000,
      0 14px 24px rgba(0, 0, 0, 0.82);
  }

  .home-mobile-callout p {
    max-width: 280px;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Barlow Condensed", sans-serif;
    font-size: 21px;
    line-height: 1.25;
  }

  .home-mobile-callout a {
    width: fit-content;
    margin-top: 4px;
    padding: 10px 15px;
    border: 1px solid #ccff00;
    border-radius: 999px;
    background: rgba(204, 255, 0, 0.08);
    color: #ccff00;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
  }

  .home-scroll-cue {
    bottom: 18px;
    min-width: 190px;
    padding: 10px 16px;
  }

  .home-scroll-cue span {
    font-size: 14px;
  }

  .home-scroll-cue strong {
    font-size: 19px;
  }

  .foundation {
    padding: 58px 16px 88px;
  }

  .foundation h2 {
    max-width: 12ch;
    font-size: 40px;
    line-height: 1.08;
    text-shadow:
      3px 3px 0 #000000,
      6px 6px 0 rgba(0, 0, 0, 0.62),
      0 16px 28px rgba(0, 0, 0, 0.9);
  }

  .foundation-subtitle {
    max-width: 330px;
    margin-bottom: 22px;
    font-size: 19px;
  }

  .foundation-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .foundation-card {
    max-width: 420px;
    margin-inline: auto;
    padding: 12px 12px 16px;
    border-radius: 10px;
  }

  .foundation-photo {
    height: 260px;
  }

  .home-intro,
  .hero {
    padding-top: 92px;
  }

  .historia-page .hero {
    min-height: 100svh;
    padding: 104px 18px 72px;
  }

  .historia-page .hero h1 {
    max-width: 320px;
    font-size: 42px;
    line-height: 1.05;
  }

  .historia-page .hero p {
    max-width: 300px;
    font-size: 19px;
  }

  .scroll-btn {
    font-size: 18px;
  }

  .timeline {
    padding: 72px 14px 88px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    grid-template-columns: 70px minmax(0, 1fr);
    margin-bottom: 34px;
  }

  .timeline-item::before {
    left: 4px;
    top: 26px;
  }

  .plate-year {
    min-width: 70px;
    padding-left: 0;
  }

  .plate-year img {
    width: 78px;
    transform: rotate(-7deg);
  }

  .card,
  .card.card-vertical {
    width: 100%;
    padding: 13px;
  }

  .card h2 {
    font-size: 21px;
    line-height: 1.12;
  }

  .card p,
  .historia-lateral p {
    font-size: 14px;
  }

  .historia-lateral {
    width: calc(100% - 70px);
    margin-left: 70px;
  }

  .contato-hotspots {
    min-height: 100svh;
  }

  .contato-whatsapp-number {
    display: none;
  }

  .contato-whatsapp-button {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 18px;
    top: auto;
    width: auto;
    height: auto;
    min-height: 54px;
    display: grid;
    place-items: center;
    padding: 14px 18px;
    border-radius: 999px;
    background: #ccff00;
    color: #171111;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 0;
    font-weight: 700;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.54);
  }

  .contato-whatsapp-button::after {
    content: "Chamar no WhatsApp";
    font-size: 22px;
    text-transform: uppercase;
  }

  .raposa-chat {
    right: 10px;
    bottom: 82px;
    width: 76px;
  }

  .chat-panel {
    left: 10px;
    right: 10px;
    bottom: 160px;
    width: auto;
    height: min(520px, calc(100svh - 178px));
    max-width: none;
  }
}

@media (max-width: 430px) {
  .navbar {
    width: calc(100% - 16px);
    padding: 7px;
  }

  .navbar nav a {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 15px;
  }

  .foundation h2 {
    font-size: 34px;
  }

  .home-mobile-callout {
    top: 130px;
    padding: 16px;
  }

  .home-mobile-callout h1 {
    font-size: 31px;
  }

  .home-mobile-callout p {
    font-size: 19px;
  }

  .foundation-photo {
    height: 220px;
  }

  .timeline-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .plate-year img {
    width: 64px;
  }

  .historia-lateral {
    width: calc(100% - 58px);
    margin-left: 58px;
  }
}
