:root {

  /* Paleta baseada nas cores exatas da Logo A.·.R.·.L.·.S.· Cruz Templária Nº 343 */

  --primary: #7BC1E8;        /* Azul Celeste da logo */

  --primary-dark: #5A9BC0;   /* Azul Celeste escuro */

  --primary-mid: #6DB3DA;    /* Azul Celeste médio */

  

  --secondary: #FFF38A;      /* Amarelo Claro do fundo */

  --secondary-dark: #E6D868; /* Amarelo um pouco mais escuro */

  

  --accent: #5A9BC0;         /* Azul Escuro da cruz central */
  --accent-dark: #377091;    /* Azul ainda mais escuro */
  --accent-light: #7BC1E8;   /* Azul Claro */

  

  --green-lodge: #2A8738;    /* Verde da coroa de louros */

  --whatsapp: #25D366;       /* VERDE DO WHATSAPP */

  --whatsapp-dark: #128C7E;  /* VERDE ESCURO DO WHATSAPP */

  

  --text-light: #555555;     /* Texto sutil */

  --text-dark: #222222;      /* Texto principal escuro para contraste */

  --bg-body: #F4F8FB;        /* Fundo bem clarinho (azulado) */

  --bg-white: #ffffff;       /* Branco do escudo */

  

  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}



* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}



body {

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  background: var(--bg-body);

  color: var(--text-dark);

  line-height: 1.6;

  min-height: 100vh;

  display: flex;

  flex-direction: column;

}



/* ===== HEADER COM TEMÁTICA MAÇÔNICA ===== */

.main-header {

  background: #ffffff;

  width: 100%;

  position: sticky;

  top: 0;

  z-index: 1000;

  box-shadow: 0 4px 15px rgba(0,0,0,0.1);

  border-bottom: 4px solid var(--primary);

}



.header-container {

  max-width: 1400px;

  margin: 0 auto;

  padding: 8px 25px;

  display: flex;

  justify-content: space-between;

  align-items: center;

}



/* ===== LOGO ===== */

.logo {

  display: flex;

  align-items: center;

  text-decoration: none;

}



.header-logo {

  max-height: 100px;

  max-width: 300px;

  width: auto;

  height: auto;

  object-fit: contain;

  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));

}



/* ===== MENU DESKTOP ===== */

.main-nav {

  display: flex;

  gap: 2px;

  align-items: center;

}



.main-nav a {

  color: var(--text-dark);

  text-decoration: none;

  font-size: 15px;

  font-weight: 600;

  padding: 8px 14px;

  border-radius: 4px;

  transition: all 0.3s;

  display: flex;

  align-items: center;

  white-space: nowrap;

  letter-spacing: 0.5px;

  text-transform: uppercase;

  border-bottom: 3px solid transparent;

}



.main-nav a i {

  margin-right: 6px;

  font-size: 15px;

  color: var(--primary);

}



.main-nav a:hover {

  background: rgba(123, 193, 232, 0.15);

  color: var(--primary-dark);

  border-bottom: 3px solid var(--primary);

}



.main-nav a:hover i {

  color: var(--primary-dark);

}



.main-nav a.active {

  background: rgba(123, 193, 232, 0.2);

  color: var(--primary-dark);

  border-bottom: 3px solid var(--primary);

  font-weight: 700;

}



/* ===== BOTÃO ÁREA RESTRITA ===== */

/* ===== BOTÃO ÁREA RESTRITA ===== */
.btn-admin {
  background: rgba(123, 193, 232, 0.1) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 8px 20px !important;
  margin-left: 10px !important;
  border-radius: 50px !important;
  text-transform: uppercase;
  border: 2px solid var(--primary-dark) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  letter-spacing: 0.5px;
  transition: var(--transition) !important;
}

.btn-admin i {
  color: var(--primary-dark) !important;
  font-size: 15px !important;
  margin-right: 6px;
}

.btn-admin:hover {
  background: var(--primary-dark) !important;
  color: #ffffff !important;
  border: 2px solid var(--primary-dark) !important;
  box-shadow: 0 6px 15px rgba(90, 155, 192, 0.4);
  transform: translateY(-2px);
}

.btn-admin:hover i {
  color: #ffffff !important;
}



/* ===== BOTÃO MOBILE ===== */

