/* Variáveis baseadas nas referências */
:root {
  --red: #e3000f;
  --blue: #004494;
  --green: #25d366;
  --dark-blue: #0f172a;
  --yellow: #ffcc00;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f4f6f9;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* Títulos das seções */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--dark-blue);
  margin-bottom: 40px;
}

.section-title span {
  border-bottom: 3px solid var(--red);
  padding-bottom: 5px;
}

/* --- Header --- */
.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
}

.text-green {
  color: var(--green);
}
.text-red {
  color: var(--red);
}
.text-blue {
  color: var(--blue);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--blue);
}

.btn-whatsapp-header {
  background-color: var(--green);
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}

.btn-whatsapp-header:hover {
  background-color: #1ebe57;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  height: 500px;
  background: url("https://via.placeholder.com/1920x800?text=Imagem+da+Loja")
    no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content-wrapper {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.highlight-yellow {
  color: var(--yellow);
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-hero {
  background-color: var(--blue);
  color: var(--white);
  text-decoration: none;
  padding: 15px 35px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s;
}

.btn-hero:hover {
  transform: scale(1.05);
}

/* --- Sobre Nós --- */
.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-light);
  text-align: justify;
}

.about-logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo-placeholder {
  width: 300px;
  height: 300px;
  background-color: var(--bg-light);
  border: 2px dashed #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  border-radius: 10px;
}

.logo-placeholder img {
  width: 300px;
  height: 300px;
}

/* --- Serviços --- */
.services-section {
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card i {
  font-size: 3rem;
  color: var(--red);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--dark-blue);
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- Galeria --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}

/* --- Contato --- */
.contact-section {
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-card {
  padding: 40px;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--dark-blue);
}

.contact-info {
  list-style: none;
  margin-bottom: 30px;
}

.contact-info li {
  margin-bottom: 15px;
  color: var(--text-light);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.contact-info strong {
  color: var(--dark-blue);
}

.btn-whatsapp-large {
  display: block;
  background-color: var(--green);
  color: var(--white);
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.map-card iframe {
  min-height: 400px;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-info p {
  color: #a0aec0;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: underline;
  cursor: pointer;
}

/* --- Dialog (Modal) --- */
dialog {
  margin: auto;
  border: none;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  padding: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.dialog-header h2 {
  font-size: 1.4rem;
  color: var(--dark-blue);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
}

.dialog-body {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.dialog-body p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-light);
}

.dialog-footer {
  padding: 20px;
  text-align: right;
  border-top: 1px solid #eee;
}

.btn-dark {
  background-color: var(--dark-blue);
  color: var(--white);
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

/* Responsividade básica */
@media (max-width: 900px) {
  .header-content {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 15px;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .about-content,
  .contact-grid {
    flex-direction: column;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
