/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #cc1313;
  --red-dark:  #a00e0e;
  --red-light: #e63030;
  --yellow:    #f5c518;
  --green:     #1a7a1a;
  --white:     #ffffff;
  --off-white: #f8f5f0;
  --dark:      #1a1a1a;
  --gray:      #555;
  --light-gray:#e8e8e8;
  --card-bg:   #ffffff;
  --shadow:    0 4px 24px rgba(0,0,0,0.10);
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--dark);
  background: var(--off-white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }

.accent { color: var(--red); }

/* ===========================
   LABELS & TITLES
=========================== */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(204,19,19,0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-label.center { display: block; text-align: center; }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.center { text-align: center; }

.section-sub {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 48px;
}
.section-sub.center { text-align: center; }

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(204,19,19,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ===========================
   NAVBAR
=========================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(204,19,19,0.3);
  transition: box-shadow 0.3s;
}
#navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-star { color: var(--yellow); font-size: 1.1rem; }
.logo-accent { color: var(--red); }

.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #111;
  padding: 12px 24px 20px;
  gap: 16px;
}
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu.open { display: flex; }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a0000 0%, #3d0808 40%, #6b0f0f 70%, #1a1a1a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(204,19,19,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,197,24,0.08) 0%, transparent 40%);
}

.hero::after {
  content: '★ ★ ★ ★ ★';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  text-align: center;
  font-size: 5rem;
  color: rgba(204,19,19,0.06);
  letter-spacing: 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 64px;
}

.hero-sub {
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-badge {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(204,19,19,0.5);
  z-index: 2;
}
.badge-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.badge-text {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.8);
  text-align: center;
  line-height: 1.4;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  z-index: 2;
}
.scroll-arrow {
  animation: bounce 1.5s ease-in-out infinite;
  font-size: 1.2rem;
  margin-top: 4px;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===========================
   SOBRE
=========================== */
.sobre { background: var(--white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.sobre-img-placeholder {
  background: linear-gradient(135deg, #cc1313 0%, #8b0000 100%);
  border-radius: var(--radius);
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  gap: 16px;
}
.img-icon { font-size: 5rem; opacity: 0.8; }

.sobre-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.sobre-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.sobre-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--light-gray);
}

.stat {
  display: flex;
  flex-direction: column;
}
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 4px;
}

/* ===========================
   MOTIVOS
=========================== */
.motivos {
  background: var(--off-white);
}

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

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 3px solid transparent;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  border-top-color: var(--red);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ===========================
   CONQUISTAS / TIMELINE
=========================== */
.conquistas {
  background: var(--dark);
  color: var(--white);
}
.conquistas .section-label { background: rgba(255,255,255,0.1); }
.conquistas .section-title { color: var(--white); }

.timeline {
  position: relative;
  margin-top: 56px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), rgba(204,19,19,0.1));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item.left  { justify-content: flex-end; padding-right: calc(50% + 40px); }
.timeline-item.right { justify-content: flex-start; padding-left: calc(50% + 40px); }

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px; height: 16px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--dark);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(204,19,19,0.25);
}

.timeline-content {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 380px;
  transition: background 0.25s;
}
.timeline-content:hover { background: rgba(255,255,255,0.1); }

.tl-year {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.timeline-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.timeline-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ===========================
   QUOTE
=========================== */
.quote-section {
  background: var(--red);
  padding: 72px 0;
}

blockquote {
  text-align: center;
  color: var(--white);
  max-width: 740px;
  margin: 0 auto;
}
.quote-mark {
  font-size: 4rem;
  line-height: 0.5;
  vertical-align: bottom;
  opacity: 0.4;
  margin: 0 8px;
}
blockquote p, blockquote {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.8;
}
cite {
  display: block;
  margin-top: 20px;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

/* ===========================
   CONTATO
=========================== */
.contato { background: var(--white); }

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
}

.contact-form button { align-self: flex-start; }

.form-success {
  text-align: center;
  color: var(--green);
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 16px;
  padding: 16px;
  background: rgba(26,122,26,0.08);
  border-radius: var(--radius);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #111;
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--red) !important;
  opacity: 0.6;
}

/* ===========================
   SCROLL ANIMATIONS
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-img-placeholder { height: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-badge { display: none; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .cards-grid { grid-template-columns: 1fr; }
  .sobre-stats { flex-direction: column; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .timeline::before { left: 20px; }
  .timeline-item.left,
  .timeline-item.right {
    justify-content: flex-start;
    padding-left: 52px;
    padding-right: 0;
  }
  .timeline-dot { left: 20px; }
  .timeline-content { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