.mobile-menu-btn {

  display: none;

  background: none;

  border: 2px solid var(--primary);

  color: var(--primary);

  font-size: 28px;

  cursor: pointer;

  padding: 8px 15px;

  border-radius: 6px;

  transition: all 0.3s;

  background: rgba(123, 193, 232, 0.1);

}



.mobile-menu-btn:hover {

  background: var(--primary);

  color: #ffffff;

}



/* ===== MAIN CONTENT ===== */

.main-content {

  flex: 1;

  max-width: 1200px;

  margin: 0 auto;

  padding: 40px 20px;

  width: 100%;

}



/* ===== FOOTER COM IMAGEM DE FUNDO ===== */

.main-footer {

  position: relative;

  background: url('/uploads/logos/footer.png') center/cover no-repeat;

  color: var(--text-dark);

  padding: 40px 20px 20px;

  margin-top: auto;

  width: 100%;

  border-top: 4px solid var(--primary);

  box-shadow: 0 -5px 15px rgba(0,0,0,0.05);

}



/* Overlay claro para garantir leitura do texto, mas revelar o piso quadriculado */

.main-footer::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background: rgba(255, 255, 255, 0.75);

  z-index: 1;

  pointer-events: none;

}



.footer-container {

  position: relative;

  z-index: 2;

  max-width: 1200px;

  margin: 0 auto;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 25px;

}



.footer-section {

  position: relative;

  z-index: 2;

}



/* Títulos com a cor principal */

.footer-section h3 {

  color: var(--primary-dark);

  font-size: 1.1rem;

  font-weight: 700;

  margin-bottom: 15px;

  padding-bottom: 6px;

  border-bottom: 2px solid var(--secondary);

  display: inline-block;

  letter-spacing: 1px;

  text-transform: uppercase;

}



/* Textos */

.footer-section p {

  color: var(--text-dark);

  line-height: 1.5;

  margin-bottom: 8px;

  font-size: 0.95rem;

}



/* Links */

.footer-section a {

  color: var(--text-dark);

  text-decoration: none;

  transition: all 0.3s ease;

  display: block;

  margin-bottom: 6px;

  padding: 3px 0;

  border-bottom: 1px dashed rgba(123, 193, 232, 0.5);

  font-size: 0.95rem;

}



.footer-section a:hover {

  color: var(--primary-dark);

  padding-left: 8px;

  border-bottom-color: var(--primary);

}



/* Ícones da cor principal */

.footer-section i {

  color: var(--primary);

  margin-right: 8px;

  width: 18px;

  text-align: center;

  font-size: 0.95rem;

}



/* Logo do footer */

.footer-logo-container {

  margin-bottom: 15px;

  background: #ffffff;

  padding: 15px;

  border-radius: 8px;

  text-align: center;

  border: 1px solid rgba(123, 193, 232, 0.3);

  box-shadow: 0 2px 10px rgba(0,0,0,0.05);

}



.footer-logo {

  max-width: 150px;

  max-height: 70px;

  width: auto;

  height: auto;

  object-fit: contain;

  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));

}



/* ===== SOCIAL LINKS ===== */

.social-links {

  display: flex;

  gap: 10px;

  margin-top: 15px;

  flex-wrap: wrap;

  align-items: center;

  justify-content: flex-start;

}



.social-links a {

  width: 36px;

  height: 36px;

  background: #ffffff;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  color: var(--primary-dark);

  font-size: 1.1rem;

  transition: all 0.3s ease;

  border: 1px solid var(--primary);

  margin-bottom: 0;

  padding: 0;

  line-height: 1;

  text-decoration: none;

}



.social-links a i {

  margin-right: 0;

  width: auto;

  font-size: 1.1rem;

  color: var(--primary-dark);

  transition: all 0.3s ease;

}



.social-links a:hover {

  background: var(--primary);

  transform: translateY(-3px);

  box-shadow: 0 5px 12px rgba(123, 193, 232, 0.4);

}



.social-links a:hover i {

  color: #ffffff;

}



/* Informações de contato */

.footer-section .contact-info {

  background: rgba(123, 193, 232, 0.1);

  padding: 12px;

  border-radius: 8px;

  border-left: 3px solid var(--primary);

  border-right: 1px solid rgba(123, 193, 232, 0.2);

  border-top: 1px solid rgba(123, 193, 232, 0.2);

  border-bottom: 1px solid rgba(123, 193, 232, 0.2);

}



