:root {
  --primary: #173976;
  --secondary: #facb04;
  --tertiary: #ffffff;
  --dark: #0d1f3d;
  --light: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: var(--tertiary);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px; /* Reduzi de 15px para 5px */
}

.logo-image {
  height: 60px;
  margin-right: -29px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.destak {
  color: #facb04;
  font-size: 2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 0; /* Removi qualquer margem esquerda */
}

.auto-center {
  color: white;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 30px; /* Reduzi de 20px para 15px */
  position: relative;
  left: 5px; /* Reduzi de 10px para 5px */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--tertiary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

nav a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--tertiary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(23, 57, 118, 0.8), rgba(23, 57, 118, 0.8)),
    url("https://lh3.googleusercontent.com/p/AF1QipMKQSsZJ7624wr6o0ebcA2bnKH0_AYG61JUyuJa=s3360-w3360-h1698-rw");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: var(--tertiary);
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--primary);
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
  padding: 5rem 2rem;
  background-color: var(--tertiary);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 4px;
  background-color: var(--secondary);
  bottom: -10px;
  left: 25%;
}

.section-title p {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-content p {
  color: #666;
  margin-bottom: 1.5rem;
}

.service-btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--tertiary);
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-btn:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

/* About Section */
.about {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: var(--tertiary);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feature-icon {
  background-color: var(--secondary);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 2rem;
  background-color: var(--light);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--tertiary);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 5rem;
  color: var(--secondary);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #555;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.author-info p {
  color: #777;
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  padding: 5rem 2rem;
  background: linear-gradient(rgba(23, 57, 118, 0.9), rgba(23, 57, 118, 0.9)),
    url("https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1632&q=80");
  background-size: cover;
  background-position: center;
  color: var(--tertiary);
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.cta-btn-primary {
  background-color: var(--secondary);
  color: var(--primary);
}

.cta-btn-secondary {
  background-color: transparent;
  color: var(--tertiary);
  border: 2px solid var(--tertiary);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact {
  padding: 5rem 2rem;
  background-color: var(--tertiary);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.6;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 1rem;
}

.contact-text h3 {
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.contact-text a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 57, 118, 0.2);
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary);
  color: var(--tertiary);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--tertiary);
  padding: 3rem 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
  bottom: 0;
  left: 0;
}

.footer-col p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-img {
    order: -1;
  }
}

/* MOBILE E TABLET (funciona até 1024px) */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 1rem;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    padding: 1.5rem 0;
    gap: 1.5rem;
    text-align: center;
    z-index: 999;
  }

  nav ul.open {
    display: flex !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: cover !important;
    height: 80vh;
    min-height: 500px;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

/* Ajustes adicionais para telas muito pequenas */
@media (max-width: 480px) {
  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Estilo para o select */
.contact-form select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23173976'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  cursor: pointer;
  color: #333;
}

.contact-form select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 57, 118, 0.2);
}

.contact-form select option {
  padding: 0.5rem;
  background-color: white;
  color: #333;
}

/* Melhorar o hover das opções */
.contact-form select option:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

/* Estilo quando o select está vazio/inválido */
.contact-form select:invalid {
  color: #999;
}

/* ANIMAÇÕES*/
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}

/* Botões com animação suave */
button,
.hero-btn,
.service-btn,
.cta-btn {
  transition: all 0.4s ease;
}

button:hover,
.hero-btn:hover,
.service-btn:hover,
.cta-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* Imagens com efeito leve */
.service-img img,
.about-img img {
  transition: transform 0.7s ease;
}

.service-img img:hover,
.about-img img:hover {
  transform: scale(1.08);
}

.hero {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
