.about-hero {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  background-image: url(../assets/img/about-us-bg.png);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 37, 37, 0.8) 0%,
    rgba(223, 121, 40, 0.4) 100%
  );
  z-index: 1;
}

.about-hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cor-branca);
  animation: fadeInUp 0.8s ease-out;
}

.about-hero-container h1 {
  color: var(--cor-branca);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.about-hero-container p {
  color: var(--cor-branca);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about {
  margin: 6rem auto;
  width: 100%;
  max-width: 1400px;
  padding: 0 3rem;
}

.about-container {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 5rem;
  flex-wrap: wrap;
}

.about-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0 0 2rem;
  background: linear-gradient(90deg, var(--cor-preta), var(--cor-laranja));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  line-height: 1.3;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-img {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.about-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.about-img img:hover {
  transform: scale(1.02);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.historia-section {
  width: 100%;
  padding: var(--section-vertical) 0;
  background-color: var(--cor-branca);
}

.historia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.historia-text {
  animation: slideInLeft 0.8s ease-out;
}

.historia-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 1rem 0 2rem;
  color: var(--cor-preta);
  line-height: 1.3;
}

.historia-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.historia-text p:last-child {
  margin-bottom: 0;
}

.historia-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.historia-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.historia-img:hover img {
  transform: scale(1.05);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mvv-section {
  width: 100%;
  padding: var(--section-vertical) 0;
  background: linear-gradient(135deg, #f9f9f9 0%, var(--cor-branca) 100%);
}

.mvv-header {
  text-align: center;
  margin-bottom: 3rem;
}

.mvv-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--cor-preta);
  margin-top: 1rem;
  line-height: 1.3;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mvv-card {
  background: var(--cor-branca);
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--cor-laranja);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.mvv-icon {
  font-size: 3rem;
  color: var(--cor-laranja);
  margin-bottom: 1rem;
}

.mvv-icon ion-icon {
  font-size: 3rem;
}

/* Garantir cor do ícone (correção para casos onde o webcomponent possa sobrescrever estilos) */
.mvv-icon ion-icon {
  color: var(--cor-laranja) !important;
}

.mvv-card h3 {
  font-size: 1.5rem;
  color: var(--cor-preta);
  margin-bottom: 1rem;
  font-weight: 700;
}

.mvv-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
}

.team-section {
  width: 100%;
  padding: var(--section-vertical) 0;
  background-color: var(--cor-branca);
}

.team-header {
  text-align: center;
  margin-bottom: 3rem;
}

.team-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--cor-preta);
  margin-top: 1rem;
  line-height: 1.3;
}

.team-header p {
  font-size: 1.05rem;
  color: #666;
  margin-top: 0.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--cor-branca);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
  text-align: center;
  border: 1px solid rgba(223, 121, 40, 0.08);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
  border-color: var(--cor-laranja);
}

.team-avatar {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f0f0f0;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-avatar img {
  transform: scale(1.05);
}

.team-card h3 {
  font-size: 1.3rem;
  color: var(--cor-preta);
  margin: 1.5rem 1rem 0.5rem;
  font-weight: 700;
}

.team-role {
  font-size: 0.9rem;
  color: var(--cor-laranja);
  font-weight: 600;
  margin: 0 1rem 1rem !important;
}

.team-bio {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
  padding: 0 1rem 1.5rem;
  margin: 0 !important;
}

.testimonials-section {
  width: 100%;
  padding: 5rem 0;
  background: linear-gradient(135deg, #f9f9f9 0%, var(--cor-branca) 100%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--cor-preta);
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

.testimonials-header .testimonials-subtitle {
  font-size: 1rem;
  color: #999;
  margin-top: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* Modern testimonial card design */
.testimonial-card {
  background: #fdfdfe;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(16, 24, 40, 0.12);
}

.testimonial-stars {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
}

.testimonial-stars svg {
  width: 16px;
  height: 15px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.testimonial-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 1.2rem 0;
}

.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.95rem;
  color: var(--cor-preta);
  margin: 0;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--cor-laranja);
  font-weight: 500;
  margin: 0.2rem 0 0;
}

.cta-final-section {
  width: 100%;
  padding: var(--section-vertical) 2rem;
  background-image: url(../assets/img/artesao-cortando-metal-e-soldando.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.cta-final-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 37, 37, 0.85) 0%,
    rgba(223, 121, 40, 0.7) 100%
  );
  z-index: 1;
}

.cta-final-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--cor-branca);
  animation: fadeInUp 0.8s ease-out;
}

.cta-final-content h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cta-final-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(223, 121, 40, 0.1);
  color: var(--cor-laranja);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.mvv-grid > *,
.team-grid > *,
.testimonials-grid > *,
.historia-content > * {
  transition-delay: 0s;
}
.mvv-grid > *:nth-child(1),
.team-grid > *:nth-child(1),
.testimonials-grid > *:nth-child(1),
.historia-content > *:nth-child(1) {
  transition-delay: 0.04s;
}
.mvv-grid > *:nth-child(2),
.team-grid > *:nth-child(2),
.testimonials-grid > *:nth-child(2),
.historia-content > *:nth-child(2) {
  transition-delay: 0.1s;
}
.mvv-grid > *:nth-child(3),
.team-grid > *:nth-child(3),
.testimonials-grid > *:nth-child(3),
.historia-content > *:nth-child(3) {
  transition-delay: 0.16s;
}
.mvv-grid > *:nth-child(4),
.team-grid > *:nth-child(4),
.testimonials-grid > *:nth-child(4),
.historia-content > *:nth-child(4) {
  transition-delay: 0.22s;
}

.about-img img,
.historia-img img,
.team-avatar img {
  border-radius: var(--radius);
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .historia-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    gap: 2rem;
    padding: 0 1rem;
    margin: 3rem auto;
  }

  .cta-final-section {
    padding: 3rem 1rem;
  }

  .historia-section {
    padding: 3rem 0;
  }

  .mvv-section {
    padding: 3rem 0;
  }

  .team-section {
    padding: 3rem 0;
  }

  .testimonials-section {
    padding: 3rem 0;
  }
}
