/* ============================================
   DIÁRIO FLOR&SER — About Page Styles
   ============================================ */

/* ── ABOUT HERO ── */
.about-hero {
  background: var(--gradient-hero);
  padding: var(--sp-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242,211,153,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

.about-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid rgba(242,211,153,0.5);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  margin: 0 auto var(--sp-xl);
}

.about-hero h1 {
  color: var(--white);
  font-size: var(--fs-4xl);
  margin-bottom: var(--sp-sm);
}

.about-hero-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.8);
  font-weight: var(--fw-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

/* ── ABOUT MAIN ── */
.about-content {
  padding: var(--sp-4xl) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-4xl);
  align-items: start;
}

/* ── ABOUT STORY ── */
.about-story {
  max-width: 640px;
}

.about-story h2 {
  margin-bottom: var(--sp-lg);
  position: relative;
  padding-bottom: var(--sp-md);
}

.about-story h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-warm);
  border-radius: var(--radius-full);
}

.about-story p {
  font-size: var(--fs-md);
  line-height: 1.9;
  margin-bottom: var(--sp-lg);
}

.about-quote {
  border-left: 4px solid var(--accent);
  padding: var(--sp-lg) var(--sp-xl);
  background: var(--cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--sp-2xl) 0;
}

.about-quote p {
  font-style: italic;
  color: var(--dark);
  font-size: var(--fs-lg);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-sm);
}

.about-quote cite {
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--warm);
  font-weight: var(--fw-semibold);
}

/* ── ABOUT IMAGES ── */
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  position: sticky;
  top: calc(var(--header-height) + var(--sp-xl));
}

.about-images img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-slow) var(--ease-out);
  width: 100%;
}

.about-images img:hover {
  transform: scale(1.02);
}

.about-images img:first-child {
  grid-column: 1 / -1;
  height: 320px;
}

.about-images img:nth-child(2),
.about-images img:nth-child(3) {
  height: 200px;
}

/* ── TIMELINE ── */
.timeline-section {
  padding: var(--sp-4xl) 0;
  background: var(--cream);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--sp-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--sp-2xl);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  background: var(--white);
  padding: var(--sp-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-xs);
}

.timeline-content h3 {
  font-size: var(--fs-md);
  color: var(--primary);
  margin-bottom: var(--sp-sm);
}

.timeline-content p {
  font-size: var(--fs-sm);
  color: var(--text-gray);
  margin-bottom: 0;
}

/* ── VALUES SECTION ── */
.values-section {
  padding: var(--sp-4xl) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.value-card {
  text-align: center;
  padding: var(--sp-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid rgba(var(--primary-rgb), 0.05);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--secondary-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-lg);
  color: var(--secondary);
  font-size: 28px;
}

.value-card h3 {
  font-size: var(--fs-md);
  color: var(--primary);
  margin-bottom: var(--sp-sm);
}

.value-card p {
  font-size: var(--fs-sm);
  color: var(--text-gray);
  margin-bottom: 0;
}

/* ── CTA SECTION ── */
.about-cta {
  background: var(--gradient-primary);
  padding: var(--sp-4xl) 0;
  text-align: center;
  color: var(--white);
}

.about-cta h2 {
  color: var(--white);
  margin-bottom: var(--sp-md);
}

.about-cta p {
  color: rgba(255,255,255,0.8);
  font-size: var(--fs-lg);
  max-width: 500px;
  margin: 0 auto var(--sp-xl);
}

.about-cta .btn {
  background: var(--accent);
  color: var(--dark);
}

.about-cta .btn:hover {
  background: var(--accent-light);
  color: var(--dark);
}

/* ── RESPONSIVE ABOUT ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }

  .about-images {
    position: static;
    max-width: 600px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
    padding-left: 50px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: 100%;
  }

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

  .about-images img:first-child {
    height: 240px;
  }

  .about-images img:nth-child(2),
  .about-images img:nth-child(3) {
    height: 160px;
  }
}
