/* ===== INNER PAGES ===== */

/* Page Hero */
.page-hero {
  position: relative;
  height: 420px;
  margin-top: 72px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.page-hero-content .section-tag { margin-bottom: 10px; }
.page-hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.2;
}

/* Inner Sections */
.inner-section { padding: 80px 0; }
.inner-section.bg-light { background: var(--gray-light); }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-text .section-tag { margin-bottom: 12px; }
.col-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 20px;
}
.col-text p {
  color: var(--gray);
  line-height: 1.85;
  font-size: 0.97rem;
  margin-bottom: 16px;
}
.col-text p:last-of-type { margin-bottom: 28px; }

.col-image { }
.image-block {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.image-block img { width: 100%; height: auto; display: block; }
.image-block.dark-bg {
  background: var(--navy);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-block.cover-img {
  height: 380px;
  background-size: cover;
  background-position: center;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-card {
  background: #fff;
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}
.value-card .feature-icon {
  margin: 0 auto 18px;
  border-color: var(--blue-btn);
  color: var(--blue-btn);
}
.value-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.value-card p { color: var(--gray); font-size: 0.87rem; line-height: 1.7; }

/* CTA Section */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
}
.cta-inner {
  text-align: center;
}
.cta-inner h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: 12px;
}
.cta-inner p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 36px;
}

/* Project Detail Hero (refined) */
.project-detail-hero {
  position: relative;
  height: 640px;
  background-size: cover;
  background-position: center;
  margin-top: 72px;
}
.project-detail-hero .page-hero-overlay {
  background: linear-gradient(180deg, rgba(13,45,82,0.15) 0%, rgba(13,45,82,0.55) 60%, rgba(13,45,82,0.85) 100%);
}
.project-detail-hero .page-hero-content {
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.project-badge-large {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.project-detail-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.project-detail-hero .project-location {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.project-detail-hero .project-location i { color: #fff; font-size: 1.05rem; }

/* Specs bar (refined) */
.specs-bar {
  background: #fff;
  padding: 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
  margin-top: -36px;
  z-index: 5;
}
.specs-bar-inner {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 48px rgba(13,45,82,0.12);
  display: flex;
  gap: 0;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  padding: 8px 0;
  max-width: 1080px;
  margin: 0 auto;
}
.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 32px;
  border-right: 1px solid rgba(0,0,0,0.06);
  flex: 1;
  min-width: 180px;
  gap: 6px;
}
.spec-item:last-child { border-right: none; }
.spec-item i {
  color: var(--blue-btn);
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.spec-item strong {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
.spec-item span {
  color: var(--gray);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}

/* Gallery (img-based for reliability) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-light);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.large { grid-column: span 2; aspect-ratio: 16/9; }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  background: var(--gray-light);
  font-size: 0.82rem;
  color: var(--gray);
}
.breadcrumb a { color: var(--blue-btn); }
.breadcrumb span { margin: 0 8px; }

/* Responsive */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; }
  .specs-bar-inner { gap: 0; }
  .spec-item { padding: 12px 24px; }
}

@media (max-width: 600px) {
  .page-hero { height: 320px; padding-bottom: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .spec-item { padding: 12px 16px; }
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.contact-info .section-tag { margin-bottom: 12px; }
.contact-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
}
.contact-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--gray);
  font-size: 0.94rem;
}
.contact-list li i { color: var(--blue-btn); font-size: 1.05rem; margin-top: 2px; min-width: 18px; }
.contact-list a { color: var(--gray); transition: color 0.25s ease; }
.contact-list a:hover { color: var(--blue-btn); }
.contact-form { background: var(--white); border-radius: 6px; padding: 36px; box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.contact-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
}
.form-group { margin-bottom: 14px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #dde3ec;
  border-radius: 4px;
  font-family: 'Montserrat', inherit;
  font-size: 0.88rem;
  color: var(--dark);
  background: #fafbfc;
  transition: border-color 0.25s ease;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-btn); background: #fff; }
.form-group textarea { resize: vertical; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ===== HIGHLIGHTS (engenharia) ===== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.highlight-item {
  background: #fff;
  border-radius: 6px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.highlight-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13,45,82,0.08);
}
.highlight-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.highlight-label-strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.highlight-label {
  font-size: 0.82rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ===== PORTFOLIO (engenharia) ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.portfolio-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.portfolio-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-light);
}
.portfolio-info { padding: 24px 28px; }
.portfolio-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.portfolio-meta {
  font-size: 0.85rem;
  color: var(--blue-btn);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.portfolio-info p:not(.portfolio-meta) {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== CLIENTS GRID ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.client-logo {
  background: #fff;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s ease;
  height: 110px;
}
.client-logo img {
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: all 0.25s ease;
}
.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ===== CINE CONSTREN HERO ===== */
.cine-hero {
  background: #0d0d0d;
  padding: 110px 24px 72px;
  margin-top: 72px;
  text-align: center;
}
.cine-hero-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.cine-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 22px;
}
.cine-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.cine-section {
  background: #0d0d0d;
  padding: 48px 0 96px;
}
.cine-section .btn-primary {
  background: var(--blue-btn);
  color: #fff;
}

/* ===== VIDEO SERIES (cine) ===== */
.video-series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.video-card {
  background: #111928;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.video-thumb-link { display: block; }
.video-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  background-color: #0d1829;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
}
.video-play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--blue-btn);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  padding-left: 5px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-card:hover .video-play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--blue-btn-hover);
}
.video-info { padding: 24px 28px 28px; }
.video-date {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.video-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.video-info p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.video-link {
  color: #6fbbff;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.25s ease;
}
.video-link:hover { gap: 12px; }

/* ===== TYPOLOGY (portillo) ===== */
.typology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.typology-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 2px solid transparent;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}
.typology-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  border-color: var(--blue-btn);
}
.typology-card.highlight {
  background: var(--blue-btn);
  color: #fff;
}
.typology-card.highlight .typology-area,
.typology-card.highlight .typology-label { color: #fff; }
.typology-area {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.typology-label {
  font-size: 0.82rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ===== PLANTS (ravello/angra) ===== */
.plants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.plant-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s ease;
}
.plant-card:hover { transform: translateY(-3px); }
.plant-img {
  background: var(--gray-light);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.plant-img img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}
.plant-info { padding: 24px 28px 28px; }
.plant-info h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.plant-area {
  color: var(--blue-btn);
  font-size: 0.85rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.plant-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plant-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray);
}
.plant-specs li i { color: var(--blue-btn); width: 16px; }

/* ===== CHECKLIST ===== */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.5;
}
.checklist li i {
  color: var(--blue-btn);
  width: 18px;
  flex-shrink: 0;
}

