* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8f8f8;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.portfolio-hero {
  padding: 120px 0 80px 0;
  background: url('../imgs/sobre.nos_-768x1024.jpg.jpg') center center/cover no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portfolio-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-family: "Montserrat", Sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  line-height: 1.1;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: "Montserrat", Sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: #ffffff;
  line-height: 1.6;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.nossa-historia {
  padding: 100px 0;
  background: #f8f8f8;
}
.historia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.historia-texto {
  padding: 20px 0;
}

.historia-titulo {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  margin: 20px 0 30px 0;
  border-radius: 2px;
}

.historia-paragrafos p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}

.historia-paragrafos strong {
  font-weight: 700;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.historia-imagem {
  display: flex;
  justify-content: center;
  align-items: center;
}

.historia-imagem img {
  width: 100%;
  max-width: 100%;
  height: 900px;
  object-fit: contain;
  background-color: #f8f8f8;
  transition: transform 0.3s ease;
}

.mv-section {
  padding: 100px 0;
  background: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.mv-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ddd" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ddd" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ddd" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.mv-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.mv-title {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mv-subtitle {
  font-size: 20px;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.card {
  background: #f8f8f8;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  transform-style: preserve-3d;
  overflow: hidden;
  cursor: pointer;
}

.card:not(.reveal-bounce):not(.reveal-scale-bounce):not(.reveal-flip) {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-bounce {
  opacity: 0;
  transform: translateY(0);
  transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  will-change: opacity, transform;
}

.reveal-bounce.active {
  opacity: 1;
  animation: bounceInFromZero 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

@keyframes bounceInFromZero {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-scale-bounce {
  opacity: 0;
  transform: scale(1);
  transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  will-change: opacity, transform;
}

.reveal-scale-bounce.active {
  opacity: 1;
  animation: scaleBounceIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

@keyframes scaleBounceIn {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(0.7);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal-flip {
  opacity: 0;
  transform: perspective(400px) rotateY(90deg);
  transition: all 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  will-change: opacity, transform;
}

.reveal-flip.active {
  opacity: 1;
  animation: flipIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

@keyframes flipIn {
  0% {
    opacity: 0;
    transform: perspective(400px) rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg);
  }
}

.reveal-rotate {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-rotate.active {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.reveal-fade-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-fade-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal-slide-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}

.card:hover::before,
.card.hover-active::before {
  transform: scaleX(1);
}

.card:hover,
.card.hover-active {
  transform: translateY(-20px) rotateX(5deg) scale(1.05) !important;
  box-shadow: 0 40px 80px rgba(0,0,0,0.2);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1) !important;
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 24px;
  color: #fff;
  transition: all 0.3s ease;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
}

.icon-title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.icon-title-wrapper .card-icon {
  margin-bottom: 0;
}

.icon-title-wrapper .title-inline {
  margin-bottom: 0;
}

.card:hover .card-icon,
.card.hover-active .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-stats {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
}

.stat-label {
  font-size: 14px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card p {
  font-size: 16px;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 0;
}

.valores ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.valores li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.valores li:hover {
  background: #e9ecef;
  transform: translateX(10px);
}

.valores li span {
  margin-right: 15px;
  font-size: 18px;
  font-weight: bold;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mapa-obras {
  text-align: center;
  padding: 100px 20px;
  background: #f8f8f8;
}

.mapa-obras h2 {
  font-family: 'Inter', sans-serif;
  font-size: 42px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  letter-spacing: -0.02em;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mapa-obras h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(139deg, #000059 0%, #223E70 100%);
  margin: 20px auto 0;
  border-radius: 2px;
}

.mapa-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.mapa-container iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}

.mapa-container .mapa-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #f8f8f8;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .sobre-titulo-texto {
    font-size: 56px;
  }
  
  .historia-content {
    gap: 60px;
  }
  
  .historia-titulo {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f8f8f8;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .sobre-titulo {
    padding: 100px 0 60px 0;
  }
  
  .sobre-titulo-texto {
    font-size: 48px;
  }
  
  .nossa-historia {
    padding: 80px 0;
  }
  
  .historia-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .historia-titulo {
    font-size: 36px;
    text-align: center;
  }
  
  .historia-paragrafos p {
    font-size: 16px;
    text-align: center;
  }
  
  .divider {
    margin: 20px auto 30px auto;
  }
  
  .historia-imagem img {
    height: 450px;
    object-fit: contain;
    background-color: #f8f8f8;
  }
  
  .mv-section {
    padding: 80px 0;
  }
  
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mv-title {
    font-size: 36px;
  }
  
  .mv-subtitle {
    font-size: 18px;
  }
  
  .card {
    padding: 40px 30px;
  }
  
  .card h2 {
    font-size: 24px;
  }
  
  .card p {
    font-size: 15px;
  }
  
  .valores li {
    font-size: 14px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .mapa-obras {
    padding: 80px 20px;
  }
  
  .mapa-obras h2 {
    font-size: 36px;
  }
  
  .mapa-container iframe {
    height: 300px;
  }
  
}

@media (max-width: 480px) {
  .sobre-titulo {
    padding: 80px 0 40px 0;
  }
  
  .sobre-titulo-texto {
    font-size: 40px;
  }
  
  .nossa-historia {
    padding: 60px 0;
  }
  
  .historia-content {
    gap: 30px;
  }
  
  .historia-titulo {
    font-size: 32px;
  }
  
  .historia-paragrafos p {
    font-size: 15px;
  }
  
  .historia-imagem img {
    height: 350px;
    object-fit: contain;
    background-color: #f8f8f8;
  }
  
  .mv-section {
    padding: 60px 0;
  }
  
  .mv-title {
    font-size: 28px;
  }
  
  .mv-subtitle {
    font-size: 16px;
  }
  
  .card {
    padding: 30px 20px;
  }
  
  .card h2 {
    font-size: 22px;
  }
  
  .card p {
    font-size: 14px;
  }
  
  .valores li {
    font-size: 13px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .mapa-obras {
    padding: 60px 15px;
  }
  
  .mapa-obras h2 {
    font-size: 28px;
  }
  
  .mapa-container iframe {
    height: 250px;
  }
  
}
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.floating-whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.floating-whatsapp a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.pulse-infinite {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1024px) {
  .floating-whatsapp {
    bottom: 25px;
    right: 25px;
  }

  .floating-whatsapp a {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }

  .floating-whatsapp a {
    width: 50px;
    height: 50px;
    font-size: 20px;
    min-height: 44px;
    min-width: 44px;
  }
}


