/* ===================================================
   TERRIÁ — Estilos das páginas internas
=================================================== */

/* Page Hero (substituí o hero de vídeo) */
.page-hero {
  background: var(--brown-deep);
  padding: 200px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  max-width: 760px;
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0, "hist" 0, "ss01" 0, "ss02" 0, "ss03" 0;
}
.page-hero-title--blog {
  font-size: clamp(28px, 3.6vw, 52px);
  max-width: none;
}
@media (min-width: 761px) {
  .page-hero-title--blog { white-space: nowrap; }
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-current { color: rgba(255,255,255,0.8); }

/* ===================================================
   SOBRE / QUEM SOMOS
=================================================== */
.about-full { padding: 120px 0; }
.about-lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: var(--brown-deep);
  line-height: 1.5;
  max-width: 820px;
  margin-bottom: 64px;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
}
.about-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}
.about-body-text p {
  font-size: 16px;
  color: #5a4a40;
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-mission {
  background: var(--cream);
  padding: 120px 0;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line-dark);
  margin-top: 56px;
}
.mission-card {
  background: var(--cream);
  padding: 48px 36px;
  transition: background 0.3s;
}
.mission-card:hover { background: var(--white); }
.mission-icon {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 20px;
}
.mission-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 12px;
}
.mission-card p {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.7;
}
.team-section { padding: 120px 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.team-card-photo {
  aspect-ratio: 3/4;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}
.team-card-photo img { width:100%; height:100%; object-fit:cover; }
.team-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}
.team-card p { font-size: 14px; color: var(--warm-gray); }

/* ===================================================
   EMPREENDIMENTOS
=================================================== */
.projects-page { padding: 100px 0 140px; }
.projects-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray);
  background: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.is-active {
  background: var(--brown-deep);
  color: var(--white);
  border-color: var(--brown-deep);
}
.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.project-card-full {
  cursor: pointer;
}
.project-card-full .project-media {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--cream);
  position: relative;
}
.project-card-full .project-media img {
  width:100%; height:100%; object-fit:cover;
  transition: transform 1s var(--transition);
}
.project-card-full:hover .project-media img { transform: scale(1.06); }
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(79,44,29,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card-full:hover .project-overlay { opacity: 1; }
.project-overlay-content {
  text-align: center;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.project-overlay-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0;
}
.project-overlay-loc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.project-overlay-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.project-overlay-cta:hover {
  background: var(--white);
  color: var(--brown-deep);
  border-color: var(--white);
}
.project-overlay-cta::after { content: "→"; }

/* ===================================================
   BLOG
=================================================== */
.blog-page { padding: 100px 0 140px; }
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
}
.blog-main {}
.blog-sidebar {}

/* Post cards */
.post-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.post-card:last-child { border-bottom: none; }
.post-card-img {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  flex-shrink: 0;
}
.post-card-img img { width:100%; height:100%; object-fit:cover; transition: transform 0.8s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-meta {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.post-card-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 12px;
  line-height: 1.3;
}
.post-card-title a { transition: color 0.3s; }
.post-card-title a:hover { color: var(--accent); }
.post-card-excerpt {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.post-read-more {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}
.post-read-more:hover { gap: 14px; color: var(--accent); }
.post-read-more::after { content: "→"; }

/* Sidebar */
.sidebar-widget { margin-bottom: 48px; }
.sidebar-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.sidebar-posts { display: flex; flex-direction: column; gap: 20px; }
.sidebar-post {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
}
.sidebar-post-img {
  width: 72px; height: 72px;
  border-radius: 4px; overflow: hidden;
  background: var(--cream);
}
.sidebar-post-img img { width:100%; height:100%; object-fit:cover; }
.sidebar-post-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown-deep);
  line-height: 1.4;
}
.sidebar-post-date {
  font-size: 12px;
  color: var(--warm-gray);
  margin-top: 4px;
}
.sidebar-categories { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-categories li a {
  font-size: 14px;
  color: var(--brown-mid);
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
  transition: color 0.3s;
}
.sidebar-categories li a:hover { color: var(--accent); }
.sidebar-categories li a span { color: var(--warm-gray); }

/* ===================================================
   CONTATO — Split Layout
=================================================== */
.cs-section {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 85vh;
}
.cs-left {
  background: var(--brown-deep);
  padding: 80px 64px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cs-left::before {
  content: "";
  position: absolute;
  top: -140px; right: -140px;
  width: 440px; height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.05);
}
.cs-left::after {
  content: "";
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}
.cs-left-inner { position: relative; z-index: 1; }
.cs-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.cs-heading {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
  font-feature-settings: "calt" 0, "dlig" 0, "swsh" 0;
}
.cs-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 52px;
}
.cs-links { display: flex; flex-direction: column; }
.cs-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s;
}
.cs-link:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.cs-link:hover { color: var(--accent); }
.cs-link-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 5px;
  transition: color 0.3s;
}
.cs-link:hover .cs-link-label { color: var(--accent); }
.cs-link-val {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  font-feature-settings: "calt" 0;
}
.cs-link-arrow {
  width: 18px; height: 18px;
  opacity: 0.3;
  flex-shrink: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.cs-link:hover .cs-link-arrow { opacity: 1; transform: translateX(5px); }

.cs-right {
  background: var(--cream);
  padding: 80px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cs-form { width: 100%; max-width: 500px; }
.cs-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--brown-deep);
  margin-bottom: 36px;
  font-feature-settings: "calt" 0;
}
.cs-form .form-row label { color: var(--warm-gray); }
.cs-form input,
.cs-form select,
.cs-form textarea {
  color: var(--brown-deep);
  border-bottom-color: rgba(79,44,29,0.2);
  background: transparent;
}
.cs-form input:focus,
.cs-form select:focus,
.cs-form textarea:focus { border-bottom-color: var(--accent); }
.btn-brown {
  background: var(--brown-deep);
  color: var(--white);
  border-color: transparent;
}
.btn-brown:hover { background: var(--terracota); color: var(--white); }

/* Map placeholder */
.map-section { height: 420px; background: var(--cream); position: relative; overflow: hidden; }
.map-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--warm-gray);
  font-style: italic;
  background: linear-gradient(135deg, var(--beige) 0%, var(--cream) 100%);
}

/* ===================================================
   RESPONSIVO PAGES
=================================================== */
@media (max-width: 1024px) {
  .about-body-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-full-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .cs-section { grid-template-columns: 1fr; }
  .cs-left { padding: 72px 48px; }
  .cs-right { padding: 72px 48px; }
}
@media (max-width: 760px) {
  .page-hero { padding: 140px 0 60px; }
  .page-hero-title { font-size: clamp(34px, 10vw, 48px); line-height: 1.15; }
  .page-hero-title--blog { font-size: clamp(32px, 9vw, 44px); }
  .post-card { grid-template-columns: 1fr; gap: 20px; }
  .post-card-img { aspect-ratio: 16/9; }
  .projects-full-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { gap: 48px; }
  .cs-left, .cs-right { padding: 56px 24px; }
  .cs-heading { font-size: clamp(26px, 7vw, 34px); }
  .cs-link-val { font-size: 15px; }
}
