@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,700;0,800;1,400;1,700&family=Prata&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand-green: #0a2518;
  --brand-red: #c2181a;
  --brand-gold: #c9a96e;
  --text-dark: #191919;
  --text-muted: #555;
  --bg-light: #f7f7f7;
  --bg-white: #fff;
  --border-color: #cfcfcf;
  --section-padding: 70px 0;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Prata', serif; font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.875rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.625rem); }
h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 500; }

p { margin-bottom: 1em; }
p.big { font-size: 1.15rem; line-height: 1.7; }

a { color: var(--brand-red); text-decoration: none; transition: color 0.3s; }
a:hover { color: #a01415; }

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

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

/* ===== HEADER ===== */
#Header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

nav ul li a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  white-space: nowrap;
}

nav ul li a:hover { color: var(--brand-red); }

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--brand-red);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: #a01415;
  transform: translateY(-1px);
  color: #fff !important;
}

.btn-whatsapp {
  background: #25D366;
}
.btn-whatsapp:hover { background: #1da851; }

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-red);
  color: var(--brand-red) !important;
}
.btn-outline:hover {
  background: var(--brand-red);
  color: #fff !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  margin-top: 74px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: 50% 30%;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.4) 60%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 60px;
}

.hero-content h2 {
  color: #852785;
  font-size: clamp(2rem, 4vw, 3.125rem);
  margin-bottom: 10px;
}

.hero-content h3 {
  color: var(--text-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-padding);
}

.section-gray { background: var(--bg-light); }
.section-dark { background: var(--brand-green); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark p { color: #fff; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.section-header h2 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-muted);
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  padding: 0 20px;
}

.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ===== FLOOR PLANS ===== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.plan-card {
  text-align: center;
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}

.plan-card:hover { transform: translateY(-4px); }

.plan-card h4 {
  padding: 20px 0 0;
  color: var(--text-dark);
}

.plan-card img {
  padding: 15px;
  max-height: 350px;
  margin: 0 auto;
  object-fit: contain;
}

/* ===== IMPLANTATION ===== */
.implantation-section {
  text-align: center;
}

.implantation-section img {
  max-width: 100%;
  margin: 20px auto;
  border-radius: 4px;
}

/* ===== LOCATION ===== */
.location-section {
  background: var(--brand-green);
  padding: 50px 0;
}

.location-section img {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 4px;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 70px 0;
}

.contact-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s;
}

.contact-form-wrapper input:focus {
  border-color: var(--brand-red);
  outline: none;
}

.contact-form-wrapper input[type="submit"] {
  width: 100%;
  padding: 15px;
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form-wrapper input[type="submit"]:hover {
  background: #a01415;
}

/* ===== WHATSAPP SECTION ===== */
.whatsapp-section {
  background: var(--brand-green);
  padding: 80px 0;
  text-align: center;
}

.whatsapp-section h3 { color: #fff; margin-bottom: 25px; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-light);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-col h5 {
  font-size: 14px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.footer-logos {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logos img {
  height: 70px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.footer-bottom {
  text-align: center;
  padding: 25px 20px 0;
  margin-top: 30px;
  border-top: 1px solid #ddd;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--brand-red); }

/* ===== SUBHEADER ===== */
.subheader {
  background: var(--brand-green);
  padding: 45px 20px;
  margin-top: 74px;
  text-align: center;
}

.subheader h1 {
  color: #fff;
  font-style: italic;
}

/* ===== CORRETORES ===== */
.broker-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
  max-width: 700px;
  margin: 30px auto;
}

.broker-resources a {
  display: block;
  padding: 14px 20px;
  background: var(--brand-red);
  color: #fff;
  text-align: center;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  transition: background 0.3s;
}

.broker-resources a:hover { background: #a01415; }

/* ===== INSTAGRAM FEED ===== */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  max-width: var(--max-width);
  margin: 30px auto;
  padding: 0 20px;
}

.instagram-grid a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #eee;
}

.instagram-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== PRIVACY ===== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
}

.privacy-content h2 { margin: 30px 0 15px; font-size: 1.5rem; }
.privacy-content p { color: var(--text-muted); line-height: 1.8; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  max-height: 400px;
  overflow: hidden;
  margin-top: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,37,24,0.55) 0%, rgba(10,37,24,0.7) 100%);
}

.page-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  max-width: none;
}

.page-hero .hero-content h1 {
  color: #fff;
  margin-bottom: 10px;
}

.page-hero .hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

/* ===== INNER CONTENT ===== */
.inner-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
}

.inner-content h2 {
  margin: 40px 0 15px;
  color: var(--text-dark);
}

.inner-content h3 {
  margin: 30px 0 12px;
  font-size: 1.4rem;
}

.inner-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.inner-content ul, .inner-content ol {
  margin: 15px 0 20px 25px;
  color: var(--text-muted);
  line-height: 1.8;
}

.inner-content li {
  margin-bottom: 6px;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.feature-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.feature-card-body {
  padding: 20px;
}

.feature-card-body h4 {
  margin-bottom: 8px;
  color: var(--text-dark);
}

.feature-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ===== HIGHLIGHT BOX ===== */
.highlight-box {
  background: var(--bg-light);
  border-left: 4px solid var(--brand-red);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

.highlight-box h4 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.highlight-box p {
  margin-bottom: 0;
}

/* ===== INFO TABLE ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  overflow-x: auto;
  display: block;
}

.info-table thead th {
  background: var(--brand-green);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.info-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.info-table tbody tr:hover {
  background: var(--bg-light);
}

/* ===== TWO COLUMN ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin: 40px 0;
}

.two-col img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--brand-green);
  padding: 60px 20px;
  text-align: center;
}

.cta-banner h3 { color: #fff; margin-bottom: 20px; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 25px; }

/* ===== GALLERY PAGE ===== */
.gallery-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin: 30px 0;
}

.gallery-full .gallery-item {
  aspect-ratio: 16/9;
}

.gallery-full .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-category {
  margin: 40px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
  display: inline-block;
}

/* ===== FOOTER LINKS ROW ===== */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--brand-red); }

/* ===== DOCUMENT LIST ===== */
.doc-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.doc-list li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-list li::before {
  content: '📄';
  font-size: 1.2em;
}

/* ===== MOBILE MENU ===== */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .mobile-toggle { display: block; }

  nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s;
    z-index: 99;
  }

  nav.open { transform: translateY(0); }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  nav ul li a { font-size: 16px; }

  .hero { height: 50vh; min-height: 350px; }
  .hero-content { padding: 0 30px; }
  .hero-content h2 { font-size: 1.5rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery-full { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; }

  .page-hero { height: 30vh; min-height: 220px; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { height: 40vh; min-height: 300px; }
  .hero-content { padding: 0 20px; }
  .broker-resources { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .gallery-full { grid-template-columns: 1fr; }
  .info-table { font-size: 14px; }
}
