/* ===================================================
   Estágio Fácil — About CSS
   Paleta: Azul Oceano + Ciano
   =================================================== */

:root {
  --primary-color: #0369a1;
  --primary-hover: #0284c7;
  --primary-light: rgba(3, 105, 161, 0.1);
  --accent-color: #06b6d4;
  --accent-light: rgba(6, 182, 212, 0.12);
  --gradient-hero: linear-gradient(135deg, #0369a1 0%, #0891b2 50%, #06b6d4 100%);
  --background-color: #ffffff;
  --secondary-color: #f0f9ff;
  --text-color: #0c1a2e;
  --text-muted: #4b6280;
  --text-subtle: #94a3b8;
  --border-color: #bae6fd;
  --border-subtle: #e0f2fe;
  --shadow: 0 4px 16px rgba(3, 105, 161, 0.12);
  --shadow-md: 0 8px 32px rgba(3, 105, 161, 0.16);
  --shadow-lg: 0 16px 48px rgba(3, 105, 161, 0.2);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* About Hero */
.about-hero {
  background: var(--gradient-hero);
  color: white;
  padding: 5rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.about-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--background-color));
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: white;
  font-family: var(--font-body);
}

.about-hero p {
  font-size: 1.125rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section Header */
.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
  font-family: var(--font-body);
}

.section-divider {
  width: 48px;
  height: 4px;
  background: var(--gradient-hero);
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.section-divider.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-header.centered {
  text-align: center;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* Story Section */
.story-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.story-content p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Stats */
.story-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  background: var(--secondary-color);
  border-radius: var(--radius);
  border: 1.5px solid var(--border-subtle);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
  font-family: var(--font-body);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.story-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* Mission Section */
.mission-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mission-card {
  background-color: var(--background-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border-subtle);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.mission-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}

.mission-card:hover::after {
  opacity: 1;
}

.mission-icon {
  width: 4.5rem;
  height: 4.5rem;
  background: var(--gradient-hero);
  color: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(3, 105, 161, 0.3);
}

.mission-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  letter-spacing: -0.02em;
  font-family: var(--font-body);
}

.mission-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Values Section */
.values-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.value-card {
  background-color: var(--secondary-color);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition-slow);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
  background-color: var(--background-color);
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gradient-hero);
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.25);
  transition: var(--transition);
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  font-family: var(--font-body);
}

.value-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Team Section */
.team-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.team-member {
  text-align: center;
}

.member-image {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow);
  border: 3px solid var(--background-color);
  outline: 2px solid var(--border-color);
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.member-image:hover img {
  transform: scale(1.05);
}

.member-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(3, 105, 161, 0.92), transparent);
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem 0 0.75rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.member-image:hover .member-social {
  transform: translateY(0);
}

.member-social a {
  color: white;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.member-social a:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}

.team-member h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-color);
  font-family: var(--font-body);
}

.member-role {
  font-size: 0.8125rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.member-bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 260px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--background-color);
}

.testimonials-slider {
  max-width: 760px;
  margin: 0 auto 2rem;
  position: relative;
}

.testimonial-card {
  background-color: var(--secondary-color);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-card.active {
  display: block;
}

.testimonial-content {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 2rem;
}

.testimonial-content i {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
}

.testimonial-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-color);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.testimonial-author h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-color);
  font-family: var(--font-body);
}

.testimonial-author p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.slider-arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--background-color);
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.slider-arrow:hover {
  background: var(--gradient-hero);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--gradient-hero);
  width: 1.5rem;
  border-radius: var(--radius-full);
}

/* Join / CTA Section */
.join-section {
  padding: 5rem 0;
  background: var(--gradient-hero);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.join-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.join-content {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.join-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  color: white;
  font-family: var(--font-body);
}

.join-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.88;
  line-height: 1.7;
}

.join-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 380px;
  margin: 0 auto;
}

.join-buttons .btn-primary {
  background: white;
  color: var(--primary-color);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.join-buttons .btn-primary:hover {
  background: var(--secondary-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.join-buttons .btn-outline {
  background-color: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.join-buttons .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: white;
}

/* Responsive */
@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .about-hero h1 {
    font-size: 3.5rem;
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 3fr 2fr;
  }

  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
