:root {
  --primary-color: #0056b3;
  --primary-dark: #003d82;
  --primary-light: #e6f0ff;
  --secondary-color: #00a0e1;
  --secondary-dark: #0085c7;
  --accent-color: #ff6b35;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #6c757d;
  --darker-gray: #495057;
  --black: #212529;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  
  --box-shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
  --box-shadow-hover: 0 15px 35px rgba(0, 86, 179, 0.2);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* Reset e Estilos Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;

}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-description {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--black);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* Seção de Destaque */
.destaque-contato {
  background-color: var(--white);
  padding: 1rem 0;
  position: relative;
  z-index: 3;
  margin-top: 100px;
}

.destaque-contato .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.destaque-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 86, 179, 0.1);
}

.destaque-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(0, 86, 179, 0.2);
}

.destaque-card i {
  font-size: 2.8rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.destaque-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.destaque-card p {
  color: var(--dark-gray);
  font-size: 0.95rem;
}

/* Layout de Contato */
.contato-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--dark-gray);
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

/* Formulário Premium */
.contato-formulario {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.contato-formulario::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--darker-gray);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Open Sans', sans-serif;
  transition: var(--transition);
  background-color: var(--light-gray);
}

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

.form-group select {
  appearance: none;
}

.form-group i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(50%);
  color: var(--primary-color);
  font-size: 1.1rem;
}

.form-group textarea + i {
  top: 1.8rem;
  transform: none;
}

.form-group select + i {
  left: 1rem;
  right: auto;
  pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
  background-color: var(--white);
}

/* Botão de Envio */
.form-footer {
  grid-column: span 2;
  text-align: center;
  margin-top: 1rem;
}

.btn-submit {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

.btn-submit:active {
  transform: translateY(1px);
}

.submit-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

.form-notice {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--dark-gray);
}

.form-notice i {
  color: var(--success-color);
  margin-right: 0.3rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Mensagem de Retorno */
.retorno-message {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.retorno-message.show {
  opacity: 1;
  transform: translateY(0);
}

.retorno-message.sucesso {
  color: var(--success-color);
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.retorno-message.erro {
  color: var(--error-color);
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Sidebar de Contato */
.contato-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.sidebar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.sidebar-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.sidebar-card h3 i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Mapa Interativo */
.mapa-premium {
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--medium-gray);
}

.mapa-endereço {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.mapa-endereço i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
  margin-right: 0.5rem;
}

/* Lista de Horários */
.horario-list {
  list-style: none;
}

.horario-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--medium-gray);
}

.horario-list li:last-child {
  border-bottom: none;
}

.horario-list li.destaque {
  color: var(--primary-color);
  font-weight: 600;
}

/* Lista de Contatos */
.contato-list {
  list-style: none;
  margin-top: 1.5rem;
}

.contato-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--medium-gray);
}

.contato-list li:last-child {
  border-bottom: none;
}

.contato-list i {
  font-size: 1.2rem;
  color: var(--primary-color);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
}

.contato-list span {
  display: block;
  font-size: 0.85rem;
  color: var(--dark-gray);
  margin-bottom: 0.2rem;
}

.contato-list a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.contato-list a:hover {
  color: var(--primary-color);
}

/* Redes Sociais Premium */
.social-premium {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-link.linkedin {
  background-color: #0077b5;
}

.social-link.instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

/* Seção FAQ */
.faq-section {
  background-color: var(--light-gray);
  padding: 5rem 0;
  text-align: center;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background-color: var(--white);
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--primary-light);
}

.faq-question i {
  transition: var(--transition);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: var(--white);
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--darker-gray);
}

.faq-question.active + .faq-answer {
  max-height: 300px;
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 5rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-logo p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-col a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-info i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* WhatsApp Button */
.whatsapp-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #25D366;
  color: white !important; /* Correção visual de segurança */
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-decoration: none;
  width: 100%;
}

.whatsapp-btn i {
  font-size: 1rem;
  color: white !important; /* Garante contraste correto */
}

.whatsapp-btn:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}

.whatsapp-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.whatsapp-btn i {
  font-size: 1rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsivo */
@media (max-width: 1200px) {
  .hero-contato h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .contato-container {
    grid-template-columns: 1fr;
  }
  
  .hero-contato h1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .destaque-contato .container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
  .hero-contato h1 {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .contato-formulario {
    padding: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .whatsapp-btn {
    padding: 0.8rem;
  }
  
  .whatsapp-btn span {
    display: none;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}