/* ===== RESPONSIVE for new components ===== */
@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .video-series-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .video-series-grid { grid-template-columns: repeat(2, 1fr); }
  .typology-grid { grid-template-columns: repeat(2, 1fr); }
  .plants-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .typology-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================================
   EMPRESA PAGE – split layout (text+stats | features grid)
   =================================================================== */

.empresa-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.empresa-text .section-tag { margin-bottom: 12px; }
.empresa-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.empresa-text p {
  color: var(--gray);
  font-size: 0.96rem;
  line-height: 1.85;
  margin-bottom: 18px;
}
.empresa-text p strong { color: var(--dark); font-weight: 700; }
.empresa-stats {
  display: flex;
  gap: 0;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.empresa-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-right: 16px;
}
.empresa-stat:not(:last-child) {
  border-right: 1px solid rgba(0,0,0,0.1);
  margin-right: 16px;
}
.empresa-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}
.empresa-stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  line-height: 1.3;
}

.empresa-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  padding-top: 8px;
}
.emp-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.emp-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(26,77,143,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-btn);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.emp-feature-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.3;
}
.emp-feature-body p {
  color: var(--gray);
  font-size: 0.84rem;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .empresa-split { grid-template-columns: 1fr; gap: 48px; }
  .empresa-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .empresa-features { grid-template-columns: 1fr; gap: 24px; }
  .empresa-stats { flex-direction: column; gap: 20px; border-top: none; padding-top: 24px; }
  .empresa-stat { border-right: none !important; margin-right: 0 !important; padding-right: 0; }
}

/* ===================================================================
   EMPREENDIMENTO PAGES – new two-column hero design
   =================================================================== */

.emp-hero {
  margin-top: 72px;
  padding: 64px 0 72px;
  background: #fff;
}
.emp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.emp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-btn);
  margin-bottom: 12px;
}
.emp-hero-left h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.emp-desc {
  color: var(--gray);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.badge-available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e4f5ed;
  color: #196e3e;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.badge-available::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #196e3e;
  flex-shrink: 0;
}
.badge-sold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.construction-card {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.construction-label {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.progress-track {
  background: #dde3ec;
  border-radius: 50px;
  height: 7px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--blue-btn), #2d7a4f);
}
.progress-pct {
  font-size: 0.76rem;
  color: var(--gray);
  margin-top: 7px;
  display: block;
  text-align: right;
  font-weight: 600;
}
.construction-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 10px;
  cursor: pointer;
}
.construction-toggle .construction-label { margin-bottom: 0; }
.construction-chevron {
  color: var(--gray);
  font-size: 0.78rem;
  transition: transform 0.25s ease;
}
.construction-toggle[aria-expanded="true"] .construction-chevron { transform: rotate(180deg); }
.construction-schedule { margin-top: 18px; }
.construction-schedule-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
  margin-bottom: 10px;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.schedule-table th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  padding: 8px 10px;
  border-bottom: 2px solid #cfd6e0;
}
.schedule-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #e4e9f0;
  color: var(--gray);
}
.schedule-table th:last-child,
.schedule-table td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: var(--dark);
}
.schedule-table tbody tr:last-child td { border-bottom: none; }
.emp-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.emp-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.91rem;
  color: var(--dark);
  line-height: 1.4;
}
.emp-checklist li i {
  color: #196e3e;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.info-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.info-card {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 16px 18px;
}
.info-card-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-btn);
  margin-bottom: 4px;
}
.info-card-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.info-card-book {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.info-card-book:hover { background: #e8ecf3; }
.info-card-book-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.info-card-book-text {
  display: flex;
  flex-direction: column;
}
.info-card-book .info-card-book-icon { margin-left: auto; }
.info-card-book-value {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.info-card-book-dl {
  width: 20px;
  height: 20px;
  color: var(--blue-btn);
  flex-shrink: 0;
}
.emp-hero-right {
  display: flex;
  flex-direction: column;
}
.emp-hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 52px rgba(13,45,82,0.14);
  position: sticky;
  top: 88px;
  flex: 1;
  min-height: 420px;
}
.emp-hero-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ===== GALLERY CAROUSEL ===== */
.emp-gallery-section {
  padding: 72px 0;
  background: var(--gray-light);
}
/* galeria logo após as Áreas Comuns: aproxima (mesmo fundo, evita vão duplo) */
.emp-amenities-section + .emp-gallery-section {
  padding-top: 0;
  margin-top: -40px;
}
/* Áreas Comuns logo após uma galeria (Angra): aproxima */
body[data-content-page="angra"] .emp-gallery-section + .emp-amenities-section {
  padding-top: 0;
  margin-top: -40px;
}
.emp-gallery-wrap { position: relative; }
.emp-gallery-viewport {
  overflow: hidden;
  border-radius: 10px;
}
.emp-gallery-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.emp-gallery-slide {
  position: relative;
  flex: 0 0 calc(33.333% - 10.667px);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #e0e5ef;
}
.emp-gallery-slide:has(.emp-gallery-caption)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  pointer-events: none;
  z-index: 1;
}
.emp-gallery-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
  pointer-events: none;
}
.emp-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.emp-gallery-slide:hover img { transform: scale(1.04); }

/* Portrait variant for engineering galleries */
.emp-gallery-wrap--portrait .emp-gallery-slide { aspect-ratio: 3/4; }
.emp-gallery-wrap--portrait .emp-gallery-slide { flex: 0 0 calc(33.333% - 10.667px); }

/* Plans carousel — 3 per view desktop, 1 mobile */
.emp-gallery-wrap--plans .emp-gallery-slide {
  flex: 0 0 calc(33.333% - 11px);
  aspect-ratio: unset;
  overflow: hidden;
  border-radius: 8px;
}
.emp-gallery-track.plans-centered { justify-content: center; }
.emp-gallery-wrap--plans .emp-gallery-slide img { transform: none; transition: none; }
.emp-gallery-wrap--plans .emp-gallery-slide:hover img { transform: none; }

