/* ============================
   1. VARIÁVEIS & RESET
   ============================ */
:root {
  --red-vibrant: #FF1744;
  --red-dark: #C41C3B;
  --black: #1A1A1A;
  --white: #FFFFFF;
  --gray: #F5F5F5;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition: 0.3s ease;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.14);
  --shadow-image: 0 8px 30px rgba(0, 0, 0, 0.25);
  --radius: 12px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

/* ============================
   2. CONTAINER & UTILITÁRIOS
   ============================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  color: var(--black);
}

.section__subtitle {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: 48px;
}

/* ============================
   3. BOTÕES
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn--small {
  font-size: 14px;
  padding: 10px 24px;
}

.btn--large {
  font-size: 18px;
  padding: 16px 40px;
}

.btn--cta {
  font-size: 20px;
  padding: 18px 48px;
  border-radius: 10px;
}

.btn--small,
.btn--large,
.btn--cta {
  background: var(--red-vibrant);
  color: var(--white);
}

.btn--small:hover,
.btn--large:hover,
.btn--cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 23, 68, 0.35);
}

/* ============================
   4. HEADER STICKY
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

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

.header__logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
}

.header__logo span {
  color: var(--red-vibrant);
}

.header__nav-list {
  display: flex;
  gap: 32px;
}

.header__nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-vibrant);
  transition: width var(--transition);
}

.header__nav-link:hover {
  color: var(--white);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header__toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================
   5. HERO
   ============================ */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, var(--red-dark) 100%);
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  color: var(--white);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__btn {
  margin-bottom: 24px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.hero__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: min(100%, 450px);
  max-width: 500px;
  min-width: 300px;
  border-radius: 16px;
  border: 4px solid var(--red-vibrant);
  box-shadow: var(--shadow-image);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--transition);
}

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

/* ============================
   6. ABOUT (SOBRE O INSTRUTOR)
   ============================ */
.about {
  background: var(--gray);
  padding: 80px 0;
}

.about__content {
  max-width: 800px;
  margin: 0 auto;
}

.about__text p {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
}

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--black);
}

.badge:nth-child(2) {
  background: var(--red-dark);
}

.badge:nth-child(3) {
  background: var(--red-vibrant);
}

.badge:nth-child(4) {
  background: var(--black);
}

/* ============================
   7. BENEFITS (CARDS)
   ============================ */
.benefits {
  background: var(--white);
  padding: 80px 0;
}

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

.benefit-card {
  background: var(--white);
  border-left: 4px solid var(--red-vibrant);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.benefit-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.benefit-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.benefit-card__desc {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}

/* ============================
   8. CTA
   ============================ */
.cta {
  background: var(--red-vibrant);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta__text {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.9);
}

.cta__btn {
  background: var(--white);
  color: var(--red-vibrant);
}

.cta__btn:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.cta__urgency {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 20px;
}

/* ============================
   9. FOOTER
   ============================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 1px;
}

.footer__logo span {
  color: var(--red-vibrant);
}

.footer__desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.7;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.footer__links ul li {
  margin-bottom: 10px;
}

.footer__links ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer__links ul li a:hover {
  color: var(--red-vibrant);
}

.footer__social-icons {
  display: flex;
  gap: 12px;
}

.footer__social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 20px;
  transition: all var(--transition);
}

.footer__social-icons a:hover {
  background: var(--red-vibrant);
  transform: translateY(-2px);
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
  margin-bottom: 4px;
}

/* ============================
   10. ANIMAÇÕES (SCROLL REVEAL)
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================
   11. RESPONSIVO - TABLET (< 1024px)
   ============================ */
@media (max-width: 1024px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero__inner {
    gap: 40px;
  }

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

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

/* ============================
   12. RESPONSIVO - MOBILE (< 768px)
   ============================ */
@media (max-width: 768px) {
  .header__nav {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(8px);
    padding: 20px;
    transform: translateY(-120%);
    transition: transform var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header__nav.open {
    transform: translateY(0);
  }

  .header__nav-list {
    flex-direction: column;
    gap: 16px;
  }

  .header__nav-link {
    font-size: 18px;
  }

  .header__cta {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 48px;
    min-height: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__content {
    order: 1;
  }

  .hero__image-wrapper {
    order: 2;
  }

  .hero__subtitle {
    margin: 0 auto 28px;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__image {
    max-width: 340px;
  }

  .about {
    padding: 56px 0;
  }

  .about__badges {
    justify-content: center;
  }

  .benefits {
    padding: 56px 0;
  }

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

  .section__subtitle {
    margin-bottom: 32px;
  }

  .cta {
    padding: 56px 0;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__desc {
    margin: 12px auto 0;
  }

  .footer__social-icons {
    justify-content: center;
  }
}

/* ============================
   13. RESPONSIVO - MOBILE PEQUENO (< 480px)
   ============================ */
@media (max-width: 480px) {
  .hero__title {
    font-size: 28px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__image {
    max-width: 300px;
  }

  .btn--large {
    font-size: 16px;
    padding: 14px 32px;
    width: 100%;
  }

  .btn--cta {
    font-size: 16px;
    padding: 16px 32px;
    width: 100%;
  }

  .benefit-card {
    padding: 24px 20px;
  }
}

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

:focus-visible {
  outline: 2px solid var(--red-vibrant);
  outline-offset: 2px;
}

/* Skip link (navegação por teclado) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--red-vibrant);
  color: var(--white);
  font-weight: 700;
  border-radius: 6px;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.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;
}
