* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { overflow-x: hidden; }

:root {
  --light: #f4f3f0;
  --background: #e9e8e3;
  --heading: #1a1a1a;
  --accent: #8c1a1a;
  --paragraphs: rgba(26, 26, 26, 0.73);
  --paragraphs-dark: rgba(244, 243, 240, 0.65);
  --info-text: rgba(26, 26, 26, 0.58);
  --border: rgba(26, 26, 26, 0.15);
  --tx-light: var(--light);
  --tx-background: var(--background);
  --tx-heading: var(--heading);
  --tx-accent: var(--accent);
  --tx-paragraphs: var(--paragraphs);
  --tx-paragraphs-dark: var(--paragraphs-dark);
  --tx-info-text: var(--info-text);
  --tx-border: var(--border);
}

.tomex-root {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 170%;
  letter-spacing: 0.13px;
  color: var(--tx-paragraphs);
  background-color: var(--tx-light);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

.tomex-root h1 { font-size: 70px; font-weight: 500; line-height: 100%; letter-spacing: -1.4px; color: var(--tx-heading); margin: 0 0 28px; }
.tomex-root h2 { font-size: 58px; font-weight: 500; line-height: 107%; letter-spacing: -1.4px; color: var(--tx-heading); margin: 0 0 26px; }
.tomex-root h3 { font-size: 46px; font-weight: 500; line-height: 110%; letter-spacing: -1.4px; color: var(--tx-heading); margin: 0 0 22px; }
.tomex-root h5 { font-size: 26px; font-weight: 500; line-height: 120%; letter-spacing: -0.8px; color: var(--tx-heading); margin: 0 0 18px; }
.tomex-root h6 { font-size: 18px; font-weight: 500; line-height: 130%; letter-spacing: -0.2px; color: var(--tx-heading); margin: 0 0 16px; }

/* Partials injectados via JS: o wrapper não pode encolher o layout (flex + align-items:center) */
.tomex-root > [data-include] {
  display: contents;
}

.tx-navbar {
  position: fixed; top: 28px; left: 28px; right: 28px; max-width: 1200px; margin: 0 auto;
  background: var(--tx-light); box-shadow: 0 10px 70px rgba(26,26,22,0.12); z-index: 100;
  display: flex; align-items: stretch; justify-content: space-between;
  transition: box-shadow 0.35s cubic-bezier(.215,.61,.355,1);
}
.tx-navbar.scrolled { box-shadow: 0 10px 70px rgba(26,26,22,0.28); }
.tx-navbar-logo { display: flex; flex-direction: column; justify-content: center; text-decoration: none; margin: 18px; line-height: 1; }
.tx-navbar-logo-main { color: var(--heading); font-size: 22px; font-weight: 700; letter-spacing: -0.5px; line-height: 1; }
.tx-navbar-logo-sub { color: var(--heading); font-size: 13px; font-weight: 300; display: block; line-height: 1.2; letter-spacing: 2px; text-transform: uppercase; opacity: 0.7; }
.tx-navbar-links { display: flex; align-items: stretch; }
.tx-nav-link { display: flex; align-items: center; padding: 27px 20px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-heading); text-decoration: none; transition: opacity 0.25s cubic-bezier(.215,.61,.355,1); }
.tx-nav-link:hover { opacity: 0.65; }
.tx-nav-link.active { opacity: 1 !important; pointer-events: auto; }
.tx-navbar-cta { display: flex; align-items: center; gap: 8px; padding: 27px 35px; margin-left: 15px; background-color: var(--accent); color: var(--light); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; border: none; cursor: pointer; transition: background-color 0.25s cubic-bezier(.215,.61,.355,1); }
.tx-navbar-cta:hover, .tx-navbar-cta.active { background-color: #6e1212; }
.tx-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; padding: 18px; cursor: pointer; background: none; border: none; z-index: 103; }
.tx-burger span { display: block; width: 24px; height: 2px; background: var(--tx-heading); transition: all 0.3s cubic-bezier(.215,.61,.355,1); }
.tx-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.tx-burger.active span:nth-child(2) { opacity: 0; }
.tx-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.tx-mobile-menu { position: fixed; inset: 0; background: var(--tx-light); z-index: 102; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity 0.35s cubic-bezier(.215,.61,.355,1); }
.tx-mobile-menu.open { opacity: 1; pointer-events: auto; }
.tx-mobile-close {
  position: absolute;
  top: 22px;
  right: 22px;
  border: 0;
  background: transparent;
  color: var(--tx-heading);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}
