:root {
  --bg: #0a0f1a;
  --bg-soft: #101827;
  --card: rgba(255, 255, 255, 0.05);
  --card-strong: rgba(255, 255, 255, 0.08);
  --text: #eef2ff;
  --muted: #b3bfd6;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #ff4d4f;
  --accent-2: #22c55e;
  --accent-3: #60a5fa;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 77, 79, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.16), transparent 26%),
    linear-gradient(180deg, #09111f 0%, #0c1321 40%, #09101a 100%);
  color: var(--text);

}

.brand-logo{
height:40px;
width:auto;
}

.brand-logo-text{
height:40px;
width:auto;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(7, 12, 22, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap,
.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-wrap {
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), #ff9068);
  color: #fff;
  box-shadow: var(--shadow);
}

.brand-text {
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-weight: 500;
}

.main-nav a:hover,
.footer-links a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), #ff7a59);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.btn-secondary {
  background: transparent;
  border-color: var(--line);
}

.btn-small {
  min-height: 42px;
  padding: 0.75rem 1rem;
}

.btn-block {
  width: 100%;
}

.hero,
.intro,
.services,
.showcase,
.contact {
  padding: 5rem 0;
}

.hero {
  padding-top: 4rem;
}

.hero-grid,
.showcase-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow,
.section-kicker,
.mini-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e3f8;
  font-size: 0.92rem;
}

.hero h1,
.section-head h2,
.showcase h2,
.contact h2 {
  margin: 1rem 0;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  max-width: 13ch;
}

.hero-text,
.section-head p,
.showcase p,
.contact p,
.feature-card p,
.mini-panel p {
  color: var(--muted);
  line-height: 1.75;
}

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

.rating-card,
.stat-card,
.feature-card,
.showcase-panel,
.mini-panel,
.contact-form,
.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rating-card {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  padding: 1rem 1.2rem;
  max-width: 680px;
}

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

.hero-visual {
  display: flex;
  justify-content: center;
}

.track-card {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(180deg, #121a2c, #0c1220);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.track-surface {
  position: absolute;
  inset: 10%;
  border-radius: 50% 48% 45% 47% / 44% 50% 46% 52%;
  border: 22px solid rgba(255, 255, 255, 0.08);
  transform: rotate(-18deg);
}

.track-surface::before,
.track-surface::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 16px dashed rgba(255, 255, 255, 0.12);
}

.track-surface::before {
  inset: 14%;
}

.track-surface::after {
  inset: 31%;
}

.kart {
  position: absolute;
  width: 44px;
  height: 22px;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

.kart::before,
.kart::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #111827;
  border-radius: 50%;
  top: 6px;
}

.kart::before {
  left: -3px;
}

.kart::after {
  right: -3px;
}

.kart-red {
  top: 25%;
  right: 28%;
  background: linear-gradient(135deg, #ff4d4f, #ff7a59);
  transform: rotate(22deg);
}

.kart-green {
  bottom: 28%;
  left: 23%;
  background: linear-gradient(135deg, #22c55e, #86efac);
  transform: rotate(-36deg);
}

.track-label {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(8, 14, 25, 0.78);
  border: 1px solid var(--line);
  font-weight: 700;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head.narrow {
  max-width: 760px;
}

.section-head,
.section-head.narrow {
  margin-left: auto;
  margin-right: auto;
}

.section-head h2,
.showcase h2,
.contact h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

.stats-grid,
.cards-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.stat-card,
.feature-card {
  padding: 1.5rem;
}

.stat-card strong {
  display: block;
  font-size: 2.1rem;
  margin-bottom: 0.45rem;
}

.stat-card span {
  color: var(--muted);
}

.card-visual {
  height: 210px;
  border-radius: 18px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-race {
  background:
    linear-gradient(135deg, rgba(255, 77, 79, 0.7), rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.06) 0 12px, transparent 12px 24px),
    #12192a;
}

.visual-training {
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.7), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 65% 40%, rgba(255, 255, 255, 0.18), transparent 18%),
    #111827;
}

.visual-support {
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.7), rgba(255, 255, 255, 0.04)),
    linear-gradient(90deg, transparent 0 40%, rgba(255, 255, 255, 0.08) 40% 43%, transparent 43% 100%),
    #101827;
}

.check-list {
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.check-list li {
  margin-bottom: 0.7rem;
}

.showcase-panel {
  padding: 1rem;
}

.mini-panel {
  padding: 1.25rem;
}

.mini-panel + .mini-panel {
}



.mini-panel.highlight {
  background: var(--card-strong);
}

.contact-form {
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9caccc;
}

.contact-box {
  padding: 1rem 1.2rem;
  max-width: 360px;
}

.site-footer {
  padding: 1.8rem 0 2.6rem;
  border-top: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.72);
}

.footer-wrap {
  flex-wrap: wrap;
}

.footer-wrap p,
.footer-links {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.kartodromos-grid{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:20px;
max-width:1900px;
margin:auto;
}

.kart-card img{
width:100%;
height:220px;
object-fit:cover;
border-radius:14px;
}

.kart-card h3{
margin-top:10px;
text-align:center;
}

@media (max-width: 980px) {
  .hero-grid,
  .showcase-grid,
  .contact-grid,
  .cards-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero h1 {
    max-width: none;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .nav-wrap,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .hero,
  .intro,
  .services,
  .showcase,
  .contact {
    padding: 3.4rem 0;
  }

  .hero-actions {
    flex-direction: column;
  .showcase-panel{
padding:1.5rem;
background:linear-gradient(160deg,#111827,#0b1324);
border:1px solid var(--line);
border-radius:var(--radius);
box-shadow:var(--shadow);
}

.mini-tag strong{
display:block;
margin:10px 0 18px 0;
font-size:1.1rem;
}

.grid-largada{
list-style:none;
padding:0;
margin:0;
display:grid;
gap:6px;
}
 .mini-panel p{
font-size:0.85rem;
margin-bottom:8px;
}
 
    .mini-panel strong{
font-size:0.9rem;
font-weight:600;
}
    
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  .track-card {
    aspect-ratio: 0.95 / 1;
  }
  #contato {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.contact-box {
  text-align: center;
  padding: 1.5rem 2rem;
  background: var(--card);
  border-radius: 10px;
  max-width: 300px;
}
 #contato {
  display: flex;
  justify-content: center;
}

.contact-box {
  text-align: center;
} 
}