/* Side-nav variant: buttons flank the viewport */
.emp-gallery-wrap--side-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.emp-gallery-wrap--side-nav .emp-gallery-viewport {
  flex: 1;
  min-width: 0;
}
.emp-gallery-wrap--side-nav > .emp-gallery-btn {
  flex-shrink: 0;
  margin: 0 14px;
}
.emp-gallery-wrap--side-nav .emp-gallery-nav {
  width: 100%;
  margin-top: 20px;
}
/* Adjust slide width for 48px gap (gap*2/3 = 32px) */
.emp-gallery-wrap--side-nav.emp-gallery-wrap--plans .emp-gallery-slide {
  flex: 0 0 calc(33.333% - 32px);
}
/* Sync CSS track gap with data-gap value so 4th card stays hidden */
.emp-gallery-wrap--side-nav.emp-gallery-wrap--plans .emp-gallery-track {
  gap: 48px;
}

/* Column map below floor plans — padded to align with carousel viewport */
.plans-column-map {
  margin-top: 48px;
  /* 40px button + 14px margin = 54px offset per side, matching side-nav buttons */
  padding: 0 54px;
}
.plans-column-map img {
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.emp-gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}
.emp-gallery-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dde3ec;
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.emp-gallery-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.emp-gallery-btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.emp-gallery-dots { display: flex; gap: 7px; align-items: center; }
.emp-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b8c2d0;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.emp-gallery-dot.active {
  background: var(--navy);
  transform: scale(1.35);
}

