* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1a2f5a;
  --dark-blue: #0e285d;
  --light-blue: #e3e6ed;
  --brown: #c33c0c;
  --white: #e7e9ec;
  --light-gray: #e7eaf0;
  --gray: #ece5e5;
  --dark-gray: #0e285d;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(241, 26, 26, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo h1 {
  display: none;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary-blue);
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--dark-blue);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--light-blue) 100%
  );
}

.hero-content {
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-text {
  color: var(--white);
}

.hero-text h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.hero-text strong {
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 2rem;
  line-height: 1.3;
  font-weight: 300;
}

.about-text strong {
  font-weight: 700;
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card h3 {
  color: var(--primary-blue);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-images {
  display: grid;
  gap: 1.5rem;
}

.about-images img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(224, 219, 219, 0.964);
}

/* Structure Section */
.structure {
  padding: 5rem 0;
  background: var(--light-gray);
}

.structure h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
  font-weight: 300;
}

.structure strong {
  font-weight: 700;
  color: var(--primary-blue);
}

.structure-subtitle {
  font-size: 1.1rem;
  color: var(--dark-gray);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.structure-subtitle strong {
  font-weight: 700;
}

.structure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.structure-card-image {
  grid-row: span 2;
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(236, 231, 231, 0.916);
}

.structure-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.structure-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.structure-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.structure-card p {
  padding: 1.5rem;
  text-align: center;
  font-size: 1rem;
}

.structure-feature {
  padding: 2rem 1.5rem;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 140px;
  transition: transform 0.3s ease;
}

.structure-feature:hover {
  transform: translateY(-5px);
}

.structure-feature.blue {
  background: var(--primary-blue);
  color: var(--white);
}

.structure-feature.white {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.structure-feature h3 {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.structure-feature p {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
}

/* Location Section */
.location {
  padding: 5rem 0;
  background: var(--white);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.location-text h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 300;
}

.location-text strong {
  font-weight: 700;
}

.location-text > p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.location-list {
  list-style: none;
  margin: 2rem 0;
}

.location-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--dark-blue);
}

.location-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}

.location-address {
  margin-top: 2rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 5px;
  font-size: 0.95rem;
}

.location-images {
  display: grid;
  gap: 1.5rem;
}

.location-images img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Potential Section */
.potential {
  padding: 5rem 0;
  background: var(--light-gray);
  text-align: center;
}

.potential h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 3rem;
  font-weight: 300;
}

.potential strong {
  font-weight: 700;
}

.potential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.potential-card {
  background: var(--primary-blue);
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(205, 193, 193, 0.87);
}

.potential-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.potential-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Details Section */
.details {
  padding: 5rem 0;
  background: var(--white);
}

.details h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 300;
}

.details strong {
  font-weight: 700;
  color: var(--primary-blue);
}

.details-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 500px;
}

.details-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.details-images img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgb(19, 5, 5);
}

.details-img-main {
  grid-column: 1;
  grid-row: 1;
  z-index: 3;
}

.details-img-floor {
  grid-column: 2;
  grid-row: 1;
  z-index: 2;
  margin-top: 3rem;
}

.details-img-side {
  grid-column: 1 / 2;
  grid-row: 2;
  z-index: 1;
  margin-top: -2rem;
}

/* Technical Sheet Section */
.technical-sheet {
  padding: 5rem 0;
  background: var(--light-gray);
}

.sheet-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  border: 2px solid var(--primary-blue);
}

.sheet-info h2 {
  font-size: 2rem;
  color: var(--dark-gray);
  margin-bottom: 2rem;
  font-weight: 300;
}

.sheet-info strong {
  font-weight: 700;
  color: var(--primary-blue);
}

.sheet-info ul {
  list-style: none;
}

.sheet-info li {
  padding: 0.75rem 0;
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.sheet-info li strong {
  color: var(--dark-gray);
  font-weight: 700;
}

.sheet-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sheet-logo img {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.info-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
}

.info-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #efe9e9;
  color: var(--gray);
}

