* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1a1f36;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background-color: #0d1321;
  position: fixed;
  width: 100%;
  height: 100px;
  top: 0;
  z-index: 1000;
}

.header img {
    margin-top: 225px;
    width: 200px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #e31837;
}
.btn-contato-nav {
  background-color: #e31837;
  color: #ffffff;
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-contato-nav:hover {
  background-color: #c41530;
}
/* Mobile Menu CSS-only */
.menu-toggle {
  display: none;
}
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 100;
}
.menu-btn span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hero {
  background-color: #0d1321;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 80px 80px;
}
.hero-content {
  max-width: 600px;
}
.hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 18px;
  color: #a0aec0;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.btn-primary {
  background-color: #e31837;
  color: #ffffff;
  padding: 14px 32px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #c41530;
}
.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  padding: 14px 32px;
  border: 2px solid #ffffff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: #ffffff;
  color: #0d1321;
}
.stats {
  background-color: #e31837;
  padding: 60px 80px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.stat-item {
  text-align: center;
  min-width: 150px;
}
.stat-number {
  font-size: 56px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 18px;
  color: #ffffff;
  opacity: 0.9;
}
.servicos {
  padding: 80px;
  background-color: #f7f7f7;
}
.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #1a1f36;
  margin-bottom: 60px;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.servico-card {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.servico-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.servico-icon {
  width: 50px;
  height: 50px;
  color: #e31837;
  margin-bottom: 20px;
}
.servico-title {
  font-size: 20px;
  font-weight: bold;
  color: #1a1f36;
  margin-bottom: 12px;
}
.servico-desc {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.7;
}
.sobre {
  background-color: #0d1321;
  padding: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.sobre-content {
  max-width: 500px;
  flex: 1;
  min-width: 280px;
}
.sobre-title {
  font-size: 32px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}
.sobre-text {
  font-size: 16px;
  color: #a0aec0;
  line-height: 1.8;
}
.sobre-image {
  flex: 1;
  max-width: 600px;
  min-width: 280px;
}
.carousel {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  opacity: 0;
  animation: slideshow 12s infinite;
}
.carousel-slide:nth-child(1) {
  background-image: url(./img/Campinas.webp);
  background-size: cover;
  animation-delay: 0s;
}
.carousel-slide:nth-child(2) {
  background-image: url(./img/Ribeirão\ Preto.jpg);
  background-size: cover;
  animation-delay: 3s;
}
.carousel-slide:nth-child(3) {
  background-image: url(./img/cidade-de-sao-paulo.jpg);
  background-size: cover;
  animation-delay: 6s;
}
.carousel-slide:nth-child(4) {
  background-image: url(./img/Ubatuba.jpg);
  background-size: cover;
  animation-delay: 9s;
}
@keyframes slideshow {
  0% { opacity: 0; }
  4% { opacity: 1; }
  25% { opacity: 1; }
  29% { opacity: 0; }
  100% { opacity: 0; }
}
.carousel-indicators {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.indicator:nth-child(1) { animation: indicatorActive 12s infinite 0s; }
.indicator:nth-child(2) { animation: indicatorActive 12s infinite 3s; }
.indicator:nth-child(3) { animation: indicatorActive 12s infinite 6s; }
.indicator:nth-child(4) { animation: indicatorActive 12s infinite 9s; }
@keyframes indicatorActive {
  0% { background: rgba(255, 255, 255, 0.5); }
  4% { background: #ffffff; }
  25% { background: #ffffff; }
  29% { background: rgba(255, 255, 255, 0.5); }
  100% { background: rgba(255, 255, 255, 0.5); }
}
.contato {
  padding: 80px;
  background-color: #ffffff;
}
.contato-title {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  color: #1a1f36;
  margin-bottom: 60px;
}
.contato-info {
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.contato-info-title {
  font-size: 20px;
  font-weight: bold;
  color: #1a1f36;
  margin-bottom: 20px;
  text-align: center;
}
.contato-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #4a5568;
  flex-wrap: wrap;
}
.contato-icon {
  width: 20px;
  height: 20px;
  color: #e31837;
  flex-shrink: 0;
}
.avaliacao {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}
.avaliacao h2 {
  font-weight: bold;
  font-size: 28px;
  color: #1a1f36;
  margin-bottom: 30px;
}
.estrelas {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  gap: 5px;
  margin-bottom: 20px;
}
.estrelas input {
  display: none;
}
.estrelas label {
  font-size: 40px;
  color: #d1d5db;
  cursor: pointer;
  transition: color 0.2s ease;
}
.estrelas label:hover,
.estrelas label:hover ~ label,
.estrelas input:checked ~ label {
  color: #fbbf24;
}
.footer {
  background-color: #0d1321;
  padding: 30px 80px;
  text-align: center;
}
.footer-text {
  color: #6b7280;
  font-size: 14px;
}

/* Tablet */
@media (max-width: 1024px) {
  .header {
    padding: 20px 40px;
  }
  .nav {
    gap: 25px;
  }
  .hero {
    padding: 120px 40px 80px;
  }
  .hero-title {
    font-size: 40px;
  }
  .stats {
    padding: 40px;
  }
  .stat-number {
    font-size: 42px;
  }
  .servicos {
    padding: 60px 40px;
  }
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sobre {
    padding: 60px 40px;
  }
  .contato {
    padding: 60px 40px;
  }
  .footer {
    padding: 30px 40px;
  }
}
/* Mobile */
@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }
  .menu-btn {
    display: flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0d1321;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-top: 1px solid #2d3748;
  }
  .menu-toggle:checked ~ .nav {
    display: flex;
  }
  .menu-toggle:checked ~ .menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .menu-toggle:checked ~ .menu-btn span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  .stats {
    padding: 40px 20px;
    flex-direction: column;
    gap: 30px;
  }
  .stat-number {
    font-size: 36px;
  }
  .stat-label {
    font-size: 16px;
  }
  .servicos {
    padding: 50px 20px;
  }
  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .servicos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .servico-card {
    padding: 30px 20px;
  }
  .sobre {
    padding: 50px 20px;
    flex-direction: column;
    gap: 40px;
  }
  .sobre-content {
    text-align: center;
  }
  .sobre-title {
    font-size: 24px;
  }
  .sobre-text {
    font-size: 15px;
  }
  .carousel {
    height: 200px;
  }
  .contato {
    padding: 50px 20px;
  }
  .contato-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  .contato-info {
    margin-bottom: 40px;
  }
  .contato-item {
    font-size: 14px;
  }
  .avaliacao h2 {
    font-size: 24px;
  }
  .estrelas label {
    font-size: 32px;
  }
  .footer {
    padding: 20px;
  }
  .footer-text {
    font-size: 12px;
  }
}
/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .stat-number {
    font-size: 30px;
  }
  .section-title {
    font-size: 24px;
  }
  .servico-title {
    font-size: 18px;
  }
  .servico-desc {
    font-size: 14px;
  }
  .sobre-title {
    font-size: 22px;
  }
  .contato-title {
    font-size: 24px;
  }
  .estrelas label {
    font-size: 28px;
  }
  .carousel {
    height: 180px;
  }
}