/* ===== FLOOR PLANS ===== */
.floor-plans-section {
  padding: 80px 0;
  background: #fff;
}
.floor-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.floor-plans-grid.two-plans {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
}
.floor-plan-card {
  background: var(--gray-light);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.floor-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.floor-plan-img {
  background: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  flex-shrink: 0;
}
.floor-plan-img img {
  max-width: 100%;
  max-height: 228px;
  object-fit: contain;
  display: block;
}
.floor-plan-info { padding: 14px 16px 20px; min-width: 0; overflow: hidden; flex: 1; }
.floor-plan-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.floor-plan-specs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 7px;
}
.floor-plan-spec {
  grid-column: span 3;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 0.72rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.floor-plan-spec:nth-child(-n+3) { grid-column: span 2; }
.floor-plan-spec i { color: var(--blue-btn); font-size: 0.75rem; flex-shrink: 0; }

/* Column tag colors — match the column map */
.fpc-col-green  { background: rgba(34,100,34,0.08);  border-color: #226422; color: #226422; }
.fpc-col-green i  { color: #226422; }
.fpc-col-red    { background: rgba(139,24,24,0.08);  border-color: #8b1818; color: #8b1818; }
.fpc-col-red i    { color: #8b1818; }
.fpc-col-blue   { background: rgba(26,61,143,0.08);  border-color: #1a3d8f; color: #1a3d8f; }
.fpc-col-blue i   { color: #1a3d8f; }
.fpc-col-orange { background: rgba(196,100,10,0.1);  border-color: #c4640a; color: #c4640a; }
.fpc-col-orange i { color: #c4640a; }

/* Responsive emp pages */
@media (max-width: 960px) {
  .emp-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .emp-hero-img { position: static; order: -1; }
  .floor-plans-grid { grid-template-columns: repeat(2, 1fr); }
  .emp-gallery-slide { flex: 0 0 calc(50% - 8px); }
  /* plantas: 2 por vez no tablet (acompanha o JS) */
  .emp-gallery-wrap--plans .emp-gallery-slide { flex: 0 0 calc(50% - 8px); }
  .emp-gallery-wrap--side-nav.emp-gallery-wrap--plans .emp-gallery-slide { flex: 0 0 calc(50% - 24px); }
}
@media (max-width: 600px) {
  .emp-hero { padding: 40px 0 48px; }
  .floor-plans-grid, .floor-plans-grid.two-plans { grid-template-columns: 1fr; max-width: none; }
  .emp-gallery-slide { flex: 0 0 100%; }
  .info-cards-row { grid-template-columns: 1fr; }
  /* plantas: 1 por vez no celular, sem setas laterais (usa os pontos) */
  .emp-gallery-wrap--plans .emp-gallery-slide,
  .emp-gallery-wrap--side-nav.emp-gallery-wrap--plans .emp-gallery-slide { flex: 0 0 100%; }
  .emp-gallery-wrap--side-nav > .emp-gallery-btn { display: none; }
  .emp-gallery-wrap--side-nav .emp-gallery-viewport { flex-basis: 100%; }
}

/* ===================================================================
   ENGENHARIA – Portfolio Carousel
   =================================================================== */

.eng-portfolio-section {
  padding: 80px 0;
  background: var(--gray-light);
}
.eng-portfolio-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 48px;
}
.eng-portfolio-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}
.eng-portfolio-viewport {
  overflow: hidden;
  flex: 1;
  border-radius: 10px;
}
.eng-portfolio-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.eng-portfolio-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex: 0 0 calc(33.333% - 13.333px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.eng-portfolio-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,45,82,0.13);
}
.eng-portfolio-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.eng-portfolio-info { padding: 24px 24px 28px; }
.eng-portfolio-title-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.eng-portfolio-desc {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.eng-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.eng-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef0f4;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}
.eng-pill i { font-size: 0.72rem; color: var(--blue-btn); }
.eng-portfolio-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray);
  font-size: 0.84rem;
}
.eng-portfolio-loc i { color: var(--blue-btn); }
.eng-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dde3ec;
  color: var(--navy);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.eng-carousel-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.eng-carousel-btn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.eng-carousel-prev { margin-right: 16px; }
.eng-carousel-next { margin-left: 16px; }
.eng-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.eng-carousel-dot {
  width: 32px;
  height: 8px;
  border-radius: 50px;
  background: #b8c2d0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.eng-carousel-dot.active {
  background: var(--navy);
  width: 48px;
}

@media (max-width: 960px) {
  .eng-portfolio-card { flex: 0 0 calc(50% - 10px); }
  .eng-portfolio-img { height: 200px; }
}
@media (max-width: 600px) {
  .eng-portfolio-card { flex: 0 0 100%; }
  .eng-carousel-prev, .eng-carousel-next { display: none; }
}

/* ===== EMPREENDIMENTOS LIST PAGE ===== */
.emp-list-intro {
  margin-top: 72px;
  padding: 64px 0 48px;
  background: #fff;
}
.emp-list-intro h1 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 10px 0 14px;
}
.emp-list-intro p {
  color: #4a5568;
  font-size: 1rem;
  max-width: 560px;
}

.emp-list-section {
  background: #f4f6f8;
  padding: 0 24px 64px;
}
.emp-filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  padding-bottom: 40px;
}
.emp-filter-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px; border-radius: 999px; border: 1px solid #dde3ec;
  background: #fff; color: var(--gray); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease; font-family: 'Montserrat', sans-serif;
}
.emp-filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.emp-filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.emp-status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.emp-dot--lancamento { background: #22c55e; }
.emp-dot--construcao { background: #3b82f6; }
.emp-dot--pronto { background: #eab308; }
.emp-dot--vendido { background: #374151; }
.emp-filter-btn.active .emp-status-dot { background: #fff; }
.emp-status-badge {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  padding: 5px 14px; border-radius: 999px; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
}
.emp-badge--lancamento { background: #22c55e; color: #fff; }
.emp-badge--construcao { background: #3b82f6; color: #fff; }
.emp-badge--pronto { background: #eab308; color: #1a1a1a; }
.emp-badge--vendido { background: #374151; color: #fff; }
.emp-mosaic-card[data-category] { transition: transform 0.3s ease, opacity 0.3s ease; }
.emp-mosaic-card.emp-hidden { display: none; }
.emp-grid-wrap {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.emp-mosaic-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  transition: transform 0.3s ease;
}
.emp-mosaic-card:hover { transform: scale(1.015); }
.emp-mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}
.emp-mosaic-info {
  position: relative;
  z-index: 1;
  padding: 28px 32px;
}
.emp-mosaic-year {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.emp-mosaic-name {
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}
.emp-mosaic-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.emp-mosaic-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  transition: background 0.2s ease;
}
.emp-mosaic-card:hover .emp-mosaic-arrow { background: rgba(255,255,255,0.4); }

@media (max-width: 768px) {
  .emp-grid-wrap { grid-template-columns: 1fr; }
  .emp-mosaic-card { min-height: 300px; }
  .emp-mosaic-name { font-size: 1.8rem; }
}

/* ===== EMPRESA PREMIUM ===== */

.empresa-intro { margin-top: 72px; padding: 96px 0 80px; background: #fff; text-align: center; }
.empresa-intro .section-tag { display: block; margin-bottom: 16px; }
.empresa-intro h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 24px; letter-spacing: -0.02em; }
.empresa-intro-sub { font-size: 1.05rem; color: var(--gray); max-width: 540px; margin: 0 auto; line-height: 1.7; }

.empresa-numbers { background: var(--gray-light); border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); padding: 56px 0; }
.empresa-numbers-inner { display: flex; align-items: center; justify-content: center; }
.empresa-number-item { flex: 1; text-align: center; padding: 0 40px; }
.empresa-number-val { display: block; font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.empresa-number-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); }
.empresa-number-divider { width: 1px; height: 56px; background: rgba(0,0,0,0.12); flex-shrink: 0; }

.empresa-historia { background: #fff; padding: 96px 0; }
.empresa-historia-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.empresa-historia-text .section-tag { margin-bottom: 12px; }
.empresa-historia-text h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 2.8vw, 2.4rem); font-weight: 600; color: var(--navy); line-height: 1.2; margin-bottom: 28px; letter-spacing: -0.02em; }
.empresa-historia-text p { font-size: 0.96rem; color: var(--gray); line-height: 1.85; margin-bottom: 18px; }
.empresa-historia-img { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 64px rgba(13,45,82,0.14); }
.empresa-historia-img img { width: 100%; height: 520px; object-fit: cover; display: block; }

.empresa-diferenciais { background: var(--gray-light); padding: 96px 0; }
.empresa-dif-header { text-align: center; margin-bottom: 56px; }
.empresa-dif-header .section-tag { display: block; margin-bottom: 12px; }
.empresa-dif-header h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.7rem, 2.5vw, 2.2rem); font-weight: 600; color: var(--navy); letter-spacing: -0.02em; }
.empresa-dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.empresa-dif-item { background: #fff; border-radius: 16px; padding: 36px 32px; box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.empresa-dif-item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.empresa-dif-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(26,77,143,0.08); color: var(--blue-btn); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 20px; }
.empresa-dif-item h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.empresa-dif-item p { font-size: 0.87rem; color: var(--gray); line-height: 1.65; }

@media (max-width: 960px) {
  .empresa-historia-inner { grid-template-columns: 1fr; gap: 48px; }
  .empresa-historia-img { order: -1; }
  .empresa-historia-img img { height: 340px; }
  .empresa-dif-grid { grid-template-columns: repeat(2, 1fr); }
  .empresa-number-item { padding: 0 24px; }
}
@media (max-width: 600px) {
  .empresa-numbers-inner { flex-direction: column; gap: 32px; }
  .empresa-number-divider { width: 56px; height: 1px; }
  .empresa-dif-grid { grid-template-columns: 1fr; }
}

/* ===== CINE CONSTREN — DARK PAGE ===== */

body.cine-page { background: #0c0c0c; }

/* Header dark override */
.cine-page #header,
.cine-page #header.scrolled {
  background: rgba(10,10,10,0.92) !important;
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
}
.cine-page #header .main-nav a { color: rgba(255,255,255,0.78); }
.cine-page #header .main-nav a:hover,
.cine-page #header .main-nav a.active { color: #fff; }
.cine-page #header .dropdown-menu { background: #181818; border: 1px solid rgba(255,255,255,0.1); }
.cine-page #header .dropdown-menu a { color: rgba(255,255,255,0.7); }
.cine-page #header .dropdown-menu a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.cine-page #header .hamburger span { background: #fff; }
.cine-page .mobile-nav { background: #111; }
.cine-page .mobile-nav a { color: rgba(255,255,255,0.8); }
.cine-page .mobile-nav a:hover { color: #fff; }

/* ── Feature Hero ─────────────────────────────────────────────────────────── */
.cf-hero {
  background: #0d0d0d;
  padding: 150px 24px 84px;
  overflow: hidden;
}
.cf-hero-titles {
  text-align: center;
  line-height: 0.8;
  margin-bottom: 28px;
}
.cf-hero-heading,
.cf-hero-echo {
  display: block;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 8vw, 6.5rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cf-hero-heading { color: #fff; }
.cf-hero-echo { color: rgba(255,255,255,0.10); }
.cf-hero-intro { text-align: center; margin-bottom: 52px; }
.cf-hero-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 16px;
}
.cf-hero-sub {
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
}
.cf-hero-card {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  aspect-ratio: 21 / 9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}
/* hover: o card inteiro "vem para a frente" (levanta + cresce + sombra) */
.cf-hero-card:hover {
  transform: translateY(-14px) scale(1.025);
  box-shadow: 0 62px 130px rgba(0,0,0,0.7);
}
.cf-hero-card-media {
  position: absolute;
  inset: 0;
  background-size: cover;   /* preenche o card por completo, sem faixas pretas */
  background-position: center;
}
.cf-hero-card-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cf-hero-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.05) 46%),
    linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 34%);
}
.cf-hero-card-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;   /* clique vaza para o link que cobre o card */
}
.cf-hero-card-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.cf-hero-card-row--top { align-items: flex-start; }
.cf-hero-card-row--bottom { align-items: flex-end; justify-content: flex-end; }
.cf-hero-card-badge {
  position: relative;
  z-index: 3;
  pointer-events: auto;   /* o badge tem link próprio (canal) */
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 7px 14px;
  border-radius: 50px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.cf-hero-card-badge:hover { background: rgba(255,255,255,0.28); border-color: rgba(255,255,255,0.5); }
.cf-hero-card-quote {
  max-width: 230px;
  text-align: right;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.cf-hero-card-kicker {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 8px;
}
.cf-hero-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.cf-hero-card-cta {
  position: relative;
  z-index: 3;
  pointer-events: auto;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 12px 22px;
  border-radius: 50px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.cf-hero-card:hover .cf-hero-card-cta {
  background: #fff;
  color: #0c0c0c;
  border-color: #fff;
}
@media (max-width: 680px) {
  .cf-hero { padding: 116px 14px 52px; }
  .cf-hero-intro { margin-bottom: 36px; }
  .cf-hero-sub { font-size: 0.72rem; }
  .cf-hero-card { aspect-ratio: 4 / 5; }
  .cf-hero-card-quote { display: none; }
  .cf-hero-card-cta { padding: 10px 15px; letter-spacing: 0.12em; }
}

/* ── Synopsis ─────────────────────────────────────────────────────────────── */
.cf-synopsis {
  background: #0c0c0c;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cf-synopsis-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 88px 72px;
  box-sizing: border-box;
}
.cf-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 20px;
}
.cf-synopsis-left h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cf-synopsis-right { padding-top: 4px; }
.cf-synopsis-right p {
  font-size: 1rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.85;
}

/* ── Episodes Carousel ────────────────────────────────────────────────────── */
.cf-episodes {
  background: #0c0c0c;
  padding: 72px 0 88px;
}
.cf-playlists {
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}
.cf-episodes-header {
  padding: 0 72px;
  margin-bottom: 104px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  text-align: center;
}
.cf-episodes-header .cf-label { font-family: 'Montserrat', 'Inter', sans-serif; }
.cf-episodes-header h3 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  margin: 14px 0 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cf-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(20,20,20,0.75);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: background 0.2s, color 0.2s;
}
.cf-nav-btn:hover:not(:disabled) { background: rgba(40,40,40,0.9); color: #fff; }
.cf-nav-btn:disabled { opacity: 0; pointer-events: none; }

/* ── Playlists (filas de vídeos por tema) ────────────────────────────────── */
.cf-playlist-row { margin-bottom: 40px; }
.cf-playlist-row:last-child { margin-bottom: 0; }
.cf-playlist-row > .cf-playlist-col {
  padding: 0 72px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}
.cf-playlist-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: #c9a96e;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.cf-playlist-viewport { position: relative; --cf-fade-w: 0px; }
.cf-playlist-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}
.cf-playlist-track::-webkit-scrollbar { display: none; }
.cf-playlist-track .cf-card { flex: 0 0 clamp(200px, 19vw, 280px); }

/* Esconde o excesso de card cortado na borda — nas playlists agrupadas some por completo;
   na primeira fileira (largura cheia) sobra só uma tirinha, o suficiente pra bater o
   alinhamento com as demais (largura calculada em JS via --cf-fade-w). */
.cf-playlist-viewport::before,
.cf-playlist-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: var(--cf-fade-w);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s;
}
.cf-playlist-viewport::before { left: 0; background: #0c0c0c; }
.cf-playlist-viewport::after { right: 0; background: #0c0c0c; }
.cf-playlist-viewport.has-prev::before { opacity: 1; }
.cf-playlist-viewport.has-next::after { opacity: 1; }

/* Grupos de playlists lado a lado (duas colunas independentes) */
.cf-playlist-group {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 72px;
  box-sizing: border-box;
}
.cf-playlist-group:last-child { margin-bottom: 0; }
.cf-playlist-group .cf-playlist-col { flex: 1 1 0; min-width: 0; }
.cf-row-nav {
  position: absolute;
  top: 36%;   /* centro real da miniatura (o card tem texto abaixo, então não é 50%) */
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  font-size: 1rem;
}
.cf-row-prev { left: 24px; }
.cf-row-next { right: 24px; }

.cf-card-link { display: block; text-decoration: none; }

.cf-card-thumb {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: #181818;
}
.cf-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.45s ease;
}
.cf-card-link:hover .cf-card-thumb img { transform: scale(1.05); }

.cf-card-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.2s;
}
.cf-card-play i {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #0c0c0c;
  opacity: 0; transform: scale(0.75);
  transition: opacity 0.2s, transform 0.2s;
}
.cf-card-link:hover .cf-card-play { background: rgba(0,0,0,0.38); }
.cf-card-link:hover .cf-card-play i { opacity: 1; transform: scale(1); }

.cf-card-info { padding: 14px 2px 0; }
.cf-card-info h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem; font-weight: 700;
  color: #fff; line-height: 1.35; margin-bottom: 6px;
}
.cf-card-date {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
}

/* ── YouTube CTA ──────────────────────────────────────────────────────────── */
.cf-yt-cta {
  background: #0c0c0c;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 72px;
  display: flex;
  justify-content: center;
}
.cf-yt-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.cf-yt-link .fa-youtube { font-size: 1.4rem; color: #ff0000; }
.cf-yt-link .fa-arrow-up-right-from-square { font-size: 0.75rem; opacity: 0.4; }
.cf-yt-link:hover { color: #fff; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .cf-feature-content { padding: 0 40px 52px; }
  .cf-footer { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cf-quote { display: none; }
  .cf-synopsis-inner { grid-template-columns: 1fr; gap: 28px; padding: 64px 40px; }
  .cf-episodes-header { padding: 0 40px; }
  .cf-playlist-row > .cf-playlist-col { padding: 0 40px; }
  .cf-playlist-group { flex-direction: column; gap: 24px; padding: 0 40px; }
  .cf-playlist-track .cf-card { flex: 0 0 46%; }
  .cf-row-prev { left: 8px; }
  .cf-row-next { right: 8px; }
  .cf-yt-cta { padding: 48px 40px; }
}
@media (max-width: 600px) {
  .cf-feature-content { padding: 0 24px 40px; }
  .cf-title { margin-bottom: 36px; }
  .cf-synopsis-inner { padding: 48px 24px; }
  .cf-episodes-header { padding: 0 24px; }
  .cf-playlist-row > .cf-playlist-col { padding: 0 24px; }
  .cf-playlist-group { padding: 0 24px; }
  .cf-playlist-track .cf-card { flex: 0 0 68%; }
  .cf-row-nav { display: none; }
  .cf-yt-cta { padding: 40px 24px; }
}

/* ===== CONTATO REDESIGN ===== */

/* Hero */
.ct-hero {
  margin-top: 72px;
  position: relative;
  height: 300px;
  background-image: url('https://xttscginigtenyqvvepl.supabase.co/storage/v1/object/public/constren-assets/service/duetto-slide.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ct-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(13,45,82,0.68);
}
.ct-hero-content { position: relative; z-index: 1; padding: 0 24px; }
.ct-hero-content .section-tag { display: block; margin-bottom: 12px; }
.ct-hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700; color: #fff;
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.ct-hero-content p { color: rgba(255,255,255,0.75); font-size: 1rem; }

/* Main wrapper */
.ct-main { background: var(--gray-light); padding-bottom: 80px; }

/* Floating card */
.ct-card {
  max-width: 1100px;
  margin: -72px auto 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 64px rgba(13,45,82,0.14);
  display: grid;
  grid-template-columns: 380px 1fr;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

/* Left info panel */
.ct-info {
  background: var(--navy);
  padding: 52px 40px;
}
.ct-info h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: #fff; margin-bottom: 10px;
}
.ct-info-sub {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  line-height: 1.7; margin-bottom: 36px;
}
.ct-info-item {
  display: flex; align-items: flex-start;
  gap: 16px; margin-bottom: 22px;
}
.ct-info-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.ct-info-icon--green { background: rgba(37,211,102,0.18); color: #25d366; }
.ct-info-item strong {
  display: block; font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.45); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 3px;
}
.ct-info-item span,
.ct-info-item a {
  font-size: 0.9rem; color: rgba(255,255,255,0.82);
  text-decoration: none; line-height: 1.45;
}
.ct-info-item a:hover { color: #fff; text-decoration: underline; }
.ct-address-link { cursor: pointer; }
.ct-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 28px 0; }
.ct-social-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 14px;
}
.ct-social { display: flex; gap: 10px; }
.ct-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.9rem; text-decoration: none;
  transition: background 0.2s;
}
.ct-social a:hover { background: rgba(255,255,255,0.24); }

/* Right form panel */
.ct-form-panel { padding: 52px 48px; display: flex; flex-direction: column; }
.ct-form-panel form { display: flex; flex-direction: column; flex: 1; }
.ct-form-panel h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--navy); margin-bottom: 28px;
}
.ct-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 8px;
}
.ct-form-group {
  display: flex; flex-direction: column; margin-bottom: 24px;
}
.ct-form-group label {
  font-size: 0.78rem; font-weight: 700;
  color: var(--navy); margin-bottom: 6px; letter-spacing: 0.02em;
}
.ct-form-group input,
.ct-form-group select,
.ct-form-group textarea {
  border: 1px solid rgba(13,45,82,0.14);
  border-radius: 8px; padding: 10px 14px;
  font-size: 0.9rem; color: #333;
  background: #f7f8fb; outline: none;
  transition: border-color 0.2s, background 0.2s;
  font-family: inherit; resize: vertical;
}
.ct-form-group input:focus,
.ct-form-group select:focus,
.ct-form-group textarea:focus {
  border-color: var(--blue-btn); background: #fff;
}
.ct-form-group textarea { min-height: 120px; }
.ct-submit-btn {
  display: flex; align-items: center; gap: 14px;
  background: none; border: none; padding: 0 24px 0 0;
  cursor: pointer; margin-top: auto; align-self: flex-start;
  color: var(--navy); font-family: 'Montserrat', sans-serif;
  position: relative; overflow: hidden; border-radius: 999px;
}
.ct-submit-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--navy);
  border-radius: 999px;
  clip-path: inset(0 calc(100% - 48px) 0 0 round 999px);
  transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.ct-submit-btn:hover::after { clip-path: inset(0 0 0 0 round 999px); }