.footer-section .contact-info p {

  margin-bottom: 6px;

}



/* Copyright */

.copyright {

  position: relative;

  z-index: 2;

  text-align: center;

  padding-top: 25px;

  margin-top: 25px;

  border-top: 1px solid rgba(123, 193, 232, 0.3);

  font-size: 0.85rem;

  color: var(--text-light);

}



.copyright p {

  margin: 0;

  font-size: 0.85rem;

}



.copyright a {

  color: var(--primary-dark);

  text-decoration: none;

  display: inline-block;

  padding: 0;

  border-bottom: none;

  font-weight: 600;

}



.copyright a:hover {

  color: var(--primary);

  text-decoration: underline;

}



/* ===== CARDS ===== */

.card {

  background: var(--bg-white);

  border-radius: var(--radius);

  padding: 25px;

  box-shadow: var(--shadow);

  transition: var(--transition);

  height: 100%;

  display: flex;

  flex-direction: column;

}



.card:hover {

  transform: translateY(-5px);

  box-shadow: var(--shadow-lg);

}



.card-title {

  font-size: 1.3rem;

  margin-bottom: 15px;

  color: var(--primary-dark);

  font-weight: 700;

}



/* ===== GALERIA ===== */

.galeria-grid {

  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));

  gap: 25px;

  margin-top: 30px;

}



.galeria-item {

  position: relative;

  border-radius: var(--radius);

  overflow: hidden;

  box-shadow: var(--shadow);

  aspect-ratio: 1/1;

  cursor: pointer;

}



.galeria-item img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s;

}



.galeria-item:hover img {

  transform: scale(1.1);

}



.galeria-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  transform: translateY(0);
}



/* ===== FORMULÁRIOS ===== */

.form-container {

  background: #fff;

  padding: 30px;

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  max-width: 600px;

  margin: 0 auto;

}



.form-group {

  margin-bottom: 20px;

}



.form-group label {

  display: block;

  margin-bottom: 5px;

  font-weight: 500;

  color: var(--primary);

}



.form-control {

  width: 100%;

  padding: 12px;

  border: 1px solid #ddd;

  border-radius: var(--radius-sm);

  font-size: 1rem;

  transition: var(--transition);

}



.form-control:focus {

  border-color: var(--primary);

  outline: none;

  box-shadow: 0 0 0 3px rgba(123, 193, 232, 0.2);

}



textarea.form-control {

  resize: vertical;

  min-height: 120px;

}



/* ===== BOTÕES ===== */

.btn {

  display: inline-block;

  padding: 12px 30px;

  border: none;

  border-radius: var(--radius-sm);

  font-size: 1rem;

  font-weight: 600;

  text-decoration: none;

  cursor: pointer;

  transition: var(--transition);

  text-transform: uppercase;

  letter-spacing: 1px;

}



.btn-primary {

  background: var(--primary);

  color: #fff;

  border: 1px solid var(--primary-dark);

}



.btn-primary:hover {

  background: var(--primary-dark);

  color: #ffffff;

  transform: translateY(-2px);

  box-shadow: 0 5px 15px rgba(123, 193, 232, 0.4);

  border-color: var(--primary-dark);

}



.btn-secondary {

  background: transparent;

  color: var(--primary-dark);

  border: 2px solid var(--primary-dark);

}



.btn-secondary:hover {

  background: var(--primary-dark);

  color: #ffffff;

}



/* Página Nossa Loja */
.page-nossa-loja {
  background: transparent;
}