.tx-mobile-menu a { font-size: 24px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-heading); text-decoration: none; padding: 14px 0; transition: opacity 0.25s cubic-bezier(.215,.61,.355,1); }

.tx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 23px 35px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; border: none; cursor: pointer; font-family: 'Barlow', sans-serif; transition: background-color 0.25s cubic-bezier(.215,.61,.355,1), opacity 0.25s cubic-bezier(.215,.61,.355,1); }
.tx-btn-accent { background-color: var(--accent); color: var(--light); }
.tx-btn-accent:hover { background-color: #6e1212; }
.tx-btn-dark { background-color: var(--heading); color: var(--light); }
.tx-btn-dark:hover { background-color: #333; }
.tx-btn-light { background-color: var(--light); color: var(--heading); }
.tx-btn-light:hover { opacity: 0.88; }

.tx-label { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.tx-label::before { content: ''; width: 27px; height: 1px; background: var(--tx-heading); flex-shrink: 0; }
.tx-label span { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-heading); }
.tx-label.white::before { background: var(--tx-light); }
.tx-label.white span { color: var(--tx-light); }

.tx-section { background: var(--tx-light); padding: 110px 50px; width: 100%; margin-bottom: 14px; display: flex; justify-content: center; }
.tx-section.bg { background: var(--tx-background); }
.tx-section-inner { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; }
.tx-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.tx-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; row-gap: 55px; }
.tx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.tx-section-full { width: 100%; margin-bottom: 14px; display: flex; }

.tx-hero { background: var(--tx-background); width: 100%; min-height: 90vh; position: relative; margin-bottom: 14px; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.tx-hero-bg { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.tx-hero-overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.35) 50%, transparent 100%); }
.tx-hero-content { position: relative; z-index: 3; width: 100%; max-width: 1200px; padding: 140px 50px 50px; }
.tx-hero-content h1 { color: var(--light); max-width: 740px; }
.tx-hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 80px; }
.tx-hero-service { position: relative; text-decoration: none; padding-top: 14px; display: block; cursor: default; }
.tx-hero-service-line { height: 1px; background: rgba(244,243,240,0.3); margin-bottom: 12px; position: relative; }
.tx-hero-service-accent { position: absolute; top: 0; left: 0; height: 3px; width: 0; background: var(--tx-accent); transition: width 0.5s cubic-bezier(.215,.61,.355,1); transform: translateY(-1px); }
.tx-hero-service:hover .tx-hero-service-accent { width: 100%; }
.tx-hero-service-header { display: flex; align-items: center; justify-content: space-between; }
.tx-hero-service-title { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-light); }
.tx-hero-service-desc { margin-top: 12px; font-size: 15px; color: rgba(244,243,240,0.6); max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s cubic-bezier(.215,.61,.355,1), opacity 0.3s; }
.tx-hero-service:hover .tx-hero-service-desc { max-height: 80px; opacity: 1; }

.tx-icon-arrow { width: 10px; height: 10px; overflow: hidden; position: relative; display: inline-flex; flex-shrink: 0; }
.tx-icon-arrow svg { width: 10px; height: 10px; }
.tx-icon-arrow-a { position: absolute; transition: transform 0.3s cubic-bezier(.215,.61,.355,1); }
.tx-icon-arrow-b { position: absolute; transform: translate(-120%, 120%); transition: transform 0.3s cubic-bezier(.215,.61,.355,1); }
a:hover .tx-icon-arrow-a, .tx-hero-service:hover .tx-icon-arrow-a { transform: translate(120%, -120%); }
a:hover .tx-icon-arrow-b, .tx-hero-service:hover .tx-icon-arrow-b { transform: translate(0, 0); }

.tx-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tx-stat-card { background: var(--tx-light); padding: 28px; }
.tx-stat-icon { background: var(--tx-background); padding: 14px; display: inline-flex; float: right; margin-bottom: 18px; }
.tx-stat-icon svg { width: 24px; height: 24px; }
.tx-stat-number { font-size: 58px; font-weight: 500; color: var(--tx-heading); letter-spacing: -1.4px; line-height: 1; margin-bottom: 14px; clear: both; }
.tx-stat-card h6 { max-width: 220px; }

