/* ==========================================================================
   Tru by Hilton Teresina - Clone
   ========================================================================== */

:root {
  --black: #000000;
  --bg-dark: #0a0a0a;
  --bg-card: #1c1c1c;
  --gold: #cb990a;
  --gold-hover: #b3860a;
  --white: #ffffff;
  --gray-text: #c9c9c9;
  --gray-text-soft: #999999;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-w: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

.narrow { max-width: 630px; }

.section {
  padding: 90px 0;
  scroll-margin-top: 100px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 20px;
}

h1 { font-size: 42px; }

h2 { font-size: 70px; font-weight: 600; margin-bottom: 30px; }

h2.h2-md { font-size: 48px; }

h3 { font-size: 28px; font-weight: 600; text-transform: none; line-height: 1.3; }

p {
  color: var(--white);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 18px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 36px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

/* ============ HEADER ============ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 74px; width: auto; }

.main-nav {
  display: flex;
  gap: 44px;
}

.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
}

.main-nav a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 20px;
  padding-top: 120px;
  padding-bottom: 60px;
  width: 100%;
}

.hero-text h1 {
  font-size: 42px;
  color: var(--white);
}

.hero-text .accent { color: var(--gold); }

.hero-text p {
  font-size: 18px;
  line-height: 2;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-image img {
  display: none;
}

.scroll-icon {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 24px;
  z-index: 1;
  opacity: 0.85;
}

/* ============ VIDEO ============ */
.video-wrapper {
  max-width: 900px;
  margin: 40px auto 0;
}

.video-thumb {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1810 / 1180;
  cursor: pointer;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-thumb:hover img { transform: scale(1.03); }

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 0;
  display: block;
}

/* ============ LOGO GRID / STATS ============ */
.logo-grid {
  max-width: 900px;
  margin: 24px auto;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  margin-top: 20px;
}

.stats-row .stat strong {
  color: var(--white);
  font-weight: 400;
}

.stats-row .stat span {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 2.4rem;
  font-weight: 700;
}

.stat span {
  display: block;
  font-weight: 600;
  color: var(--white);
  margin-top: 4px;
}

.stat small {
  display: block;
  color: var(--gray-text-soft);
  font-size: 0.8rem;
  margin-top: 6px;
  line-height: 1.5;
}

/* ============ TRU BY HILTON ============ */
.tru-content {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: stretch;
  margin-bottom: 60px;
}

.tru-card img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tru-text h3 { margin-bottom: 16px; }

.tru-gallery {
  margin-top: 24px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-track {
  display: flex;
  transition: transform 0.6s ease;
}

.gallery-slide {
  flex: 0 0 calc((100% - 2 * 10px) / 3);
  margin-right: 10px;
}

.gallery-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 0.93;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.gallery-arrow:hover { background: var(--gold); }

.stats-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
}

.stats-box .stat { text-align: left; flex: 1; min-width: 140px; }

/* ============ MC ENGENHARIA ============ */
.mc-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 40px;
}

.mc-content > * { min-width: 0; }
.tru-content > * { min-width: 0; }
.ich-content > * { min-width: 0; }
.newsletter-box > * { min-width: 0; }

.mc-content.reverse .mc-thumb-row,
.mc-content.reverse .mc-image { order: -1; }

.mc-image {
  position: relative;
  margin: 0;
  background: var(--white);
  border-radius: 16px;
  padding: 10px;
}

.mc-image img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 1.21;
  object-fit: cover;
  display: block;
}

.mc-image figcaption {
  display: block;
  text-align: center;
  color: #111;
  font-weight: 700;
  padding: 12px 0 4px;
}

.mc-grid {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mc-thumb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mc-thumb {
  margin: 0;
  background: var(--white);
  border-radius: 16px;
  padding: 8px;
}

.mc-thumb img {
  width: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  border-radius: 10px;
}

.mc-grid .mc-thumb img { aspect-ratio: 0.89; }

.mc-thumb-row .mc-thumb img { aspect-ratio: 1.21; }

.mc-thumb figcaption {
  text-align: center;
  color: #111;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 8px 4px;
}

/* ============ ICH ============ */
.ich-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}

/* Largura fixa + altura automatica evita distorcao em telas estreitas
   (altura fixa com max-width:100% achatava a logo no mobile). */
.ich-logo {
  width: 230px;
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.ich-image img {
  border-radius: 16px;
  width: 100%;
}

.partner-logos {
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ============ NEWSLETTER ============ */
.newsletter-box {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.newsletter-text h2 { font-size: 2.2rem; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsletter-form input {
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 16px 18px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder { color: #777; }

.newsletter-form input.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.newsletter-form .btn { margin-top: 8px; }

/* ============ FOOTER ============ */
.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid #1a1a1a;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-item strong { display: block; }

.footer-item span { color: var(--gray-text); }

.footer-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid #1a1a1a;
  padding-top: 30px;
}

.footer-legal p {
  font-size: 0.85rem;
  font-weight: 400;
  margin: 0 0 6px;
  color: var(--gray-text-soft);
}

.footer-legal a:hover { color: var(--gold); }

.footer-logo { height: 50px; width: auto; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgb(0, 200, 0);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  z-index: 200;
  transition: transform 0.2s ease;
}

.whatsapp-float svg { width: 30px; height: 30px; }

.whatsapp-float:hover { transform: scale(1.08); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .logo img { height: 56px; }
  /* Hero mobile: imagem vertical propria cobrindo o bloco inteiro,
     com overlay escuro por cima (igual ao original). */
  .hero {
    min-height: 815px;
    background-image: url(../assets/img/hero_bg_mobile.webp);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #242424;
    opacity: 0.26;
    z-index: 0;
  }
  /* Ancora o texto no topo (sobre o ceu), deixando o predio visivel abaixo */
  .hero { align-items: flex-start; }
  .hero-bg { display: none; }
  .hero-image { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    align-content: start;
    padding-top: 130px;
    padding-bottom: 40px;
  }
  .hero-text h1 { font-size: 20px; }
  .hero-text p { font-size: 15px; line-height: 1.5; }
  .eyebrow { font-size: 14px; }

  .tru-content, .mc-content, .mc-content.reverse, .ich-content, .newsletter-box {
    grid-template-columns: 1fr;
  }
  .mc-content.reverse .mc-thumb-row,
  .mc-content.reverse .mc-image { order: 0; }

  .mc-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-slide { flex: 0 0 calc((100% - 10px) / 2); }

  #sobre-grupo .center { text-align: left; }

  .stats-box { text-align: center; }
  .stats-box .stat { text-align: center; }

  .ich-image { order: -1; margin-bottom: 24px; }
  .ich-logo { width: 200px; margin-bottom: 16px; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    flex-direction: column;
    padding: 20px 24px;
    gap: 20px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }

  h2 { font-size: 34px; }
  h2.h2-md { font-size: 26px; }
  h3 { font-size: 20px; }
  p { font-size: 16px; }

  .newsletter-box { padding: 36px 24px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .stats-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .stats-box .stat { min-width: 0; }
  .stats-box .stat:nth-child(3) { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mc-thumb-row { grid-template-columns: 1fr; }
  .whatsapp-float { right: 20px; bottom: 20px; width: 56px; height: 56px; }
  .gallery-slide { flex: 0 0 100%; margin-right: 0; }
}