.page-hero {
  background: rgba(123, 193, 232, 0.08);
  border: 1px solid rgba(123, 193, 232, 0.2);
  border-radius: 24px;
  margin-bottom: 30px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-card .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-card h1 {
  color: var(--primary);
}

.hero-card p.lead {
  color: #424242;
  max-width: 680px;
}

.hero-image {
  background: #111;
}

.hero-image img {
  display: block;
  object-fit: cover;
  min-height: 320px;
  max-height: 420px;
}

.page-content .content-card {
  background: #ffffff;
}

.page-content .content-body {
  color: #333;
  font-size: 1rem;
  line-height: 1.85;
}

.page-content .content-body p {
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .page-hero,
  .page-content .content-card {
    border-radius: 18px;
  }
}





/* ===== WHATSAPP FLOATING - SOMENTE ESSE É VERDE ===== */

.whatsapp-float {

  position: fixed !important;

  bottom: 30px !important;

  right: 30px !important;

  background: #25D366 !important; /* VERDE */

  color: #fff !important;

  width: 60px !important;

  height: 60px !important;

  border-radius: 50% !important;

  display: flex !important;

  align-items: center !important;

  justify-content: center !important;

  font-size: 2rem !important;

  text-decoration: none !important;

  box-shadow: var(--shadow-lg) !important;

  transition: var(--transition) !important;

  z-index: 99999 !important;

  animation: pulse 2s infinite !important;

}

.whatsapp-float i {

  color: #fff !important;

  margin: 0 !important;

  padding: 0 !important;

  line-height: 1 !important;

}

.whatsapp-float:hover {

  transform: scale(1.1) rotate(5deg) !important;

  background: #128C7E !important; /* VERDE ESCURO */

  color: #fff !important;

}



@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);

  }

}



/* ===== HERO SECTION ===== */

.hero-section {

  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);

  color: #fff;

  padding: 80px 20px;

  text-align: center;

  border-radius: var(--radius);

  margin-bottom: 40px;

  position: relative;

  overflow: hidden;

}



.hero-section::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path d="M20 20 L80 20 L80 80 L20 80 Z" fill="none" stroke="white" stroke-width="2"/><circle cx="50" cy="50" r="20" fill="none" stroke="white" stroke-width="2"/></svg>') repeat;

  pointer-events: none;

}



.hero-title {

  font-size: 2.5rem;

  font-weight: 700;

  margin-bottom: 15px;

  position: relative;

}



.hero-subtitle {

  font-size: 1.2rem;

  opacity: 0.9;

  max-width: 600px;

  margin: 0 auto 30px;

  position: relative;

}



/* ===== NOTÍCIAS ===== */

.noticias-list {

  display: grid;

  gap: 30px;

}



.noticia-item {

  background: #fff;

  padding: 25px;

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  transition: var(--transition);

}



.noticia-item:hover {

  transform: translateX(5px);

  box-shadow: var(--shadow-lg);

}



.noticia-item h3 {

  color: var(--primary);

  margin-bottom: 10px;

}



.noticia-meta {

  font-size: 0.9rem;

  color: var(--text-light);

  margin-bottom: 15px;

}



/* ===== GLASSMORPHISM ===== */

.glass-card {

  background: rgba(255, 255, 255, 0.8);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.3);

  border-radius: var(--radius);

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

}



/* ===== TABELAS ===== */

.table-container {

  background: #fff;

  border-radius: var(--radius);

  box-shadow: var(--shadow);

  overflow-x: auto;

}



.table {

  width: 100%;

  border-collapse: collapse;

}



.table th {

  background: var(--primary);

  color: #fff;

  padding: 12px;

  text-align: left;

  font-weight: 600;

}



.table td {

  padding: 12px;

  border-bottom: 1px solid #eee;

}



.table tr:hover {

  background: #f9f9f9;

}



/* ===== ALERTAS ===== */

.alert {

  padding: 15px 20px;

  border-radius: var(--radius-sm);

  margin-bottom: 20px;

  border-left: 4px solid transparent;

}



.alert-success {

  background: #d4edda;

  color: #155724;

  border-left-color: #c9a14d;

}



.alert-error {

  background: #f8d7da;

  color: #721c24;

  border-left-color: #c9a14d;

}



.alert-info {

  background: #d1ecf1;

  color: #0c5460;

  border-left-color: #c9a14d;

}



/* ===== PAGINAÇÃO ===== */

.pagination {

  display: flex;

  justify-content: center;

  gap: 5px;

  margin-top: 30px;

}



.pagination a,

.pagination span {

  display: inline-block;

  padding: 8px 12px;

  background: #fff;

  color: var(--primary);

  text-decoration: none;

  border-radius: var(--radius-sm);

  transition: var(--transition);

}



.pagination a:hover {

  background: #c9a14d;

  color: #fff;

}



.pagination .active {

  background: var(--primary);

  color: #fff;

}



/* ===== RESPONSIVIDADE ===== */

