/* =========================
   GLOBAL
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BACKGROUND SLIDER
========================= */
.bg-slider {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.03);
}

.slide.active { opacity: 1; }

/* ✅ Overlay escuro para texto/Logo ficarem legíveis (sem “branquear”) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: -2;
}

/* =========================
   ANIMAÇÕES
========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* =========================
   BODY
========================= */
body {
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  background-color: #237a57;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 10px;
  transition: 0.25s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}

.btn:hover {
  background-color: #1a5f43;
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  padding: 50px 20px;
  overflow: hidden;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 500px at 20% 25%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(900px 450px at 80% 40%, rgba(35,122,87,.16), transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.10));
  pointer-events: none;
}

.hero__content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(12, 18, 32, 0.55);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

/* LOGO */
.hero__logo {
  width: 320px;
  height: 320px;
  max-width: 72vw;
  max-height: 72vw;
  object-fit: contain;
  margin: 0;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,.60));
}

/* TÍTULO */
.hero__title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

/* ✅ TELEFONE PRINCIPAL (FOCO) */
.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 999px;

  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.01em;

  color: #ffffff;
  background: rgba(35, 122, 87, 0.18);
  border: 1px solid rgba(45, 227, 143, 0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.hero__phone:hover {
  background: rgba(35, 122, 87, 0.26);
  transform: translateY(-1px);
}

.hero__phone::before {
  content: "☎";
  font-size: 1.15em;
  opacity: 0.95;
}

/* subtítulo */
.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  margin: 6px 0 10px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 14px auto 0;
  border-radius: 16px;
  background: rgba(12, 18, 32, 0.52);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 30px rgba(0,0,0,0.32);
  backdrop-filter: blur(10px);
  animation: fadeUp 0.7s ease both;
}

section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

/* ABOUT */
#about p {
  max-width: 820px;
  margin: auto;
  text-align: center;
  color: rgba(255,255,255,0.82);
}

/* =========================
   SERVICES
========================= */
/* =========================
   SERVICES (cards verdes)
========================= */
#services ul {
  list-style: none;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

#services li {
  width: 190px;

  background: #237a57;                 /* ✅ verde */
  color: rgba(255,255,255,0.95);       /* ✅ texto branco */
  padding: 12px 12px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 28px rgba(0,0,0,0.28);

  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;

  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

#services li:hover {
  transform: translateY(-3px);
  filter: brightness(1.07);
  background: #1a5f43; /* ✅ hover mais escuro */
}

@media (max-width: 768px) {
  #services li {
    width: 100%;
    max-width: 340px;
  }
}


/* =========================
   WHY US
========================= */
#why-us ul {
  list-style: none;
  max-width: 720px;
  margin: 14px auto 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.9;
  text-align: left;
}

#why-us ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}

#why-us ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2de38f;
}

/* =========================
   PORTFOLIO
========================= */
#portfolio {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.work-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transition: transform 0.22s ease;
}

.work-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: saturate(1.08) contrast(1.08);
  cursor: zoom-in;
}

.work-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transform: translateY(6px);
  transition: 0.2s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.40), rgba(0,0,0,0.10));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.work-card:hover { transform: translateY(-3px); }
.work-card:hover img { transform: scale(1.04); filter: saturate(1.15) contrast(1.12); }
.work-card:hover::after { opacity: 1; }
.work-card:hover figcaption { opacity: 1; transform: translateY(0); }

/* =========================
   CONTACT
========================= */
#contact { text-align: center; }

#contact p {
  margin-bottom: 12px;
  color: rgba(255,255,255,0.82);
}

/* ✅ TELEFONE GRANDE NO CONTACT */
.contact-inline {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 16px;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 12px 26px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}

.contact-inline-label {
  font-weight: 800;
  color: rgba(255,255,255,0.90);
}

.contact-inline-link {
  font-weight: 900;
  font-size: 1.25rem; /* ✅ maior */
  color: #2de38f;
  text-decoration: none;
}

.contact-inline-link:hover {
  text-decoration: underline;
}

/* =========================
   FOOTER + SOCIAL
========================= */
footer {
  text-align: center;
  padding: 14px 16px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  background: rgba(12, 18, 32, 0.55);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 30px rgba(0,0,0,0.32);
  backdrop-filter: blur(10px);
  max-width: 1100px;
  margin: 14px auto 20px;
  border-radius: 16px;
}

.social-buttons {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: 0.18s ease;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 10px 22px rgba(0,0,0,0.20);
}

.social-btn.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-btn.facebook {
  background: #1877f2;
}

.social-btn:hover {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.06);
}

/* =========================
   LIGHTBOX (com setas)
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  animation: zoomIn 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 42px;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.95;
  transition: 0.2s;
}

.lightbox-close:hover {
  transform: scale(1.08);
  opacity: 1;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
  backdrop-filter: blur(6px);
}

.lightbox-btn:hover {
  background: rgba(255,255,255,0.20);
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* Contador/Loading (se você usar no JS) */
.lightbox-counter{
  position:absolute;
  top: 16px;
  left: 16px;
  color:#fff;
  font-weight:800;
  font-size:14px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 10px;
  border-radius:999px;
  backdrop-filter: blur(6px);
}

.lightbox-loader{
  position:absolute;
  top: 16px;
  right: 16px;
  color:#fff;
  font-weight:800;
  font-size:14px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 10px;
  border-radius:999px;
  backdrop-filter: blur(6px);
  display:none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  body { font-size: 16px; }

  .hero { padding: 44px 15px; }

  .hero__logo {
    width: 220px;
    height: 220px;
    max-width: 80vw;
    max-height: 80vw;
  }

  .hero__title { font-size: 2.1rem; }

  .hero__phone {
    font-size: 1.05rem;
    padding: 10px 14px;
  }

  section {
    padding: 34px 15px;
    border-radius: 14px;
  }

  #services li {
    width: 100%;
    max-width: 340px;
  }

  .work-card img { height: 210px; }

  .lightbox-btn {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .contact-inline-link {
    font-size: 1.15rem;
  }
}