.info-card li:last-child {
  border-bottom: none;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.cta h2 strong {
  font-weight: 700;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta .btn-primary {
  background: var(--white);
  color: var(--primary-blue);
}

.cta .btn-primary:hover {
  background: var(--light-gray);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-logo h3 {
  display: none;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  color: #e6dfdf;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #e5dfdf;
  color: #e9e1e1;
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    transition: left 0.3s;
    box-shadow: 0 5px 20px rgba(244, 240, 240, 0.912);
  }

  .nav.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 400px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .about-content,
  .location-content,
  .details-content {
    grid-template-columns: 1fr;
  }

  .structure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .structure-card-image {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero-logo img {
    height: 60px;
  }

  .details-images {
    grid-template-columns: 1fr;
  }

  .details-img-floor,
  .details-img-side {
    margin-top: 0;
  }

  .sheet-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sheet-logo img {
    max-width: 200px;
  }
}

@media (max-width: 640px) {
  .hero-text h2 {
    font-size: 1.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .about-text h2,
  .structure h2,
  .location-text h2,
  .potential h2,
  .details h2 {
    font-size: 1.8rem;
  }

  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .structure-grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 15px;
  }
}

/* Títulos dentro dos cards */
.feature-card h3,
.structure-card h3,
.info-card h3 {
  color: var(--white);
}

/* Textos dos cards */
.feature-card p,
.structure-card p,
.info-card li,
.info-card p {
  color: var(--white);
}

/* Seções que antes tinham cinza agora ficam brancas */
.structure,
.potential,
.about,
.location,
.details {
  background: var(--white);
}

/* Fundo global 100% branco */
html,
body {
  background: #fff !important;
}

/* Remove o gradiente do topo (hero) e ajusta o texto/botão */
.hero {
  background: #fff !important;
}
.hero-text {
  color: var(--dark-gray) !important;
}
.hero .btn-primary {
  background: var(--primary-blue) !important;
  color: #fff !important;
}

/* Todas as seções com fundo branco */
.about,
.structure,
.location,
.potential,
.details {
  background: #fff !important;
}

/* Cards em azul escuro */
.feature-card,
.structure-card,
.info-card {
  background: var(--dark-blue) !important;
}

/* Tipografia dentro dos cards */
.feature-card h3,
.structure-card h3,
.info-card h3 {
  color: #fff !important;
}

.feature-card p,
.structure-card p,
.info-card p,
.info-card li {
  color: #fff !important;
}

/* Itens de destaque da seção “Estrutura” */
.structure-feature.blue {
  background: var(--dark-blue) !important;
  color: #fff !important;
}
.structure-feature.white {
  background: #fff !important;
  color: var(--primary-blue) !important;
  border: 2px solid var(--primary-blue) !important;
}

/* (Opcional) Deixar a caixinha de endereço azul também */
.location-address {
  background: var(--dark-blue) !important;
  color: #fff !important;
  border: none !important;
}

/* Fundo global 100% branco */
html,
body {
  background: #fff !important;
}

/* Remove o gradiente do topo (hero) e ajusta o texto/botão */
.hero {
  background: #fff !important;
}
.hero-text {
  color: var(--dark-gray) !important;
}
.hero .btn-primary {
  background: var(--primary-blue) !important;
  color: #fff !important;
}

/* Todas as seções com fundo branco */
.about,
.structure,
.location,
.potential,
.details {
  background: #fff !important;
}

/* Cards em azul escuro */
.feature-card,
.structure-card,
.info-card {
  background: var(--dark-blue) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Tipografia dentro dos cards */
.feature-card h3,
.structure-card h3,
.info-card h3 {
  color: #fff !important;
}

.feature-card p,
.structure-card p,
.info-card p,
.info-card li {
  color: #fff !important;
}

/* Itens de destaque da seção “Estrutura” */
.structure-feature.blue {
  background: var(--dark-blue) !important;
  color: #090637 !important;
}
.structure-feature.white {
  background: #fff !important;
  color: var(--primary-white) !important;
  border: 2px solid var(--primary-blue) !important;
}

/* (Opcional) Deixar a caixinha de endereço azul também */
.location-address {
  background: var(--dark-blue) !important;
  color: #fff !important;
  border: none !important;
}

/* Texto branco dentro dos cards azuis */
.structure-feature.blue,
.structure-feature.blue h1,
.structure-feature.blue h2,
.structure-feature.blue h3,
.structure-feature.blue h4,
.structure-feature.blue p,
.structure-feature.blue span,
.structure-feature.blue strong {
  color: #fff !important;
}

@media (max-width: 768px) {
  .details-images {
    display: grid;
    grid-template-columns: 1fr 1fr; /* duas colunas no mobile */
    gap: 1.5rem;
  }

  /* Primeira imagem fica na esquerda */
  .details-img-main {
    grid-column: 1 / 2;
  }

  /* Segunda imagem (planta) vai para a direita */
  .details-img-floor {
    grid-column: 2 / 3;
  }

  /* Terceira imagem ocupa a linha de baixo inteira */
  .details-img-side {
    grid-column: 1 / 3;
  }
}

@media (max-width: 700px) {
  .details-img-side img {
    max-height: 250px; /* altura máxima controlada */
    object-fit: cover; /* mantém corte proporcional */
    width: 100%;
    border-radius: 12px;
  }
}
/*img inicio*/
@media (max-width: 768px) {
  @media (max-width: 768px) {
    .hero {
      display: flex;
      flex-direction: column;
      align-items: center; /* centraliza tudo */
    }

    .hero-content {
      order: 1;
      margin-bottom: 1rem;
      text-align: left;
      width: 100%;
    }

    .hero-image {
      order: 2;
      width: 100%;
      max-width: 500px; /* limite opcional */
      margin-top: 1.5rem; /* desce a imagem */
    }

    .hero-image img {
      width: 100%;
      height: auto;
      min-height: 250px; /* deixa mais alta */
      object-fit: cover;
      border-radius: 12px;
    }
  }
}

/* Layout imagem à direita ocupando toda a altura do bloco */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* texto e imagem lado a lado */
  align-items: stretch; /* imagem estica até a altura total */
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.hero-image {
  display: flex;
  align-items: stretch;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* faz a imagem preencher proporcionalmente */
  border-radius: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* texto e imagem lado a lado */
  align-items: stretch; /* faz os dois lados ficarem com mesma altura */
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.hero-image {
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* imagem se ajusta sem distorcer */
  border-radius: 12px;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  padding: 1rem 3rem; /* aumenta espaço interno */
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  width: 100%; /* estica até ocupar toda a largura do container */
  max-width: 320px; /* limite opcional para não ficar exagerado */
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* lado esquerdo e direito */
  align-items: stretch; /* faz os dois lados terem a mesma altura */
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.hero-image {
  height: 100%; /* ocupa toda a altura do bloco */
}

.hero-image img {
  width: 100%;
  height: 100%; /* estica até o fim */
  object-fit: cover; /* corta proporcionalmente sem distorcer */
  border-radius: 12px;
}

img {
  border-radius: 0 !important;
}

/* ZERA bordas/sombras das imagens destas seções */
.about-images img,
.location-images img,
.details-images img,
.structure-card img,
.structure-card-image img,
.hero-image img {
  border-radius: 0 !important; /* sem canto arredondado */
  box-shadow: none !important; /* sem “halo” branco */
  background: transparent !important;
  display: block; /* remove aquele gap de imagem inline */
}

/* Se ainda aparecer “moldura” do contêiner, zera o cartão também */
.structure-card-image,
.about-images,
.location-images,
.details-images {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}

@media (max-width: 768px) {
  .hero-image img {
    width: 180%;
    height: auto; /* Mantém a proporção original da foto */
    object-fit: contain; /* Evita cortes */
    border-radius: 0; /* Se quiser sem borda arredondada */
  }

  .hero-image {
    max-height: 600px; /* define uma altura máxima para não ficar gigante */
    overflow: hidden; /* corta o excesso caso a imagem seja muito alta */
  }
}

/* ===== MOBILE: tirar borda branca e fazer full-bleed ===== */
@media (max-width: 768px) {
  /* 1) Nada de arredondado/sombra que revela o fundo claro nas bordas */
  .hero-image img,
  .about-images img,
  .location-images img,
  .details-images img,
  .structure-card,
  .structure-card img,
  .structure-card-image,
  .structure-card-image img,
  .feature-card,
  .info-card,
  .sheet-content,
  .location-address {
    border-radius: 0 !important;
    box-shadow: none !important;
    background-clip: border-box !important;
    display: block; /* remove gap inline */
  }

  /* 2) Seções com fundo devem colar nas bordas da tela (full-bleed) */
  .hero,
  .structure,
  .potential,
  .cta,
  .footer {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 3) O .container não cria “moldura” no mobile */
  .hero .container,
  .structure .container,
  .potential .container,
  .cta .container,
  .footer .container,
  .about .container,
  .location .container,
  .details .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  /* 4) Imagens sempre ocupam 100% sem sobrar faixas */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 5) Hero mais estável no mobile */
  .hero {
    grid-template-columns: 1fr !important;
  }
  .hero-image {
    max-height: 320px;
    overflow: hidden;
  }
  .hero-image img {
    object-fit: contain;
  } /* ou 'cover' se preferir preencher */
}

/* Segurança extra contra overflow horizontal em qualquer breakpoint */
html,
body {
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}

/* ===== Ajustes MOBILE ===== */
@media (max-width: 768px) {
  /* 1) Header menor + logo menor */
  .header {
    padding: 0.5rem 0 !important;
  }
  .logo img {
    height: 44px !important;
    width: auto;
  }
  .nav {
    top: 56px;
  } /* menu mobile acompanha header menor */

  /* 2) Hero em coluna e imagem depois do texto */
  .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch;
    background: #fff; /* só pra garantir */
  }

  .hero-content {
    order: 1;
    padding: 1.25rem 1rem !important;
  }

  /* se esse “hero-logo” estiver grandão, some no mobile
     (ou reduza a altura se quiser manter) */
  .hero-logo {
    display: none;
  }

  .hero-text h2 {
    font-size: 1.6rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.9rem !important;
  }
  .hero-text p {
    margin-bottom: 1rem !important;
  }

  .hero-image {
    order: 2;
    width: 100%;
    max-height: 320px; /* controla a altura visível */
    margin-top: 0.75rem;
    overflow: hidden; /* evita sobra */
  }

  .hero-image img {
    display: block;
    width: 100%;
    height: auto; /* mantém proporção */
    object-fit: cover; /* preenche sem deformar (corta um pouco) */
    border-radius: 0;
  }

  /* se preferir ver a imagem inteira sem cortes:
     troque object-fit: cover por contain
     e remova o max-height acima */
}

/* ===== MOBILE: reduzir espaçamentos verticais ===== */
@media (max-width: 768px) {
  /* 1) Seções com menos padding */
  .about,
  .structure,
  .location,
  .potential,
  .details,
  .technical-sheet,
  .cta {
    padding-top: 1.75rem !important; /* antes 5rem */
    padding-bottom: 1.75rem !important;
  }

  /* 2) Títulos e subtítulos mais compactos */
  .about-text h2,
  .structure h2,
  .location-text h2,
  .potential h2,
  .details h2,
  .sheet-info h2 {
    margin-top: 0 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2 !important;
  }

  .structure-subtitle,
  .location-text > p {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
  }

  /* 3) Grids/galerias com gap menor */
  .structure-grid {
    gap: 0.9rem !important;
  }
  .details-images {
    gap: 1rem !important;
  }

  /* 4) Cards com menos “corpo” */
  .feature-card,
  .structure-card,
  .info-card {
    padding: 1rem !important;
  }

  /* 5) Container com padding lateral discreto (sem criar faixa gigante) */
  .about .container,
  .structure .container,
  .location .container,
  .potential .container,
  .details .container,
  .technical-sheet .container,
  .cta .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ===== FIX: cards da seção Estrutura no mobile ===== */
@media (max-width: 768px) {
  /* dá um respiro interno na seção para não cortar nas bordas */
  .structure .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
  }

  /* grid 2 colunas, com gap menor e estável */
  .structure-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  /* a imagem grande ocupa a largura toda, antes dos cards */
  .structure-card-image {
    grid-column: 1 / -1 !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none; /* opcional */
  }
  .structure-card-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* os “cards” de diferencial com tamanho e bordas seguras */
  .structure-feature {
    min-height: 120px;
    border-radius: 12px;
    box-shadow: none;
    padding: 16px !important;
  }

  /* bordas dos cards brancos para não “sumirem” no fundo */
  .structure-feature.white {
    border: 2px solid var(--primary-blue) !important;
  }

  /* garante que nada estoure a largura do viewport */
  .structure,
  .structure * {
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* === Paleta dourada para botões === */
:root {
  --gold: #d4af37; /* dourado principal */
  --gold-700: #b88f1f; /* hover */
  --gold-800: #9c7a1a; /* active */
  --gold-300: #e6c968; /* focus ring/estado claro */
  --btn-text-dark: #0e285d; /* texto nos botões (contraste com o dourado) */
}

/* Botão base (funciona para <button> e <a class="btn-primary">) */
.btn-primary {
  background: var(--gold) !important;
  color: var(--btn-text-dark) !important;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, transform 0.05s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--gold-700) !important;
}

.btn-primary:active {
  background: var(--gold-800) !important;
  transform: translateY(1px);
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(230, 201, 104, 0.45);
  outline-offset: 2px;
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  background: color-mix(in srgb, var(--gold) 65%, white);
  color: color-mix(in srgb, var(--btn-text-dark) 55%, white);
  cursor: not-allowed;
  opacity: 0.8;
}

/* A versão dentro da CTA estava forçando branco/azul — padroniza para dourado */
.cta .btn-primary {
  background: var(--gold) !important;
  color: var(--btn-text-dark) !important;
}
.cta .btn-primary:hover {
  background: var(--gold-700) !important;
}
.cta .btn-primary:active {
  background: var(--gold-800) !important;
}

/* Se tiver algum botão “secundário” que você queira só contorno dourado: */
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: color-mix(in srgb, var(--gold) 12%, white);
}

/* ----- Botões dourados em TODO lugar (inclusive no hero) ----- */
:root {
  --gold: #d4af37;
  --gold-700: #b88f1f;
  --gold-800: #9c7a1a;
  --btn-text-dark: #0e285d;
}

.hero .btn-primary,
.about .btn-primary,
.structure .btn-primary,
.location .btn-primary,
.potential .btn-primary,
.details .btn-primary,
.technical-sheet .btn-primary,
.cta .btn-primary {
  background: var(--gold) !important;
  color: var(--btn-text-dark) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.hero .btn-primary:hover,
.about .btn-primary:hover,
.structure .btn-primary:hover,
.location .btn-primary:hover,
.potential .btn-primary:hover,
.details .btn-primary:hover,
.technical-sheet .btn-primary:hover,
.cta .btn-primary:hover {
  background: var(--gold-700) !important;
}

.hero .btn-primary:active,
.about .btn-primary:active,
.structure .btn-primary:active,
.location .btn-primary:active,
.potential .btn-primary:active,
.details .btn-primary:active,
.technical-sheet .btn-primary:active,
.cta .btn-primary:active {
  background: var(--gold-800) !important;
}
