:root {
  --primary: #1C2C4C;
  --secondary: #F28C28;
  --tertiary: #7D8C98;
  --background: #F4F1ED;
  --text: #222;
  --font-title: 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body: 'Poppins', Arial, sans-serif;
  --shadow: 0 4px 16px rgba(28,44,76,0.08);
}

.center
{
  max-width: 1100px;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.whatsapp-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: #25d366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.whatsapp-popup:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  background: #20ba5a;
}

.logo
{
  flex: 0 0 auto;
  position: relative;
}

.title
{
  flex: 1 1 auto;
  text-align: center;
  margin-left: 0;
  font-family: var(--font-title);
  letter-spacing: 2px;
}
.navigation .logo {
  display: inline-block;
  position: relative;
  padding: 0;
  margin: 0;
  margin-top: -16px;
  margin-bottom: -16px;
  line-height: 0;
}
.logo-pequena {
  height: 140px;
  width: auto;
  position: relative;
  margin-top: -30px;
  margin-bottom: -30px;
  transition: height 0.2s;
}

.logo-media
{
  width: auto;
  max-width: 160px;
  min-width: 30px;
  position: relative;
  height: auto;
  display: block;
}

.logo_central
{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.logo_central::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('img/f1.jpg') center center/cover no-repeat;
  opacity: 0.35; /* ajuste a transparência */
  z-index: 1;
  border-radius: 16px; /* opcional */
}

.logo_central img {
  position: relative;
  z-index: 2;
  width: 180px;
  height: auto;
}

.logo_central img 
{
  width: 100%;
  max-width: 700px;
  min-width: 120px;
  height: auto;
  display: block;
}

.titulos 
{
  letter-spacing: 2px;
}

.poppins 
{
  font-family: var(--font-body);
}

body 
{
  margin: 0;
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text);
}

header {
  background: var(--primary);
  color: #fff;
  padding: 0.1rem 0 0.1rem 0;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

header h1 
{
  font-size: 2.8rem;
  margin: 0;
  font-weight: 700;
}

header p 
{
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-weight: 400;
  opacity: 0.85;
}

.WhatsApp {
  height: 2em;
  width: auto;
  vertical-align: middle;
}

.footer-nav 
{
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navigation 
{
  background: var(--tertiary);
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navigation a 
{
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.navigation a:hover, .navigation a.active {
  background: var(--secondary);
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.8s;
}
.contato {
  background: #f5f0ed;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(28,44,76,0.08);
  margin-bottom: 1.5rem;
}

.contato > * + * {
  margin-top: 1.5rem; /* space-y-6 */
}

.contato input,
.contato textarea {
  max-width: 95%;
  margin-right: auto;
  margin-left: 0;
  box-sizing: border-box;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}

section {
  margin-bottom: 2.5rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  border-left: 6px solid var(--secondary);
  padding-left: 0.7rem;
  background: linear-gradient(90deg, #f4f1ed 80%, #fff 100%);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.service-item {
  flex: 1 1 250px;
  background: var(--background);
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(28,44,76,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(28,44,76,0.13);
}

.service-item h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.service-item img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(28,44,76,0.07);
}

form {
  margin-top: 1.5rem;
  background: var(--background);
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(28,44,76,0.07);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

form label {
  font-weight: 600;
  color: var(--primary);
}

form input, form textarea {
  width: 100%;
  padding: 0.7rem;
  margin: 0.5rem 0 1rem 0;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  background: #fff;
  transition: border 0.2s;
}

form input:focus, form textarea:focus {
  border: 1.5px solid var(--secondary);
  outline: none;
}

form button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover {
  background: var(--secondary);
  color: var(--primary);
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

ul li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1.5rem 0 1rem 0;
  margin-top: 3rem;
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow);
  font-size: 1rem;
  letter-spacing: 1px;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-flex span {
  margin: 0 auto;
}

.footer-flex .whatsapp-footer {
  position: absolute;
  right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.contato-flex {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.contato {
  flex: 2 1 350px;
  min-width: 260px;
}

.contato-info {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(28,44,76,0.08);
  padding: 2rem 1.5rem;
  margin-top: 0;
}

.contato-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contato-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contato-info li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* Mapa abaixo do contato */
.contato-mapa {
  margin-top: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(28,44,76,0.07);
  padding: 1.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contato-mapa h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
}

/* Lightbox para expandir imagens */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.lightbox-close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
  font-weight: bold;
}

@media (max-width: 900px) {
  .container {
    max-width: 98vw;
    padding: 1rem;
  }
  .services-list {
    gap: 1rem;
  }
}

@media (max-width: 800px) {
  .contato-flex {
    flex-direction: column;
    gap: 1.2rem;
  }
  .contato-info {
    padding: 1.2rem 1rem;
  }
}

@media (max-width: 700px) {
  .services-list {
    flex-direction: column;
  }


  header h1 {
    font-size: 2rem;
  }
  section h2 {
    font-size: 1.3rem;
    padding-left: 0.4rem;
  }

  .container {
    padding: 0.7rem;
  }
  footer {
    font-size: 0.95rem;
    padding: 1rem 0 0.7rem 0;
  }
}

@media (max-width: 500px) {
  .navigation {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.7rem 0.5rem;
    align-items: center;
    justify-content: center;
  }
  .navigation .logo {
    flex: 0 0 auto;
    margin-bottom: 0;
  }
  .navigation a {
    font-size: 1rem;
    padding: 0.4rem 0.7rem;
    display: inline-block;
    width: auto;
    text-align: center;
    white-space: nowrap;
  }
}