.ct-submit-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  position: relative; z-index: 1;
}
.ct-submit-label {
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em;
  position: relative; z-index: 1;
  transition: color 0.3s ease 0.05s;
}
.ct-submit-btn:hover .ct-submit-label { color: #fff; }

/* Map */
.ct-map { width: 100%; height: 420px; line-height: 0; }
.ct-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Responsive */
@media (max-width: 960px) {
  .ct-card { grid-template-columns: 1fr; margin: -48px 24px 0; max-width: none; }
  .ct-info { padding: 40px 32px; }
  .ct-form-panel { padding: 40px 32px; }
}
@media (max-width: 600px) {
  .ct-hero { height: 240px; }
  .ct-card { margin: -36px 16px 0; border-radius: 14px; }
  .ct-info { padding: 32px 24px; }
  .ct-form-panel { padding: 32px 24px; }
  .ct-form-row { grid-template-columns: 1fr; gap: 0; }
  .ct-map { height: 280px; }
}

/* ===== EMPRESA PAGE — NEW LAYOUT (epg-) ===== */

/* Wrapper + hero card */
.epg-wrapper {
  background: var(--gray-light);
  padding: 40px 40px 56px;
}
.epg-hero-card {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.epg-hero-left {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.epg-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}
.epg-hero-left h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700; color: #fff;
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.epg-hero-left p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.epg-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
}
.epg-stat { flex: 0 0 auto; padding-right: 0; }
.epg-stat-val {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700; color: #fff;
  margin-bottom: 4px;
  white-space: nowrap;
}
.epg-stat-label {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.38);
}
.epg-stat-div {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0; margin: 0 40px;
}
.epg-hero-right {
  position: relative; overflow: hidden;
}
.epg-hero-right img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* História */
.epg-story { background: #fff; padding: 96px 0; }
.epg-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.epg-story-img {
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(13,45,82,0.12);
}
.epg-story-img img { width: 100%; height: 520px; object-fit: cover; display: block; }
.epg-story-text .section-tag { display: block; margin-bottom: 12px; }
.epg-story-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.epg-story-text p {
  font-size: 0.96rem; color: var(--gray);
  line-height: 1.8; margin-bottom: 28px;
}
.epg-checklist {
  list-style: none; margin: 0 0 32px;
}
.epg-checklist li {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(13,45,82,0.07);
  font-size: 0.92rem; color: #444; line-height: 1.4;
}
.epg-checklist li:first-child { border-top: 1px solid rgba(13,45,82,0.07); }
.epg-check {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(26,77,143,0.1); color: var(--blue-btn);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; flex-shrink: 0;
}

/* Diferenciais */
.epg-dif { background: var(--gray-light); padding: 96px 0; }
.epg-dif-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px; align-items: start;
}
.epg-dif-col { position: sticky; top: 96px; }
.epg-dif-col .section-tag { display: block; margin-bottom: 12px; }
.epg-dif-col h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700; color: var(--navy);
  line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.epg-dif-col p {
  font-size: 0.9rem; color: var(--gray);
  line-height: 1.7; margin-bottom: 28px;
}
.epg-dif-cta {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy);
  font-size: 0.9rem; font-weight: 700;
  position: relative; overflow: hidden;
  border-radius: 999px; padding-right: 20px;
}
.epg-dif-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--navy);
  border-radius: 999px;
  clip-path: inset(0 calc(100% - 40px) 0 0 round 999px);
  transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.epg-dif-cta:hover::after { clip-path: inset(0 0 0 0 round 999px); }
