/* contato.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color: #333;
  background-color: #f9f9f9;
  padding-bottom: 0;
}

/* Navbar com padrão de listras sutis */
.navbar {
  background: repeating-linear-gradient(
    45deg,
    #062912,
    #062912 10px,
    #083a18 10px,
    #083a18 20px
  ) !important;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  height: 40px;
  width: auto;
  max-height: 50px;
  margin-right: 10px;
}

a.navbar-brand {
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

a.navbar-brand:hover {
  color: rgba(255, 255, 255, 0.8);
}

a.nav-link {
  color: white !important;
  font-weight: 500;
  margin-left: 10px;
  transition: all 0.3s ease;
}

a.nav-link:hover,
a.nav-link.active {
  color: #a0c8a2 !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Banner promocional com cor laranja sólida */
.promo-banner {
  background-color: #ff6600;
  color: white;
  padding: 15px 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.promo-banner h3 {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 1.3rem;
}

.promo-banner p {
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* Cabeçalho da página */
.contact-header {
  background: linear-gradient(to bottom, 
    rgba(6, 41, 18, 0.7) 0%, 
    rgba(6, 41, 18, 0.8) 30%, 
    rgba(6, 41, 18, 0.9) 100%), 
    repeating-linear-gradient(
      45deg, 
      transparent, 
      transparent 10px, 
      rgba(255,255,255,0.05) 10px, 
      rgba(255,255,255,0.05) 20px
    ),
    url('images/contact-header-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.contact-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Container principal */
.contact-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin-bottom: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Seção de informações de contato */
.contact-info {
  padding: 20px;
}

.contact-info h2 {
  color: #062912;
  margin-bottom: 25px;
  font-weight: 700;
  border-bottom: 2px solid #062912;
  padding-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateX(5px);
}

.info-item i {
  color: #062912;
  font-size: 24px;
  margin-right: 20px;
  margin-top: 5px;
}

.info-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #062912;
  font-weight: 600;
}

.info-item p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.social-media {
  margin-top: 30px;
}

.social-media h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #062912;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #062912;
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  transform: scale(1.1);
  background-color: #124a2e;
}

/* Formulário de contato */
.contact-form {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23062912' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-form h2 {
  color: #062912;
  margin-bottom: 25px;
  font-weight: 700;
  border-bottom: 2px solid #062912;
  padding-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #062912;
  box-shadow: 0 0 0 2px rgba(6, 41, 18, 0.2);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.btn-submit {
  background-color: #062912;
  color: white;
  font-weight: 600;
  padding: 14px 24px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background-color: #0a4720;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-success {
  background-color: #062912 !important;
}

/* Mapa */
.map-container {
  text-align: center;
  margin-bottom: 50px;
}

.map-container h2 {
  color: #062912;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  position: relative;
  padding-bottom: 15px;
}

.map-container h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #062912;
}

.map-container iframe {
  width: 90%;
  max-width: 1000px;
  height: 450px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container iframe:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Localizador */
.location-finder {
  text-align: center;
  margin-bottom: 70px;
  padding: 60px 20px;
  border-radius: 10px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  background-color: #f8f9fa;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23062912' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-top: 3px solid #062912;
  border-bottom: 3px solid #062912;
}

.location-finder h2 {
  color: #062912;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.location-finder h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #062912;
}

.location-finder p {
  margin-bottom: 25px;
  color: #555;
  font-size: 1.1rem;
}

.btn-location {
  background-color: #062912;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-location:hover {
  background-color: #0a4720;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-location i {
  font-size: 1.2em;
}

#demo {
  margin: 25px auto 0;
  max-width: 500px;
}

.loading {
  color: #062912;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.error {
  color: #e74c3c;
  padding: 15px;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 6px;
  display: inline-block;
  font-weight: 500;
}

.location-result {
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
}

.location-result:hover {
  transform: translateY(-5px);
}

.location-result p {
  margin: 5px 0;
  font-size: 0.95rem;
}

.location-result .distance {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #062912;
  font-weight: bold;
}

/* CTA Banner com padrão de listras e cor laranja */
.cta-banner {
  background: linear-gradient(rgba(255, 102, 0, 0.9), rgba(204, 51, 0, 0.9)), 
              repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(255,255,255,0.05) 10px,
                rgba(255,255,255,0.05) 20px
              ),
              url('images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  color: white;
  margin: 30px 0;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Botão laranja para a promoção */
.btn-promocao {
  background-color: #fff;
  color: #ff6600;
  border: 2px solid #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-promocao:hover {
  background-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer com padrão de listras */
.footer {
  background: repeating-linear-gradient(
    45deg,
    #062912,
    #062912 10px,
    #083a18 10px,
    #083a18 20px
  );
  color: white;
  padding: 50px 0 20px;
  position: relative;
  width: 100%;
}

.footer h5 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-list li span {
  font-weight: 600;
  color: white;
}

.footer i {
  margin-right: 10px;
  color: #aad4b5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
}

/* Social links no footer */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: white;
  color: #062912;
  transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 991px) {
  .contact-container {
    padding: 20px;
  }
  
  .btn-location {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-header h1 {
    font-size: 2.3rem;
  }
  
  .contact-container {
    margin-left: 15px;
    margin-right: 15px;
  }

  .footer {
    text-align: center;
  }
  
  .footer h5 {
    margin-top: 30px;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-item i {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .promo-banner h3 {
    font-size: 1.1rem;
  }
  
  .promo-banner p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .contact-header {
    padding: 40px 15px;
  }
  
  .contact-header h1 {
    font-size: 2rem;
  }
  
  .info-item {
    flex-direction: column;
  }
  
  .info-item i {
    margin-bottom: 10px;
  }
  
  .map-container iframe {
    height: 300px;
  }
  
  .location-finder {
    padding: 40px 15px;
  }
  
  .location-result {
    padding: 15px;
  }
}

/* Animações */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.btn-submit:active, .btn-location:active {
  transform: scale(0.98);
}

/* Melhorias de acessibilidade */
:focus {
  outline: 2px solid #062912;
  outline-offset: 2px;
}

::selection {
  background-color: #062912;
  color: white;
}
