/* Reset básico e estilos globais */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #F3F4F6; /* Fundo neutro claro */
  color: #111827;
  line-height: 1.6;
}

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

/* Header compacto com contatos */
.main-header {
  background-color: #1E3A8A;
  color: #ffffff;
  width: 100%;
}

.contact-bar {
  padding: 0.8rem 1rem;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo no header */
.header-logo {
  display: flex;
  align-items: center;
}

.header-logo-img {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.contact-options {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 140px;
}

.contact-option i {
  font-size: 20px;
  flex-shrink: 0;
}

.option-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.option-text span {
  font-size: 11px;
  opacity: 0.95;
  font-weight: 400;
}

.option-text strong {
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.support,
.call {
  background-color: #1E3A8A;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.support:hover,
.call:hover {
  background-color: #1e40af;
  transform: translateY(-1px);
}

.whatsapp {
  background-color: #25D366;
}

.whatsapp:hover {
  background-color: #22c35e;
  transform: translateY(-1px);
}

/* Rodapé */
footer {
  background-color: #0A1E4C;
  color: #fff;
  padding: 1.5rem 0;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.footer-info p {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  line-height: 1.3;
}

.highlight {
  font-weight: 600;
  font-size: 1.2rem;
}

.btn-link {
  color: #fff;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.btn-link:hover {
  background-color: #25D366;
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.social-btn {
  color: #fff;
  font-size: 1.8rem;
  background-color: rgba(255, 255, 255, 0.1);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: #25D366;
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Seção de depoimentos */
.testimonials {
  padding: 4rem 0;
  margin: 2rem 0;
  background-color: #0A1E4C;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.testimonial-item {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.testimonial-item.active {
  display: block;
  opacity: 1;
}

.testimonial-content {
  background-color: #fff;
  color: #1E3A8A;
  padding: 2.5rem;
  border-radius: 20px;
  margin: 0 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.quote {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 500;
}

.author .name {
  color: #1E3A8A;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.author .role {
  color: #4B5563;
  font-size: 1rem;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 2;
}

.carousel-controls button {
  background: rgba(255, 255, 255, 0.9);
  color: #1E3A8A;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-controls button:hover {
  background: #fff;
  transform: scale(1.1);
}

/* Destaque franquias */
.franchise-highlight {
  background: linear-gradient(135deg, #25D366, #22c35e);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.franchise-highlight h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
  background: none;
  padding: 0;
}

.franchise-highlight p {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Botão flutuante do WhatsApp */
.whatsapp-contact {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.whatsapp-contact:hover {
  opacity: 0.9;
  transform: scale(1.1);
}

.whatsapp-text {
  position: fixed;
  bottom: 85px;
  right: 20px;
  background-color: #25D366;
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transform: translateY(0);
}

/* Banner modal (estrutura básica, ainda desativado) */
.floating-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  display: none;
  max-width: 90%;
  width: 600px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
}

.floating-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.close-banner {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background-color: #1E3A8A;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.close-banner:hover {
  background-color: #25D366;
  transform: scale(1.1);
}

.banner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: none;
}

/* ============================================
   BANNER DE COOKIES - Estilo Profissional
   ============================================ */

/* Banner principal de cookies */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #2c3e50; /* Azul-cinza escuro como na imagem */
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: none;
  padding: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

.cookie-text a {
  color: #3498db; /* Azul para o link "Saiba mais" */
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cookie-text a:hover {
  color: #5dade2;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Botões do banner de cookies */
.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 120px;
  text-align: center;
}

/* Botão Aceitar Todos - Verde */
#accept-cookies {
  background: #25D366; /* Verde WhatsApp */
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

#accept-cookies:hover {
  background: #22c35e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

#accept-cookies:active {
  transform: translateY(0);
}

/* Botão Gerenciar - Azul */
#manage-cookies {
  background: #1E3A8A; /* Azul do site */
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
}

#manage-cookies:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

#manage-cookies:active {
  transform: translateY(0);
}

/* Botão Rejeitar - Estilo Outline (borda branca) */
#reject-cookies {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

#reject-cookies:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ecf0f1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

#reject-cookies:active {
  transform: translateY(0);
}

/* ============================================
   MODAL DE PREFERÊNCIAS DE COOKIES
   ============================================ */

#cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.modal-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
}

#close-modal {
  background: none;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  border-radius: 50%;
}

#close-modal:hover {
  color: #2c3e50;
  background: #f0f0f0;
}

.cookie-option {
  margin-bottom: 20px;
  padding: 18px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.cookie-option:hover {
  border-color: #3498db;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.cookie-option.disabled {
  background: #f0f0f0;
  opacity: 0.8;
  cursor: not-allowed;
}

.cookie-option strong {
  display: block;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.cookie-option small {
  display: block;
  color: #666;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.cookie-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #25D366;
}

#save-cookie-settings {
  width: 100%;
  padding: 14px 24px;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

#save-cookie-settings:hover {
  background: #22c35e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

#save-cookie-settings:active {
  transform: translateY(0);
}