/* Página Sobre - Hero Section - Mobile First Approach */

/* Scroll suave */
html {
  scroll-behavior: smooth;
}

.hero-sobre {
  background-image: url("../images/hero-mobile-sobre.jpg");
  background-size: cover;
  background-position: center;
  background-color: #fcecef;
  height: 500px;
  display: flex;
  align-items: center;
  padding: 70px 15px 40px 15px;

  border-bottom: 10px solid var(--primary-color);
}

.hero-sobre-content {
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 100%;
  margin: 0 auto;
  padding: 25px 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-sobre h1 {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #222;
}

.hero-sobre h1 span {
  color: var(--primary-color);
  font-weight: 600;
}

.hero-sobre p {
  font-size: 13px;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.5;
}

.hero-sobre .btn {
  padding: 12px 30px;
  font-size: 14px;
  border-radius: 25px;
  display: inline-block;
  text-decoration: none;
  margin-top: 10px;
}

/* Timeline */
.timeline-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #fdf5f8 0%, #fff 50%, #fdf5f8 100%);
  position: relative;
}

.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
}

.timeline-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 60px;
  font-size: 32px;
  position: relative;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-play-state: paused;
}

.timeline-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-hover)
  );
  border-radius: 2px;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 4px;
  background: linear-gradient(
    180deg,
    var(--primary-color) 0%,
    var(--primary-hover) 50%,
    var(--primary-color) 100%
  );
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(193, 52, 118, 0.3);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-play-state: paused;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -14px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  border: 4px solid white;
  top: 28px;
  border-radius: 50%;
  z-index: 100;
  box-shadow: 0 0 15px rgba(193, 52, 118, 0.4);
  transition: all 0.3s ease;
}

.timeline-item:hover::after {
  transform: scale(1.2);
  box-shadow: 0 0 20px rgba(193, 52, 118, 0.6);
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item.right::after {
  left: -13px;
}

.timeline-content {
  padding: 25px 30px;
  background: white;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(193, 52, 118, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.timeline-content h3 {
  color: var(--primary-color);
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
}

.timeline-content h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
  border-radius: 2px;
}

.timeline-content p {
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-item.right {
  animation: fadeInUp 0.8s ease forwards;
  animation-play-state: paused;
}

/* Mobile Timeline */
@media (max-width: 768px) {
  .timeline::after {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    left: 0 !important;
    animation: fadeInUp 0.8s ease forwards;
    animation-play-state: paused;
  }

  .timeline-item::after {
    left: 6px !important;
    right: auto !important;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content h3 {
    font-size: 20px;
  }

  .timeline-section {
    padding: 60px 0;
  }

  .timeline-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

/* Tablets pequenos (480px e acima) */
@media (min-width: 480px) {
  .hero-sobre {
    padding: 80px 20px 50px 20px;

    background-image: url("../images/hero-sobre.jpg");
  }

  .hero-sobre-content {
    padding: 30px 20px;
    margin: 0 10px;
  }

  .hero-sobre h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .hero-sobre p {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .hero-sobre .btn {
    padding: 14px 35px;
    font-size: 15px;
    border-radius: 30px;
  }
}

/* Tablets (768px e acima) */
@media (min-width: 768px) {
  .hero-sobre-content {
    background-color: transparent;
    box-shadow: none;
    text-align: left;
    max-width: 300px;
    padding: 0;
  }

  .hero-sobre h1 {
    font-size: 35px;
  }

  .hero-sobre p {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

/* Desktops (1024px e acima) */
@media (min-width: 1024px) {
  .hero-sobre {
    height: 600px;
    padding: 100px 30px 60px 30px;
  }

  .hero-sobre-content {
    max-width: 600px;
  }

  .hero-sobre h1 {
    font-size: 32px;
  }

  .hero-sobre p {
    width: 450px;
  }
}

/* Large Desktops (1200px e acima) */
@media (min-width: 1200px) {
  .hero-sobre {
    height: 700px;
    padding: 120px 40px 80px 40px;
  }

  .hero-sobre-content {
    max-width: 800px;
  }

  .hero-sobre h1 {
    font-size: 45px;
  }

  .hero-sobre p {
    font-size: 20px;
    width: 600px;
  }
}

/* Ultra Large Screens (1400px e acima) */
@media (min-width: 1400px) {
  .hero-sobre {
    height: 800px;
  }
}

@media (min-width: 2000px) {
  .hero-sobre {
    height: 1100px;
  }
}
