/* =========================================
   VARIÁVEIS GERAIS
========================================= */
:root {
  --green: #1a7f4c;
  --text: #222;
  --muted: #666;
}

/* =========================================
   REGRAS GLOBAIS
========================================= */
* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  margin: 0;
  color: var(--text);
  background: #f7f7f7;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   CABEÇALHO (HEADER)
========================================= */
.site-header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(11,22,0,0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo img {
  height: 90px;
}

.logo a {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav a {
  margin-left: 22px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

/* =========================================
   SEÇÃO HERO
========================================= */
.hero {
  background: #fff;
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.hero-inner {
  display: flex;
  gap: 40px;
  align-items: center;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 44px;
  color: var(--green);
  margin: 0 0 14px;
}

.hero-text p {
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-img img {
  width: 520px;
  max-width: 100%;
  border-radius: 10px;
  display: block;
}

/* =========================================
   BOTÕES
========================================= */
.btn {
  display: inline-block;
  background-color: #2ecc71;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.animated-btn {
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.animated-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease-in-out;
}

.animated-btn:hover {
  transform: scale(1.05);
  background-color: #2ecc71;
}

.animated-btn:hover::after {
  left: 100%;
}

/* =========================================
   SEÇÃO SOBRE / SERVIÇOS
========================================= */
.about-preview {
  display: flex;
  gap: 30px;
  padding: 40px 0;
}

.about-card {
  flex: 1;
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(16,24,10,0.04);
}

.gallery-preview {
  flex: 1;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  margin-top: 12px;
}

.grid-4 img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

/* =========================================
   LAYOUT DE COLUNAS
========================================= */
.page-title {
  font-size: 36px;
  margin: 36px 0 18px;
  color: var(--text);
}

.two-col {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 20px 0;
}

.two-col .col {
  flex: 1;
}

.two-col .col img.rounded {
  max-width: 480px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

/* =========================================
   FORMULÁRIOS
========================================= */
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  margin-top: 8px;
  margin-bottom: 12px;
}

label {
  font-weight: 600;
  font-size: 14px;
}

/* =========================================
   WHATSAPP FLUTUANTE
========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.35);
}

/* =========================================
   RODAPÉ (CORRIGIDO)
========================================= */
footer {
  background-color: #0a3d2e;
  color: #ffffff !important; /* força texto branco */
  padding: 40px 20px 10px;
  font-size: 15px;
  margin-top: 80px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
  gap: 30px;
}

.footer-logo img {
  height: 100px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-links a,
.footer-contact a,
.footer-bottom {
  color: #ffffff !important; /* garante branco em tudo */
}


/* =========================================
   CONTATO NO RODAPÉ
========================================= */
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  margin: 6px 0;
  transition: color 0.3s;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.footer-contact a:hover {
  color: #a3e635;
}

.footer-contact a:hover .icon {
  filter: brightness(0) saturate(100%) invert(65%) sepia(78%) saturate(400%)
          hue-rotate(90deg) brightness(90%) contrast(90%);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 20px;
  padding-top: 10px;
  font-size: 14px;
  color: #ccc;
}

/* =========================================
   RESPONSIVIDADE
========================================= */
@media(max-width:880px){
  .hero-inner { flex-direction: column-reverse; }
  .about-preview { flex-direction: column; }
  .two-col { flex-direction: column; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