.epg-dif-cta-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
  position: relative; z-index: 1;
}
.epg-dif-cta span:last-child {
  position: relative; z-index: 1;
  transition: color 0.3s ease 0.05s;
}
.epg-dif-cta:hover span:last-child { color: #fff; }

.epg-dif-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.epg-dif-item {
  background: #fff;
  border-radius: 16px; padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.epg-dif-item:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.09); }
.epg-dif-featured {
  background: var(--navy);
  box-shadow: 0 8px 32px rgba(13,45,82,0.22);
}
.epg-dif-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(26,77,143,0.1); color: var(--blue-btn);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin-bottom: 18px;
}
.epg-dif-featured .epg-dif-icon {
  background: rgba(255,255,255,0.12); color: #fff;
}
.epg-dif-item h4 {
  font-size: 0.97rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}
.epg-dif-featured h4 { color: #fff; }
.epg-dif-item p {
  font-size: 0.85rem; color: var(--gray); line-height: 1.65;
}
.epg-dif-featured p { color: rgba(255,255,255,0.62); }
.epg-dif-wide { grid-column: 1 / -1; }

/* Responsive */
@media (max-width: 960px) {
  .epg-wrapper { padding: 24px 24px 40px; }
  .epg-hero-card { grid-template-columns: 1fr; }
  .epg-hero-right { height: 300px; }
  .epg-story-inner { grid-template-columns: 1fr; gap: 40px; }
  .epg-story-img { order: -1; }
  .epg-story-img img { height: 300px; }
  .epg-dif-inner { grid-template-columns: 1fr; gap: 40px; }
  .epg-dif-col { position: static; }
}
@media (max-width: 600px) {
  .epg-wrapper { padding: 16px 16px 32px; }
  .epg-hero-left { padding: 40px 32px; }
  .epg-stats { flex-wrap: wrap; gap: 20px; }
  .epg-stat-div { display: none; }
  .epg-dif-grid { grid-template-columns: 1fr; }
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 60px 0 80px;
  background: #fff;
}
.team-rows-wrap {
  margin-top: 52px;
}
.team-row {
  position: relative;
  padding: 80px 0;
}
.team-row::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 120px;
  background: var(--navy);
  z-index: 0;
}
.team-row + .team-row {
  margin-top: 24px;
}
.team-row-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0 42px;
}
.team-card {
  flex: 0 1 calc(100% / 6 - 36px);
  max-width: 188px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-card--up {
  transform: translateY(-40px);
}
.team-card--down {
  transform: translateY(40px);
}
.team-card-photo {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.team-card:hover .team-card-photo {
  transform: scale(1.06);
  box-shadow: 0 10px 28px rgba(0,0,0,0.32);
}
.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}
.team-card-role {
  font-size: 0.72rem;
  color: var(--gray);
  line-height: 1.3;
}
@media (max-width: 960px) {
  /* empilha em grade — sem escalonamento nem faixa azul (causavam sobreposição) */
  .team-row { padding: 32px 0; }
  .team-row::before { display: none; }
  .team-row + .team-row { margin-top: 0; }
  .team-row-inner { flex-wrap: wrap; justify-content: center; gap: 32px 20px; }
  .team-card { flex: 0 0 calc(33.333% - 14px); max-width: 200px; }
  .team-card--up, .team-card--down { transform: none; }
}
@media (max-width: 600px) {
  .team-row { padding: 16px 0; }
  .team-rows-wrap { margin-top: 28px; }
  .team-row-inner { gap: 24px 16px; }
  .team-card { flex: 0 0 calc(50% - 8px); max-width: none; }
  .team-card-name { font-size: 0.9rem; }
  .team-card-role { font-size: 0.78rem; }
}

/* ===== ENGINEERING INDIVIDUAL PAGES ===== */

.eng-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-btn);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}
.eng-back-link:hover { color: var(--navy); }
.eng-back-link i { font-size: 0.75rem; }

