/* desenvolvido por @_edsonmonteiro_ */
:root {
  --red: #ff6161;
  --light: #fff2e2;
  --dark: #0d0d0d;
}
@font-face {
  font-family: 'Eina03';
  src: url('Eina03.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Eina03', sans-serif;
  background: var(--dark);
  color: var(--light);
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* Image helpers */
.logo {
  max-width: 150px;
}
.mission-text,
.section-title,
.quality-text,
.contacts {
  width: min(90%, 600px);
  margin-left: auto;
  margin-right: auto;
}

.mission-title {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  max-width: 250px;
}
.service-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 1rem auto;
}
header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 97, 97, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
header.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
header.navbar a {
  text-decoration: none;
  color: #782828;
  font-weight: 500;
  transition: color .3s;
}
header.navbar a:hover {
  color: var(--dark);
}
.hero {
  min-height: 100vh;
  background-color: var(--dark);
  background-image: url('secao_Cor_fff2e2.png');
  background-position: top center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  padding: 2rem;
  color: var(--light);
  position: relative;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.hero-content img {
  margin: 0.5rem 0;
}
.hero-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-record { display: none; }
.section {
  padding: 6rem 2rem 2rem;
  text-align: center;
}

.services {
  background: var(--light);
  color: var(--dark);
}

.quality {
  background: var(--red);
  color: var(--light);
}

.contact {
  background: var(--light);
  color: var(--dark);
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}
.service {
  background: transparent;
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 320px;
  border: 2px solid var(--red);
}
.service p {
  margin-top: 1rem;
  color: var(--dark);
  font-size: 0.95rem;
}
.record-wrapper {
  position: relative;
  width: min(300px, 80vw);
  margin: 2rem auto;
}
.record-bg {
  width: 100%;
}
.record {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  transform: translate(-50%, -50%);
  animation: spin 20s linear infinite;
}
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.btn {
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  text-decoration: none;
  transition: background .3s, transform .3s;
  display: inline-block;
}
.btn:hover {
  background: #e55555;
  transform: scale(1.05);
}
.btn.secondary {
  background: transparent;
  border: 2px solid var(--red);
}
.btn.secondary:hover {
  background: var(--red);
}
/* mobile record in hero */
.hero-record .record {
  top: 45%;
}
footer.footer {
  padding: 2rem;
  text-align: center;
  background: var(--light);
  color: var(--dark);
}
/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Responsive */
  @media (max-width: 768px) {
    .hero {
      justify-content: center;
      align-items: center;
      text-align: center;
      background-size: cover;
      background-position: center;
    }
    .hero-content {
      align-items: center;
    }
    .service-list {
      flex-direction: column;
      align-items: center;
    }
    header.navbar {
      flex-direction: column;
      gap: 1rem;
    }
    .hero-record {
      display: block;
      margin-top: 1rem;
    }
  }

  @media (max-width: 480px) {
    .btn {
      padding: 0.65rem 1.2rem;
    }
    .service {
      max-width: 90%;
    }
    header.navbar {
      padding: 1rem;
    }
    .logo {
      max-width: 120px;
    }
  }

  @media (min-width: 769px) {
    .hero {
      background-color: #fff;
      background-image: none;
      color: var(--dark);
    }
    .service {
      border: none;
    }
    .quality-content {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2rem;
    }
    .quality-content .record-wrapper {
      margin: 0;
    }
    .mission-title {
      margin-top: 6rem;
    }
  }
