:root {
  --red: #d71920;
  --red-dark: #9f1018;
  --black: #0d0d0f;
  --ink: #1d1d22;
  --muted: #666a73;
  --line: #e6e7ea;
  --white: #ffffff;
  --soft: #f7f7f8;
  --shadow: 0 18px 45px rgba(13, 13, 15, 0.14);
  --radius: 10px;
  --radius-lg: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

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

.icon-sprite {
  display: none;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon-link svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(8, 8, 10, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, min-height 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  min-height: 76px;
  background: rgba(13, 13, 15, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: max-content;
  align-self: stretch;
  padding: 12px clamp(16px, 2vw, 30px) 12px 0;
  background: var(--white);
  border-right: 4px solid var(--red);
}

.brand-logo {
  width: clamp(180px, 18vw, 238px);
  height: 58px;
  object-fit: contain;
  padding: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.02rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-action,
.btn,
.floating-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-action {
  padding: 0 20px;
  color: var(--white);
  background: var(--red);
}

.btn {
  min-width: 160px;
  padding: 0 20px;
}

.btn:hover,
.header-action:hover,
.floating-whatsapp:hover {
  transform: translateY(-1px);
}

.btn-primary:hover,
.header-action:hover {
  background: #eb2229;
  box-shadow: 0 8px 18px rgba(215, 25, 32, 0.3);
}

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

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: max(700px, 100svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  opacity: 0;
  object-fit: cover;
  transition: opacity 1s ease, transform 7s ease;
}

.hero-image.is-active {
  opacity: 1;
  transform: scale(1.035);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 8, 9, 0.92), rgba(7, 8, 9, 0.66) 43%, rgba(7, 8, 9, 0.14) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 108px);
  padding: 158px 0 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.14em;
}

.eyebrow span {
  width: 42px;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--white) 33% 66%, var(--red) 66%);
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.7rem, 5.25vw, 5rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero h1 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  gap: 22px;
  margin-top: 42px;
}

.hero-pagination,
.hero-direction-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-pagination button {
  width: 28px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-pagination button.is-active {
  width: 48px;
  background: var(--red);
}

.hero-direction-controls button {
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-direction-controls button:hover {
  color: var(--white);
}

.section {
  padding: clamp(58px, 8vw, 92px) 0;
}

.section-intro {
  padding-bottom: clamp(30px, 4vw, 48px);
}

#turmas {
  padding-top: clamp(42px, 5vw, 62px);
}

.section-inner {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

.brand-panel {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  margin-bottom: 54px;
  padding: clamp(18px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(13, 13, 15, 0.08);
}

.brand-panel img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.brand-logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  justify-items: center;
}

.brand-logos img {
  width: min(100%, 300px);
  max-height: 135px;
}

.brand-logos img:nth-child(2) {
  width: min(78%, 220px);
  max-height: 96px;
}

.brand-panel h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.brand-panel p:last-child {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  max-width: 670px;
  margin-bottom: 30px;
}

.section-heading h2,
.intro-grid h2,
.location-grid h2,
.final-cta h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-heading p,
.intro-grid p,
.location-grid p {
  color: var(--muted);
  font-size: 1.03rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.age-grid,
.benefits-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.age-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px;
}

.age-card {
  grid-column: auto;
  position: relative;
  min-height: 270px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px rgba(13, 13, 15, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.age-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(13, 13, 15, 0.12);
}

.age-card:not(:last-child)::after {
  position: absolute;
  top: 47px;
  left: calc(100% + 7px);
  z-index: 1;
  width: 14px;
  height: 14px;
  content: "";
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  transform: rotate(45deg);
}

.journey-step {
  display: inline-flex;
  align-items: center;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.age-card h3,
.benefits-grid h3 {
  margin: 12px 0 8px;
  color: var(--black);
  font-size: 1.2rem;
}

.age-card p,
.benefits-grid p {
  margin: 0;
  color: var(--muted);
}

.performance-card {
  grid-column: auto;
  border-top-color: var(--black);
  background: linear-gradient(155deg, #f5f5f6, var(--white));
}

.performance-label {
  margin: 0 0 12px !important;
  color: var(--red) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.performance-highlight {
  margin-top: 14px !important;
  color: var(--black) !important;
  font-weight: 800;
}

.benefits-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.94), rgba(13, 13, 15, 0.96)),
    var(--black);
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

.section-heading.light .section-kicker {
  color: #ffffff;
}

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

.benefits-grid article {
  min-height: 240px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  transition: background 0.2s ease, transform 0.2s ease;
}

.benefits-grid article:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.benefits-grid h3,
.benefits-grid p {
  color: var(--white);
}

.benefit-icon {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  font-weight: 900;
}

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

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  display: grid;
  gap: 2px;
  order: -1;
}

.gallery-item figcaption span {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-item figcaption strong {
  color: var(--black);
  font-size: 1.08rem;
  line-height: 1.15;
}

.gallery-item figcaption small {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-list a {
  color: var(--red-dark);
  font-weight: 800;
}

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

.map-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: var(--white);
  background: var(--black);
  font-weight: 900;
}

.final-cta {
  padding: 52px 0;
  color: var(--white);
  background: var(--black);
}

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

.final-cta h2 {
  color: var(--white);
}

.site-footer {
  padding: 32px 0 86px;
  color: rgba(255, 255, 255, 0.76);
  background: #070708;
  border-top: 3px solid var(--red);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
}

.footer-brand {
  display: grid;
  gap: 2px;
  color: var(--white);
}

.footer-brand strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer-brand span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  text-align: right;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: var(--white);
  font-weight: 800;
}

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

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-width: 150px;
  padding: 0 18px;
  color: var(--white);
  background: #168f49;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

@media (max-width: 980px) {
  .header-action {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    padding: 12px;
    background: rgba(13, 13, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .brand {
    padding-right: 18px;
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

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

  .performance-card {
    grid-column: span 2;
  }

  .age-card::after {
    display: none;
  }

  .location-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

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

  .brand-panel {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
    padding: 0 16px;
  }

  .brand {
    padding: 9px 14px 9px 0;
    border-right-width: 3px;
  }

  .brand-logo {
    width: 170px;
    height: 48px;
  }

  .hero {
    min-height: max(720px, 100svh);
    align-items: end;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.54) 54%, rgba(0, 0, 0, 0.16)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 128px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.35rem);
    line-height: 1.02;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .final-cta-inner {
    display: grid;
  }

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

  .hero-carousel-controls {
    margin-top: 34px;
  }

  .hero-direction-controls {
    display: none;
  }

  .hero-pagination button {
    width: 20px;
  }

  .hero-pagination button.is-active {
    width: 38px;
  }

  .section {
    padding: 56px 0;
  }

  .age-grid,
  .benefits-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .age-card,
  .benefits-grid article {
    min-height: auto;
  }

  .performance-card {
    grid-column: auto;
  }

  .gallery-item {
    min-height: 0;
  }

  .brand-panel {
    grid-template-columns: 1fr;
    margin-bottom: 38px;
    text-align: center;
  }

  .brand-panel img {
    max-width: 240px;
    margin: 0 auto;
  }

  .brand-logos {
    justify-items: center;
  }

  .map-card iframe {
    height: 300px;
  }

  .footer-inner {
    display: grid;
    align-items: start;
  }

  .footer-meta {
    justify-items: start;
    text-align: left;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    min-width: 0;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }

  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