.eng-pills-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.eng-about-section {
  background: var(--gray-light);
  padding: 80px 0;
}
.eng-about-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 72px;
  align-items: start;
}
.eng-about-text .section-tag { display: block; margin-bottom: 12px; }
.eng-about-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.eng-about-text p {
  font-size: 0.97rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 16px;
}

.eng-about-client .section-tag { display: block; margin-bottom: 16px; }
.eng-client-logo-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}
.eng-client-logo-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.eng-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.eng-about-stat {
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.eng-about-stat-val {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.eng-about-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

@media (max-width: 960px) {
  .eng-about-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .eng-about-stats { grid-template-columns: 1fr; }
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.92); align-items: center; justify-content: center;
  overflow: hidden;
}
.lightbox-img {
  max-width: 90vw; max-height: 90vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  user-select: none; -webkit-user-drag: none;
  cursor: zoom-in;
  transform-origin: center center;
  will-change: transform;
}
.lightbox-overlay.zoomed .lightbox-img { cursor: crosshair; transition: transform-origin 0.05s ease; }
.lightbox-close {
  position: fixed; top: 20px; right: 24px; background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; padding: 8px;
  opacity: 0.8; transition: opacity 0.15s; z-index: 10000;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-btn {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: none; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s; z-index: 10000;
}
.lightbox-btn:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-btn:disabled { opacity: 0.25; pointer-events: none; }

/* ===== EMP SUBTITLE ===== */
.emp-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-btn);
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  margin-top: 4px;
}