@media (max-width: 1200px) {

  .header-container {

    padding: 8px 20px;

  }

  

  .header-logo {

    max-height: 90px;

    max-width: 260px;

  }

  

  .main-nav a {

    font-size: 13px;

    padding: 7px 12px;

  }

  

  .btn-admin {

    font-size: 13px !important;

    padding: 6px 16px !important;

  }

}



@media (max-width: 992px) {

  .header-container {

    flex-wrap: wrap;

    padding: 10px 15px;

  }



  .mobile-menu-btn {

    display: block;

  }



  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 75px;
    left: 0;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    z-index: 999;
  }



  .main-nav.active {

    display: flex;

  }



  .main-nav a {
    width: 100%;
    font-size: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--primary-light);
    white-space: normal;
    color: var(--primary-dark);
    justify-content: center;
    border-left: none;
    border-right: none;
  }



  .main-nav a:last-child {

    border-bottom: none;

  }



  .main-nav a i {

    width: 25px;

    font-size: 17px;

  }



  .btn-admin {
    margin-left: 0 !important;
    margin-top: 15px !important;
    text-align: center;
    justify-content: center !important;
    font-size: 15px !important;
    padding: 14px !important;
    background: rgba(123, 193, 232, 0.1) !important;
    border: 2px solid var(--primary-dark) !important;
    color: var(--primary-dark) !important;
  }
  
  .btn-admin:hover {
    background: var(--primary-dark) !important;
    color: #ffffff !important;
  }



  .hero-title {

    font-size: 2rem;

  }



  .footer-container {

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

  }

}



@media (max-width: 768px) {

  .header-logo {

    max-height: 80px;

    max-width: 220px;

  }



  .footer-container {

    grid-template-columns: 1fr;

    gap: 25px;

    text-align: center;

  }



  .footer-section h3 {

    display: block;

    text-align: center;

    margin-left: auto;

    margin-right: auto;

  }



  .social-links {

    justify-content: center;

  }



  .footer-section a {

    text-align: center;

    justify-content: center;

    display: flex;

    align-items: center;

  }



  .footer-logo-container {

    margin-left: auto;

    margin-right: auto;

    max-width: 250px;

  }



  .footer-section .contact-info {

    text-align: left;

    max-width: 300px;

    margin-left: auto;

    margin-right: auto;

  }



  .hero-section {

    padding: 60px 15px;

  }



  .hero-title {
    font-size: 1.8rem;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
  }

  .galeria-overlay {
    transform: translateY(0) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 10px !important;
  }



  .whatsapp-float {

    bottom: 20px !important;

    right: 20px !important;

    width: 50px !important;

    height: 50px !important;

    font-size: 1.5rem !important;

  }

}



@media (max-width: 480px) {

  .header-logo {

    max-height: 70px;

    max-width: 180px;

  }

  

  .header-container {

    padding: 8px 12px;

  }

  

  .mobile-menu-btn {

    font-size: 24px;

    padding: 6px 12px;

  }



  .main-footer {

    padding: 25px 12px 12px;

  }



  .social-links a {

    width: 32px;

    height: 32px;

  }

}



/* ===== UTILITÁRIOS ===== */

.text-center { text-align: center; }

.text-left { text-align: left; }

.text-right { text-align: right; }



.mt-1 { margin-top: 0.5rem; }

.mt-2 { margin-top: 1rem; }

.mt-3 { margin-top: 1.5rem; }

.mt-4 { margin-top: 2rem; }

.mt-5 { margin-top: 3rem; }



.mb-1 { margin-bottom: 0.5rem; }

.mb-2 { margin-bottom: 1rem; }

.mb-3 { margin-bottom: 1.5rem; }

.mb-4 { margin-bottom: 2rem; }

.mb-5 { margin-bottom: 3rem; }



.p-1 { padding: 0.5rem; }

.p-2 { padding: 1rem; }

.p-3 { padding: 1.5rem; }

.p-4 { padding: 2rem; }

.p-5 { padding: 3rem; }



.d-none { display: none; }

.d-block { display: block; }

.d-flex { display: flex; }

.d-grid { display: grid; }



.flex-wrap { flex-wrap: wrap; }

.align-center { align-items: center; }

.justify-center { justify-content: center; }

.justify-between { justify-content: space-between; }



.w-100 { width: 100%; }

.h-100 { height: 100%; }