.tx-grid-full { display: grid; grid-template-columns: 1fr 1fr; width: 100%; background: var(--tx-heading); }
.tx-grid-full-image { min-height: 670px; background-size: auto, cover; background-position: 0 0, center; }
/* Secção Serviços — «A Nossa Abordagem»: imagem centrada e a caber inteira (sem crop tipo cover). */
.tx-grid-full-image.tx-grid-full-image--abordagem {
  background-color: var(--tx-heading);
  background-size: auto, contain;
  background-position: 0 0, center center;
  background-repeat: no-repeat, no-repeat;
}
.tx-grid-full-text { background: var(--tx-heading); padding: 160px 17%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.tx-grid-full-text h2 { color: var(--tx-light); }
.tx-grid-full-text p { color: var(--tx-paragraphs-dark); max-width: 500px; margin-bottom: 36px; }

.tx-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; }
.tx-gallery-grid img { width: 100%; height: 20vw; object-fit: cover; transition: opacity 0.25s cubic-bezier(.215,.61,.355,1); }
.tx-gallery-grid img:hover { opacity: 0.85; }
.tx-gallery-grid--modal img { cursor: zoom-in; }

.tx-expertise-card { display: flex; flex-direction: column; }
.tx-expertise-icon { background: var(--tx-background); padding: 14px; display: inline-flex; margin-bottom: 22px; width: fit-content; }
.tx-expertise-icon svg { width: 24px; height: 24px; stroke: var(--tx-heading); fill: none; stroke-width: 1.5; }

.tx-project-card { text-decoration: none; display: block; color: inherit; }
.tx-project-card img { width: 100%; height: 450px; object-fit: cover; margin-bottom: 25px; transition: opacity 0.25s cubic-bezier(.215,.61,.355,1); }
.tx-project-card:hover img { opacity: 0.85; }
.tx-project-category { font-size: 14px; color: var(--tx-info-text); margin-bottom: 8px; }
.tx-project-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 45px; }
.tx-project-filter-btn {
  border: 1px solid var(--tx-border);
  background: transparent;
  color: var(--tx-heading);
  padding: 10px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.215,.61,.355,1);
}
.tx-project-filter-btn:hover {
  border-color: var(--tx-heading);
}
.tx-project-filter-btn.is-active {
  background: var(--tx-heading);
  color: var(--tx-light);
  border-color: var(--tx-heading);
}
.tx-project-empty {
  margin-top: 30px;
  margin-bottom: 0;
}
.tx-project-meta { font-size: 13px; color: var(--tx-info-text); margin-bottom: 20px; letter-spacing: 0.3px; text-transform: uppercase; }
.tx-project-title-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; }
.tx-project-title-row h5 { max-width: 310px; margin-bottom: -5px; }
.tx-project-line { height: 3px; background: var(--tx-border); position: relative; margin-bottom: 1px; }
.tx-project-line-accent { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--tx-accent); transition: width 0.5s cubic-bezier(.215,.61,.355,1); }
.tx-project-card:hover .tx-project-line-accent { width: 100%; }
.tx-project-line-1px { height: 1px; background: var(--tx-border); }