/* ===== EMP AMENITIES SECTION ===== */
.emp-amenities-section {
  background: var(--gray-light);
  padding: 80px 0;
}
.emp-amenities-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}
.emp-amenities-section .section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  margin-top: 10px;
  letter-spacing: -0.02em;
}
.emp-amenities-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.emp-amenities-text p {
  font-size: 0.96rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 18px;
}
.emp-amenities-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.emp-amenities-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 500;
}
.emp-amenities-list li i {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(26,77,143,0.1);
  color: var(--blue-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .emp-amenities-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .emp-amenities-list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .emp-amenities-list {
    grid-template-columns: 1fr;
  }
}

/* ===== EMP CTA SECTION ===== */
.emp-cta-section {
  background: #fff;
  padding: 72px 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.emp-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: var(--navy);
  border-radius: 20px;
  padding: 52px 56px;
}
.emp-cta-text .section-tag {
  color: rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.2);
  margin-bottom: 14px;
  display: inline-block;
}
.emp-cta-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.emp-cta-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 520px;
}
.emp-cta-address {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.emp-cta-address:hover { color: #fff; }
.emp-cta-address i { font-size: 0.78rem; }

.emp-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.emp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  background: #fff;
  color: var(--navy);
}
.emp-cta-btn:hover {
  background: #e8eef6;
  transform: translateY(-2px);
}
.emp-cta-btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.emp-cta-btn--whatsapp:hover {
  background: #1ebe5c;
}
.emp-cta-btn--pdf {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.emp-cta-btn--pdf:hover {
  background: rgba(255,255,255,0.28);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 860px) {
  .emp-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 40px 36px;
  }
}
@media (max-width: 480px) {
  .emp-cta-inner {
    padding: 32px 24px;
    border-radius: 14px;
  }
  .emp-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .emp-cta-btn {
    justify-content: center;
  }
}

/* ===== LINHA DO TEMPO — linha única, full-width (EMPRESA) ===== */
.htl {
  background: #fff;
  margin-top: 72px;
  padding: 64px 0 80px;
  overflow: hidden;
  position: relative;
}
.htl-viewport { position: relative; }
.htl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dde3ec;
  color: var(--navy);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(13,45,82,0.18);
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.htl-nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.htl-nav:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.htl-prev { left: 12px; }
.htl-next { right: 12px; }
.htl-head {
  text-align: left;
  max-width: 1200px;
  margin: 0 0 48px;
  padding: 0 32px;
}
.htl-head .section-tag { display: inline-block; margin-bottom: 8px; }
.htl-head h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

/* full-bleed strip */
.htl-rows {
  width: 100%;
  padding: 0 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.htl-rows::-webkit-scrollbar { display: none; }
.htl-row {
  position: relative;
  display: flex;
  align-items: stretch;
  width: max-content;
  min-width: 100%;
}
/* horizontal spine through the middle */
.htl-row::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--navy-light) 0%, var(--navy) 100%);
  opacity: 0.2;
  z-index: 0;
}

.htl-item {
  flex: 0 0 clamp(150px, 11.5vw, 188px);
  min-width: 0;
  position: relative;
  height: 470px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.htl-item.revealed { opacity: 1; transform: translateY(0); }

.htl-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(88px, 7vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 5px 16px rgba(13,45,82,0.26);
  background: var(--navy);
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.htl-node img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.htl-item:hover .htl-node {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 12px 28px rgba(13,45,82,0.4);
  z-index: 5;
}

.htl-stem {
  position: absolute;
  left: 50%;
  width: 2px;
  height: var(--stem-h, 20px);
  transform: translateX(-50%);
  background: var(--navy-light);
  opacity: 0.35;
  z-index: 1;
}
.htl-up .htl-stem   { top: calc(50% - var(--htl-r, 39px) - var(--stem-h, 20px)); }
.htl-down .htl-stem { top: calc(50% + var(--htl-r, 39px)); }

/* labels wider than the item; alternating up/down keeps neighbours clear.
   width scales with viewport so two same-level neighbours never overlap
   (each cell ≈ vw/17, two cells ≈ 11.7vw → keep label just under that). */
.htl-label {
  position: absolute;
  left: 50%;
  width: clamp(112px, 11vw, 170px);
  text-align: center;
  transform: translateX(-50%);
  line-height: 1.25;
}
.htl-up   .htl-label { bottom: calc(50% + var(--htl-r, 39px) + var(--stem-h, 20px) + 8px); }
.htl-down .htl-label { top:    calc(50% + var(--htl-r, 39px) + var(--stem-h, 20px) + 8px); }
/* edge labels: pin inside so they don't clip past the viewport */
.htl-item:first-child .htl-label { left: 0; transform: none; text-align: left; }
.htl-item:last-child  .htl-label { left: auto; right: 0; transform: none; text-align: right; }

.htl-year {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--navy-light);
  margin-bottom: 5px;
}
.htl-down .htl-year { color: var(--navy); }
.htl-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 4px;
}
.htl-note {
  font-size: 0.66rem;
  color: var(--gray);
  line-height: 1.4;
}

/* node radius var per breakpoint (half of node width) */
.htl-row { --htl-r: 50px; }

@media (max-width: 1100px) {
  .htl-row { --htl-r: 43px; }
  .htl-item { flex: 0 0 150px; height: 440px; }
  .htl-node { width: 86px; }
  .htl-year { font-size: 0.92rem; }
  .htl-title { font-size: 0.58rem; }
  .htl-note { font-size: 0.62rem; }
}

/* on phones a single line can't fit 17 items legibly → allow gentle horizontal swipe */
@media (max-width: 760px) {
  .htl { padding: 44px 0 56px; }
  .htl-rows { padding-bottom: 8px; }
  .htl-nav { display: none; }
  .htl-row { --htl-r: 35px; }
  .htl-item { flex: 0 0 120px; height: 380px; }
  .htl-node { width: 70px; }
  .htl-label { width: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  .htl-item { opacity: 1; transform: none; transition: none; }
}
