/* ==========================================================
   RESET & VARIÁVEIS GLOBAIS
   ========================================================== */
:root {
  --primary-color: #0d47a1;
  --secondary-color: #1565c0;
  --accent-color: #25d366;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --text-dark: #212529;
  --text-light: #6c757d;
  --border-color: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================
   HEADER & NAVEGAÇÃO
   ========================================================== */
header {
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container-logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-dark);
}

.logo img {
  width: 45px;
  height: 45px;
  background-color: var(--border-color);
}

.logo-info {
  display: flex;
  flex-direction: column;
}

.logo-info strong {
  font-size: 0.95rem;
  color: var(--primary-color);
}

.logo-info .unidade {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary-color);
}

.nav-menu ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-cta a {
  background-color: var(--primary-color);
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-cta a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* ==========================================================
   SEÇÕES GERAIS
   ========================================================== */
main {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 0;
}

section {
  scroll-margin-top: 100px;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  position: relative;
}

/* ==========================================================
   HERO & CONCEITO
   ========================================================== */
.hero {
  text-align: center;
  background: var(--card-bg);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero figure img {
  width: 100%;
  /* max-height: 450px; */
  height: 100%;
  border-radius: var(--radius);
}

.section-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================
   GALERIAS DE FOTOS (GRID RESPONSIVO)
   ========================================================== */
.grid-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-articles article {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.grid-articles article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.grid-articles figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.grid-articles h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.grid-articles p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ==========================================================
   VALORES
   ========================================================== */
.section-values {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.values-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-item dt {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.value-item dd {
  color: var(--text-light);
}

/* ==========================================================
   MENSAGEM
   ========================================================== */
.section-message {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  color: #ffffff;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.section-message h2 {
  color: #ffffff;
}

.message-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.message-content .highlight {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.signature h3 {
  font-size: 1.3rem;
}

.signature p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ==========================================================
   INFORMAÇÕES DA LOJA E MAPA
   ========================================================== */
.information-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.info-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info-list strong {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
}

.info-list a {
  color: var(--secondary-color);
  text-decoration: none;
}

.info-list a:hover {
  text-decoration: underline;
}

.location-map {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-map iframe {
  border-radius: var(--radius);
}

.maps-button {
  display: inline-block;
  text-align: center;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.8rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.maps-button:hover {
  background-color: var(--secondary-color);
}

/* ==========================================================
   FOOTER & WHATSAPP FLOAT
   ========================================================== */
footer {
  background-color: var(--card-bg);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

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

footer nav {
  display: flex;
  gap: 1rem;
}

footer nav a {
  color: var(--text-light);
  text-decoration: none;
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ==========================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================== */
@media (max-width: 900px) {
  .section-side,
  .information-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    box-shadow: var(--shadow-md);
    display: none;
    padding: 1.5rem 0;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 1.2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }
}



/* ==========================================================
   TELA DE BOAS-VINDAS (SPLASH SCREEN)
   ========================================================== */
.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #0d47a1, #1e88e5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1.5rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.welcome-card h1 {
  font-size: 1.8rem;
  color: #0d47a1;
  margin: 0;
}

.welcome-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.btn-principal {
  background-color: #25d366;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
  margin-top: 0.5rem;
}

.btn-principal:hover {
  background-color: #1eb954;
  transform: scale(1.05);
}

.btn-principal:active {
  transform: scale(0.98);
}

.surprise-message {
  font-size: 1.6rem;
  font-weight: bold;
  color: #0d47a1;
  animation: popIn 0.5s ease forwards;
}

.hidden {
  display: none;
}

.welcome-footer {
  font-size: 0.85rem !important;
  color: #888 !important;
  margin-top: 1rem !important;
  border-top: 1px solid #eee;
  padding-top: 0.8rem;
  width: 100%;
}

.fade-out {
  opacity: 0;
  visibility: hidden;
}

@keyframes popIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}