.tx-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.tx-cta-image { width: 100%; height: 100%; min-height: 400px; object-fit: cover; display: block; }
.tx-cta-content { background: var(--tx-accent); padding: 80px 17%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.tx-cta-content h3 { color: var(--tx-light); max-width: 700px; margin-bottom: 38px; }

.tx-footer {
  align-self: stretch;
  box-sizing: border-box;
  background: var(--heading);
  padding: 110px 50px 82px;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tx-footer-inner {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.tx-footer-brand { margin-bottom: 32px; }
.tx-footer-brand-name { color: var(--light); font-size: 22px; font-weight: 700; letter-spacing: -0.5px; display: block; line-height: 1; }
.tx-footer-brand-sub { color: var(--paragraphs-dark); font-size: 13px; font-weight: 300; letter-spacing: 2px; text-transform: uppercase; display: block; line-height: 1.2; margin-top: 4px; }
.tx-footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 20px; }
.tx-footer-heading { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-light); margin-bottom: 32px; }
.tx-footer-link { display: block; font-size: 18px; font-weight: 500; color: var(--tx-paragraphs-dark); text-decoration: none; padding: 7px 0; transition: color 0.25s cubic-bezier(.215,.61,.355,1); }
.tx-footer-link:hover { color: var(--tx-light); }
.tx-footer-text { color: var(--tx-paragraphs-dark); max-width: 350px; }
.tx-footer-bar {
  width: 100%;
  border-top: 1px solid rgba(244,243,240,0.2);
  margin-top: 60px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tx-footer-bar p { font-size: 16px; color: var(--tx-paragraphs-dark); margin: 0; }
.tx-footer-social { display: flex; gap: 16px; }
.tx-footer-social a { transition: opacity 0.25s cubic-bezier(.215,.61,.355,1); }
.tx-footer-social a:hover { opacity: 0.5; }
.tx-footer-social-icon { color: var(--light); display: inline-flex; }

.tx-whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  z-index: 250;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tx-whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.tx-whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.tx-text-block { display: flex; flex-direction: column; justify-content: center; }
.tx-text-block-padded { padding: 45px 3% 45px 10%; }
.tx-text-block-padded-left { padding: 45px 10% 45px 0; }
.tx-text-block p { max-width: 500px; margin-bottom: 36px; }
.tx-images-overlap { position: relative; width: 100%; }
.tx-images-overlap img:first-child { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx-images-overlap img:last-child { position: absolute; bottom: -3%; right: -3%; width: 54%; height: 60%; object-fit: cover; box-shadow: 0 35px 120px rgba(26,26,22,0.4); }
.tx-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }

/* Vídeo institucional (página Sobre) — iframe 16:9 dentro de .tx-video-wrap */
.tx-video-wrap {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 28px auto 0;
  aspect-ratio: 16 / 9;
  background: var(--heading);
}
.tx-video-wrap iframe,
.tx-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.tx-video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 160px;
  padding: 24px;
  text-align: center;
  color: var(--light);
  font-size: 15px;
  line-height: 1.55;
}
.tx-video-placeholder p { margin: 0; max-width: 440px; }

.tx-animate { opacity: 0; transform: translateY(40px); transition: opacity 0.7s cubic-bezier(.215,.61,.355,1), transform 0.7s cubic-bezier(.215,.61,.355,1); }
.tx-animate.visible { opacity: 1; transform: translateY(0); }
.tx-animate-delay-1 { transition-delay: 0.1s; }
.tx-animate-delay-2 { transition-delay: 0.2s; }
.tx-animate-delay-3 { transition-delay: 0.3s; }

.tx-page-top { background: var(--tx-background); padding: 200px 50px 110px; width: 100%; margin-bottom: 14px; display: flex; justify-content: center; }
.tx-page-top-inner { max-width: 1200px; width: 100%; margin-left: auto; margin-right: auto; }
.tx-page-top-inner p { max-width: 600px; }
.tx-page-top-image { display: flex; align-items: flex-end; }

.tx-service-block img { width: 100%; height: 350px; object-fit: cover; margin-bottom: 22px; transition: opacity 0.35s cubic-bezier(.215,.61,.355,1); }
.tx-service-block:hover img { opacity: 0.8; }
.tx-service-block { text-decoration: none; color: inherit; display: block; }
.tx-projeto-hero { width: 100%; margin-bottom: 14px; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 14px; min-height: 85vh; }
.tx-projeto-hero > img { width: 100%; height: 100%; object-fit: cover; min-height: 600px; display: block; }
.tx-projeto-hero-info { background: var(--tx-background); padding: 200px 12% 80px; display: flex; flex-direction: column; justify-content: flex-end; }
.tx-projeto-meta-divider { height: 1px; background: var(--tx-border); margin: 36px 0; }
.tx-projeto-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tx-projeto-meta-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-info-text); margin-bottom: 6px; }
.tx-projeto-meta-value { display: block; font-size: 18px; font-weight: 500; color: var(--tx-heading); }
.tx-projeto-gallery { width: 100%; }
.tx-projeto-gallery img { width: 100%; height: 70vh; object-fit: cover; display: block; margin-bottom: 14px; }
.tx-projeto-hero > img,
.tx-projeto-gallery img { cursor: zoom-in; }

.tx-image-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.tx-image-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.tx-image-modal img {
  max-width: min(96vw, 1500px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.tx-image-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.tx-image-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.tx-image-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tx-image-modal-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.tx-image-modal-prev { left: 16px; }
.tx-image-modal-next { right: 16px; }
.tx-projeto-nav-link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-heading); text-decoration: none; transition: opacity 0.25s cubic-bezier(.215,.61,.355,1); }

.tx-testimonial-card { background: var(--tx-light); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; }
.tx-testimonial-card-quote { font-style: italic; font-size: 20px; color: var(--tx-paragraphs); margin-bottom: 24px; line-height: 170%; }
.tx-testimonial-card-divider { height: 1px; background: var(--tx-border); margin: 0 0 24px; }
.tx-testimonial-divider { width: 1px; height: 40px; background: rgba(244,243,240,0.3); }
.tx-testimonial-role { font-size: 14px; color: var(--tx-paragraphs-dark); line-height: 130%; margin: 0; }

