/* ============================================================
   TAPAZZINNI MÓVEIS — Design system
   Paleta extraída da identidade oficial (verde + grafite + neutros)
   ============================================================ */

:root {
  /* Cores da marca */
  --green: #91c260;
  --green-deep: #5f8f3a;
  --green-dark: #476b2a;
  --graphite: #363435;
  --black-soft: #1c1b1b;

  /* Neutros */
  --white: #ffffff;
  --off-white: #f8f6f1;
  --sand: #efe9dd;
  --sand-deep: #e3dcca;
  --gray-line: #e1ddd3;
  --gray-mid: #8a8681;

  /* Texto */
  --text-primary: var(--graphite);
  --text-muted: #6f6b67;
  --text-inverse: var(--off-white);

  /* Tipografia */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  /* Espaçamento */
  --gutter: clamp(1.5rem, 5vw, 6rem);
  --section-y: clamp(2.75rem, 5.5vw, 5rem);
  --radius: 2px;

  /* Movimento */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  color: var(--text-primary);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 1.1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--graphite);
}

.section-subtitle {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 42em;
  font-weight: 400;
}

.section-head {
  margin-bottom: clamp(1.6rem, 3vw, 2.8rem);
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1rem 2.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.45s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--graphite);
  color: var(--white);
  border-color: var(--graphite);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--graphite);
  border-color: var(--graphite);
}
.btn-ghost:hover { background: var(--graphite); color: var(--white); }

.btn-green {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.35rem 0;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.site-header.is-scrolled {
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 rgba(54, 52, 53, 0.08);
}

.brand { display: flex; align-items: center; }
.brand img { height: 34px; width: auto; transition: filter 0.4s ease; }
.brand .logo-light { display: block; filter: drop-shadow(0 2px 10px rgba(0,0,0,0.45)); }
.brand .logo-dark { display: none; }
.site-header.is-scrolled .logo-light { display: none; }
.site-header.is-scrolled .logo-dark { display: block; }

.main-nav { display: none; }
@media (min-width: 1000px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.6rem, 2.4vw, 2.6rem);
  }
  .main-nav a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
    position: relative;
    padding-bottom: 4px;
    transition: color 0.4s ease, text-shadow 0.4s ease;
  }
  .site-header.is-scrolled .main-nav a { color: var(--graphite); text-shadow: none; }
  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 1px;
    background: currentColor;
    transition: right 0.4s var(--ease);
  }
  .main-nav a:hover::after,
  .main-nav a.active::after { right: 0; }
}

.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.header-cta {
  display: none;
}
@media (min-width: 1000px) {
  .header-cta {
    display: inline-flex;
    padding: 0.85rem 1.7rem;
    font-size: 0.75rem;
    border: 1px solid rgba(255,255,255,0.6);
    background: rgba(20,19,19,0.22);
    backdrop-filter: blur(6px);
    color: var(--white);
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
    letter-spacing: 0.12em;
    border-radius: var(--radius);
    transition: all 0.4s var(--ease);
  }
  .header-cta:hover { background: var(--green-deep); border-color: var(--green-deep); }
  .site-header.is-scrolled .header-cta {
    color: var(--white);
    background: var(--graphite);
    border-color: var(--graphite);
  }
  .site-header.is-scrolled .header-cta:hover { background: var(--green-dark); border-color: var(--green-dark); }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: none;
  z-index: 600;
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s ease, background 0.4s ease;
}
.site-header.is-scrolled .nav-toggle span,
.nav-open .nav-toggle span { background: var(--graphite); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--off-white);
  z-index: 450;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.3rem; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--graphite);
}
.mobile-nav .mobile-nav-footer {
  margin-top: 2.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.mobile-nav .mobile-nav-footer a.btn { align-self: flex-start; }
.mobile-nav .mobile-contact { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--graphite);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  animation: hero-zoom 16s var(--ease) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,19,0.62) 0%, rgba(20,19,19,0.28) 16%, rgba(20,19,19,0.18) 40%, rgba(20,19,19,0.74) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(3.5rem, 9vw, 7rem);
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: hero-up 1s var(--ease) 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1.06;
  max-width: 15em;
  letter-spacing: 0.005em;
  opacity: 0;
  animation: hero-up 1.1s var(--ease) 0.5s forwards;
}
.hero-text {
  margin-top: 1.6rem;
  max-width: 34em;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(248,246,241,0.88);
  font-weight: 300;
  opacity: 0;
  animation: hero-up 1.1s var(--ease) 0.7s forwards;
}
.hero-actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  animation: hero-up 1.1s var(--ease) 0.9s forwards;
}
@keyframes hero-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(2rem, 5vw, 3rem);
  z-index: 2;
  display: none;
  align-items: center;
  gap: 0.7rem;
  color: rgba(248,246,241,0.75);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
