/*!
Theme Name: Terra Santa
Theme URI: https://terrasanta.com.br
Author: Terra Santa
Author URI: https://terrasanta.com.br
Description: Tema WordPress completo para Terra Santa com customização total via painel admin
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terrasanta
Domain Path: /languages
*/

:root {
  --bg: #f7f4ef;
  --panel: #ffffff;
  --muted: #56564b;
  --text: #2f2f28;
  --accent: #5a7c59;
  --accent-2: #7a9679;
  --stroke: rgba(47, 47, 40, 0.14);
  --card: rgba(255, 255, 255, 0.92);
  --beige: #eee8dd;

  --font-body: "Inter", "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-display: "Bebas Neue", "Inter", system-ui, sans-serif;

  --announce-h: 0px;
  --header-h: 0px;
  --fixed-top: 0px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  padding-top: var(--fixed-top);
}

::selection { background: rgba(90, 124, 89, 0.2); }

a { color: inherit; text-decoration: none; }

header.site-header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: fixed;
  top: var(--announce-h);
  left: 0;
  right: 0;
  backdrop-filter: none;
  background: transparent;
  border-bottom: 1px solid transparent;
  z-index: 190;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

header.site-header.header--solid {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--stroke);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  color: var(--accent);
}

header.site-header.header--transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  color: #ffffff;
}

.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-family: var(--font-display); font-weight: 400; letter-spacing: 1.6px; font-size: 32px; line-height: 1; color: inherit; }
.brand-sub { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; color: rgba(47, 47, 40, 0.72); }
.logo { display: none; }
nav { display: flex; flex-wrap: wrap; gap: 28px; color: inherit; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }
nav a { padding: 4px 0; transition: color 200ms ease; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--accent); border-color: var(--accent); }

header.site-header.header--transparent .brand-sub { color: rgba(255, 255, 255, 0.75); }
header.site-header.header--transparent nav a { color: rgba(255, 255, 255, 0.92); }
header.site-header.header--transparent nav a:hover { color: #ffffff; border-color: rgba(255,255,255,0.85); }

header.site-header.header--solid .brand-sub { color: rgba(90, 124, 89, 0.85); }
header.site-header.header--solid nav a { color: rgba(90, 124, 89, 0.9); }
header.site-header.header--solid nav a:hover { color: var(--accent); border-color: var(--accent); }

header.site-header.header--transparent .btn.btn-header {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.85);
  color: #ffffff;
  box-shadow: none;
}
header.site-header.header--transparent .btn.btn-header:hover {
  background: rgba(255,255,255,0.92);
  color: var(--text);
}

.btn {
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transition: all 200ms ease;
  box-shadow: 0 4px 16px rgba(90, 124, 89, 0.25);
  cursor: pointer;
}
.btn:hover { background: #4a6b49; box-shadow: 0 6px 20px rgba(90, 124, 89, 0.35); }
.btn.secondary { background: transparent; color: var(--accent); border: 2px solid var(--accent); box-shadow: none; }
.btn.secondary:hover { background: var(--accent); color: #ffffff; }

main { width: 100%; max-width: none; margin: 0; padding: 0 0 80px; position: relative; z-index: 1; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border-radius: 4px; background: var(--beige); border: 1px solid var(--stroke); color: var(--muted); font-size: 13px; font-weight: 500; }
.eyebrow { letter-spacing: 3px; text-transform: uppercase; font-size: 12px; color: var(--muted); font-weight: 400; }

h1 { font-family: var(--font-serif); font-size: clamp(42px, 5vw, 56px); line-height: 1.15; margin: 16px 0 20px; font-weight: 600; color: var(--text); }
h2 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 38px); margin: 12px 0 16px; font-weight: 600; color: var(--text); }
h3 { font-family: var(--font-serif); font-weight: 600; }
p.lead { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 680px; font-weight: 400; }

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: calc(-1 * var(--fixed-top));
  padding: calc(56px + var(--fixed-top)) 48px 56px;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg-image);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(47, 47, 40, 0.55), rgba(47, 47, 40, 0.60));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 10px 28px rgba(0,0,0,0.35);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: -0.4px;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  text-shadow: 0 8px 20px rgba(0,0,0,0.28);
}

.hero .btn {
  background: #ffffff;
  color: var(--text);
}

.hero .btn:hover {
  background: var(--beige);
  color: var(--text);
}

.announcement-bar {
  background: var(--accent);
  color: #ffffff;
  text-align: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}

.announcement-bar p { margin: 0; }

.btn-header {
  padding: 10px 24px;
  font-size: 14px;
}

.features-bar {
  background: rgba(255,255,255,0.95);
  padding: 36px 48px;
  margin: -40px 48px 60px;
  position: relative;
  z-index: 10;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
}

.feature-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--beige);
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--stroke);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.feature-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

main > section:not(.hero) { margin-top: 72px; padding: 0 48px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: 8px; padding: 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.card h3 { margin: 8px 0 6px; font-size: 22px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

.feature-image { width: 100%; height: 180px; border-radius: 6px; object-fit: cover; margin-bottom: 14px; border: 1px solid var(--stroke); transition: transform 200ms ease; }
.card:hover .feature-image { transform: scale(1.02); }

.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}
.two-col-section.reverse {
  direction: rtl;
}
.two-col-section.reverse > * {
  direction: ltr;
}
.two-col-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.pillar-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}

.pillar-card .icon {
  width: 60px;
  height: 60px;
  background: var(--beige);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--text);
  border: 1px solid var(--stroke);
}

.pillar-card .icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.pillar-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.pillar-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.concept-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.condos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.condo-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 200ms ease;
  display: flex;
  gap: 24px;
  padding: 32px;
  align-items: flex-start;
}
.condo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.condo-card-image {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 6px;
  overflow: hidden;
}
.condo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.condo-card-content {
  flex: 1;
}
.condo-card-content .pill {
  margin-bottom: 12px;
  font-size: 12px;
  padding: 6px 14px;
}
.condo-card-content h3 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--text);
}
.condo-card-content p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.benefits-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.blog-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 200ms ease;
}
.blog-card:hover {
  transform: translateY(-4px);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-content {
  padding: 24px;
}
.blog-card-content h3 {
  margin: 0 0 12px;
  font-size: 20px;
}
.blog-card-content p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}
.gallery img:hover {
  transform: scale(1.05);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 32px;
  text-align: left;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-style: normal;
  color: var(--text);
  line-height: 1.7;
  font-size: 14px;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.testimonial-location {
  font-size: 13px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--text);
  cursor: pointer;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
}
.faq p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

footer {
  margin: 90px 0 0;
  padding: 32px 48px;
  max-width: none;
  width: 100%;
  color: var(--muted);
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 14px;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 700ms ease forwards;
}
.fade-in.delay {
  animation-delay: 120ms;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .two-col-section { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .condos-grid { grid-template-columns: 1fr; }
  .blog-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  header.site-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  nav { flex-wrap: wrap; }
  .hero { padding-top: calc(24px + var(--fixed-top)); }
  .announcement-bar { font-size: 12px; padding: 8px 16px; }
}