.tx-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tx-contact-span2 { grid-column: span 2; }
.tx-contact-form input, .tx-contact-form textarea {
  border: none; border-bottom: 1px solid var(--tx-light); background-color: var(--tx-background); color: var(--tx-heading);
  height: 52px; padding: 12px 20px; font-size: 18px; font-family: 'Barlow', sans-serif; width: 100%; outline: none; border-radius: 0;
}
.tx-contact-form textarea { min-height: 150px; height: auto; resize: vertical; }
.submit-button { background-color: var(--heading); color: var(--light); width: 100%; justify-content: center; }
.submit-button:hover { background-color: var(--accent); }
.tx-contact-info { background: var(--tx-background); padding: 50px; }
.tx-contact-info-block { margin-bottom: 36px; }
.tx-contact-info-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-info-text); margin-bottom: 10px; }
.tx-contact-map-link { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-accent); text-decoration: none; }
.tx-map-card { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); background: var(--tx-light); padding: 30px 40px; box-shadow: 0 20px 60px rgba(26,26,22,0.2); text-align: center; max-width: calc(100vw - 32px); }
.tx-projeto-nav-link:hover { opacity: 0.65; }
.tx-mobile-menu a:hover { opacity: 0.65; }

/* Alinhado ao src/index.css — breakpoints do projeto React */
@media (max-width: 991px) {
  .tx-navbar-links { display: none; }
  .tx-navbar-cta { display: none; }
  .tx-burger { display: flex; }
  .tx-hero-grid { grid-template-columns: 1fr; }
  .tx-section { padding: 80px 30px; }
  .tx-grid-full { grid-template-columns: 1fr; }
  .tx-grid-full-image { min-height: 400px; }
  .tx-grid-full-text { padding: 80px 10%; }
  .tx-cta-grid { grid-template-columns: 1fr; }
  .tx-page-top { padding: 160px 30px 80px; }
  .tx-projeto-hero { grid-template-columns: 1fr; min-height: auto; }
  .tx-projeto-hero > img { min-height: 400px; }
  .tx-projeto-hero-info { padding: 80px 10%; }
}

@media (max-width: 767px) {
  .tx-grid-2 { grid-template-columns: 1fr; }
  .tx-grid-4 { grid-template-columns: 1fr 1fr; }
  .tx-grid-3 { grid-template-columns: 1fr; }
  .tomex-root h1 { font-size: 44px; }
  .tomex-root h2 { font-size: 36px; }
  .tomex-root h3 { font-size: 28px; }
  .tx-section { padding: 60px 20px; }
  .tx-text-block-padded { padding: 30px 0; }
  .tx-text-block-padded-left { padding: 30px 0; }
  .tx-section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .tx-stat-number { font-size: 42px; }
  .tx-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .tx-project-card img { height: 300px !important; }
  .tx-stats-grid { gap: 10px; }
  .tx-page-top { padding: 140px 20px 60px; }
  .tx-contact-form { grid-template-columns: 1fr; }
  .tx-contact-span2 { grid-column: span 1; }
  .tx-contact-info { padding: 30px 20px; }
  .tx-projeto-gallery img { height: 50vh; }
  .tx-projeto-meta-grid { grid-template-columns: 1fr; }
  .tx-map-card { padding: 24px 20px; bottom: 24px; }
  .tx-image-modal-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
}

@media (max-width: 479px) {
  .tx-gallery-grid { grid-template-columns: 1fr; }
  .tx-gallery-grid img { height: 60vw; }
  .tomex-root h1 { font-size: 36px; }
  .tomex-root { padding: 8px; }
  .tx-navbar { top: 8px; left: 8px; right: 8px; }
  .tx-grid-4 { grid-template-columns: 1fr; }
  .tx-footer-grid { grid-template-columns: 1fr; }
  .tx-hero-content { padding: 100px 20px 30px; }
  .tx-footer { padding: 60px 20px 40px; }
  .tx-footer-bar { flex-direction: column; gap: 16px; text-align: center; }
  .tx-whatsapp-float { left: 16px; bottom: 16px; width: 54px; height: 54px; }
}

body.tx-menu-open { overflow: hidden; touch-action: none; }
body.tx-modal-open { overflow: hidden; touch-action: none; }