@media (min-width: 760px) { .hero-scroll { display: flex; } }
.hero-scroll-line { width: 1px; height: 34px; background: rgba(248,246,241,0.4); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--green);
  animation: scroll-line 2.2s ease-in-out infinite;
}
@keyframes scroll-line { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.12s; }
.reveal-delay-2.in-view { transition-delay: 0.24s; }
.reveal-delay-3.in-view { transition-delay: 0.36s; }

.reveal-img { overflow: hidden; }
.reveal-img img {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease);
}
.reveal-img.in-view img { transform: scale(1); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: var(--section-y) 0; background: var(--off-white); }
.about .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
@media (min-width: 900px) {
  .about .container { grid-template-columns: 1fr 1.05fr; gap: 5rem; align-items: center; }
}
.about-media { position: relative; }
.about-media .reveal-img { border-radius: var(--radius); aspect-ratio: 4/5; }
.about-media .reveal-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  left: -1.2rem; bottom: -1.6rem;
  background: var(--graphite);
  color: var(--white);
  padding: 1.6rem 1.9rem;
  border-radius: var(--radius);
  min-width: 148px;
}
@media (max-width: 480px) { .about-badge { left: 0.6rem; bottom: -1.4rem; padding: 1.2rem 1.4rem; } }
.about-badge .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--green);
  line-height: 1;
  font-weight: 600;
}
.about-badge .label {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(248,246,241,0.85);
  line-height: 1.4;
}

.about-body p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}
.about-body p:last-child { margin-bottom: 0; }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { padding: var(--section-y) 0; background: var(--sand); }
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--gray-line);
  border: 1px solid var(--gray-line);
}
@media (min-width: 700px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars-grid { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  background: var(--sand);
  padding: 1.8rem 2.2rem;
  transition: background 0.5s var(--ease);
}
.pillar:hover { background: var(--off-white); }
.pillar-index {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--green-deep);
  font-weight: 600;
  margin-bottom: 1.6rem;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--graphite);
}
.pillar p { font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); }

/* ============================================================
   ENVIRONMENTS
   ============================================================ */
.environments { padding: var(--section-y) 0; background: var(--sand); }
.env-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.env-card {
  border: 1px solid var(--gray-mid);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--graphite);
  background: transparent;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}
.env-card:hover { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { padding: var(--section-y) 0; background: var(--sand); }

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 0.9rem;
  text-align: center;
  max-width: 46em;
  margin: 0 auto;
}
.category-word {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.6vw, 1.3rem);
  font-weight: 500;
  color: var(--graphite);
  transition: color 0.4s ease;
}
.category-word:hover { color: var(--green-deep); }
.category-dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { padding: var(--section-y) 0; background: var(--off-white); overflow: hidden; }
.gallery-masonry {
  columns: 1;
  column-gap: 1.6rem;
  padding: 0.5rem clamp(0px, 2vw, 1.5rem);
}
@media (min-width: 640px) { .gallery-masonry { columns: 2; } }
@media (min-width: 1000px) { .gallery-masonry { columns: 3; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.8rem;
  overflow: hidden;
  border-radius: 22px;
  cursor: zoom-in;
  position: relative;
  box-shadow: 0 16px 34px -16px rgba(28,27,27,0.28);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.gallery-item.reveal.in-view { transform: rotate(var(--rot, 0deg)); }
.gallery-item:hover,
.gallery-item.reveal.in-view:hover {
  transform: rotate(0deg) scale(1.035);
  box-shadow: 0 24px 46px -14px rgba(28,27,27,0.36);
  z-index: 2;
}
.gallery-item:nth-child(6n+1) { --rot: -2.2deg; margin-top: 0.4rem; }
.gallery-item:nth-child(6n+2) { --rot: 1.6deg; margin-top: 2.2rem; }
.gallery-item:nth-child(6n+3) { --rot: -1.3deg; }
.gallery-item:nth-child(6n+4) { --rot: 2.4deg; margin-top: 1.3rem; }
.gallery-item:nth-child(6n+5) { --rot: -1.8deg; margin-top: 0.6rem; }
.gallery-item:nth-child(6n+6) { --rot: 1.2deg; margin-top: 1.8rem; }
.gallery-item img { width: 100%; display: block; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(28,27,27,0.12);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-more { text-align: center; margin-top: 2.6rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(20,19,19,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure { max-width: min(92vw, 1200px); max-height: 86vh; text-align: center; }
.lightbox-figure img {
  max-width: 100%; max-height: 78vh;
  width: auto; margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
}
.lightbox-caption { color: rgba(248,246,241,0.75); font-size: 0.85rem; margin-top: 1.1rem; letter-spacing: 0.02em; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: transparent; border: none;
  color: var(--white);
  opacity: 0.75;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 1.8rem; right: 1.8rem; width: 40px; height: 40px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-prev { left: clamp(0.5rem, 3vw, 2.5rem); }
.lightbox-next { right: clamp(0.5rem, 3vw, 2.5rem); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox svg { width: 100%; height: 100%; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.instagram { padding: var(--section-y) 0; background: var(--graphite); color: var(--off-white); }
.instagram .section-head .section-subtitle { color: rgba(248,246,241,0.72); }
.instagram .eyebrow { color: var(--green); }
.instagram .section-title { color: var(--white); }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 3rem;
}
@media (min-width: 700px) { .instagram-grid { grid-template-columns: repeat(4, 1fr); } }
.instagram-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
}
.instagram-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), opacity 0.5s ease; }
.instagram-item:hover img { transform: scale(1.08); }
.instagram-item::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(28,27,27,0.25);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.instagram-item:hover::before { opacity: 1; }
.instagram-item .ig-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); opacity: 0;
  transition: opacity 0.4s ease;
}
.instagram-item:hover .ig-icon { opacity: 1; }
.instagram-item .ig-icon svg { width: 26px; height: 26px; }
.instagram-cta { text-align: center; }
.instagram-handle { display: block; margin-top: 1.1rem; font-size: 0.85rem; color: rgba(248,246,241,0.6); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  text-align: center;
  overflow: hidden;
}
.final-cta-media { position: absolute; inset: 0; }
.final-cta-media img { width: 100%; height: 100%; object-fit: cover; }
.final-cta-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,27,27,0.72), rgba(28,27,27,0.82));
}
.final-cta .container { position: relative; z-index: 2; }
.final-cta .eyebrow { color: var(--green); }
.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  color: var(--white);
  font-weight: 500;
  max-width: 16em;
  margin: 0 auto;
}
.final-cta p {
  margin: 1.3rem auto 2.4rem;
  max-width: 34em;
  color: rgba(248,246,241,0.82);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: var(--section-y) 0; background: var(--off-white); }
.contact .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) { .contact .container { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

.contact-info { display: flex; flex-direction: column; gap: 2.2rem; }
.contact-item { display: flex; gap: 1.1rem; }
.contact-item .icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-dark);
}
.contact-item .icon svg { width: 19px; height: 19px; }
.contact-item h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-weight: 700;
}
.contact-item p, .contact-item a { font-size: 1.02rem; color: var(--graphite); line-height: 1.6; }
.contact-item a:hover { color: var(--green-dark); }
.contact-actions { margin-top: 0.5rem; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: var(--sand);
  filter: grayscale(0.15) contrast(1.02);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--graphite); color: rgba(248,246,241,0.75); padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid rgba(248,246,241,0.12);
}
@media (min-width: 800px) { .footer-top { grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; } }
.footer-brand img { height: 30px; margin-bottom: 1.3rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.75; max-width: 30em; color: rgba(248,246,241,0.62); }
.footer-col h5 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.3rem;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col a { font-size: 0.92rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.92rem; line-height: 1.75; color: rgba(248,246,241,0.75); }

.footer-bottom {
  padding: 1.6rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.78rem;
  color: rgba(248,246,241,0.5);
}
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(248,246,241,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--green-deep); border-color: var(--green-deep); }
.footer-social svg { width: 15px; height: 15px; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  right: clamp(1.1rem, 3vw, 2rem);
  bottom: clamp(1.1rem, 3vw, 2rem);
  z-index: 700;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--green-deep);
  color: var(--white);
  border-radius: 999px;
  padding: 0.95rem;
  box-shadow: 0 12px 30px -10px rgba(28,27,27,0.4);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  animation: wa-in 0.6s var(--ease) 1.4s forwards;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
@keyframes wa-in { to { opacity: 1; transform: translateY(0) scale(1); } }
.wa-float:hover { background: var(--green-dark); box-shadow: 0 16px 36px -8px rgba(28,27,27,0.5); }
.wa-float svg { width: 25px; height: 25px; flex-shrink: 0; }
.wa-float .wa-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: max-width 0.45s var(--ease);
}
@media (min-width: 900px) {
  .wa-float:hover .wa-label { max-width: 140px; }
  .wa-float:hover { padding: 0.95rem 1.3rem 0.95rem 1rem; }
}
.wa-pulse {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: var(--green-deep);
  opacity: 0.55;
  animation: wa-pulse 2.6s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ============================================================
   UTIL
   ============================================================ */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
