@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");

:root {
  --page: #faf9f6;
  --surface: #ffffff;
  --text-primary: #101828;
  --text-secondary: #667085;
  --text-muted: #98a2b3;
  --border: #e8d8b5;
  --primary: #c99127;
  --primary-dark: #9a6816;
  --primary-tint: #fff4d8;
  --primary-tint-strong: #f4d99a;
  --shadow: 0 4px 15px rgba(150, 110, 40, 0.1);
  --shadow-hover: 0 8px 25px rgba(150, 110, 40, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------------------------------------------------------------------
   Topbar
   --------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.topbar-brand { display: flex; align-items: center; gap: 0.6rem; }
.topbar-brand img { height: 42px; width: auto; }
.topbar-brand-text { line-height: 1.15; }
.topbar-brand-text strong { display: block; font-size: 0.92rem; font-weight: 800; letter-spacing: 0.01em; }
.topbar-brand-text span { display: block; font-size: 0.68rem; color: var(--primary-dark); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 70%, white), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--primary-dark) 30%, transparent);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px color-mix(in srgb, var(--primary-dark) 40%, transparent); }
.btn-cta svg { width: 18px; height: 18px; }

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--primary);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.15s ease;
}
.btn-cta-outline:hover { background: var(--primary-tint); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-tint-strong) 0%, transparent 70%);
  opacity: 0.7;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  font-weight: 700;
}
.hero h1 em { font-style: normal; color: var(--primary-dark); }
.hero p.lead { font-size: 1.05rem; color: var(--text-secondary); margin: 0 0 1.75rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-photo-wrap { position: relative; display: flex; justify-content: center; }
.hero-photo {
  width: min(340px, 90%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--primary-tint-strong);
  box-shadow: var(--shadow-hover);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------------
   Section shell
   --------------------------------------------------------------------- */
section.block { padding: 3.25rem 0; }
.block-head { text-align: center; max-width: 640px; margin: 0 auto 2.25rem; }
.block-badge {
  display: inline-block;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.block-head h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 0.6rem;
}
.block-head p { color: var(--text-secondary); margin: 0; font-size: 0.98rem; }

/* ---------------------------------------------------------------------
   Finalidades grid
   --------------------------------------------------------------------- */
.finalidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}
.finalidade-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.finalidade-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary-tint-strong); }
.finalidade-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
}
.finalidade-icon svg { width: 22px; height: 22px; }
.finalidade-card h3 { margin: 0 0 0.4rem; font-size: 1.02rem; }
.finalidade-card p { margin: 0; font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }

/* ---------------------------------------------------------------------
   Post showcase (imagens dos carrosséis)
   --------------------------------------------------------------------- */
.post-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.post-showcase.reverse .post-showcase-media { order: 2; }
.post-showcase-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}
.post-showcase-text h3 { font-family: "Playfair Display", serif; font-size: 1.4rem; margin: 0 0 0.75rem; }
.post-showcase-text p { color: var(--text-secondary); line-height: 1.6; margin: 0 0 1.25rem; }

/* ---------------------------------------------------------------------
   Vídeos
   --------------------------------------------------------------------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-card video { width: 100%; max-height: 480px; background: #000; }
.video-card-label {
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.video-card-label svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Depoimentos
   --------------------------------------------------------------------- */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.depoimento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.depoimento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary-tint-strong); }
.depoimento-stars { color: var(--primary); font-size: 0.95rem; letter-spacing: 0.18em; margin-bottom: 0.85rem; }
.depoimento-texto { color: var(--text-secondary); font-size: 0.86rem; line-height: 1.65; margin: 0 0 1.1rem; flex: 1; white-space: pre-line; }
.depoimento-autor { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.86rem; color: var(--text-primary); padding-top: 0.9rem; border-top: 1px solid var(--border-light, var(--border)); }
.depoimento-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   Sobre
   --------------------------------------------------------------------- */
.sobre-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}
.sobre-photo {
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid var(--primary-tint-strong);
  box-shadow: var(--shadow);
  margin: 0 auto;
}
.sobre-photo img { width: 100%; height: 100%; object-fit: cover; }
.sobre-text h2 { font-family: "Playfair Display", serif; font-size: 1.6rem; margin: 0 0 0.3rem; }
.sobre-text .titulo { color: var(--primary-dark); font-weight: 600; font-size: 0.95rem; margin: 0 0 1rem; }
.sobre-text p { color: var(--text-secondary); line-height: 1.65; margin: 0 0 1rem; }

/* ---------------------------------------------------------------------
   CTA final
   --------------------------------------------------------------------- */
.cta-final {
  background: linear-gradient(135deg, var(--primary-tint), var(--primary-tint-strong));
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  margin: 1rem auto 3.5rem;
}
.cta-final h2 { font-family: "Playfair Display", serif; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 0.6rem; color: var(--primary-dark); }
.cta-final p { color: var(--text-secondary); margin: 0 0 1.5rem; }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
footer .footer-brand { font-weight: 700; color: var(--text-secondary); margin-bottom: 0.3rem; }
footer a { color: var(--primary-dark); text-decoration: none; font-weight: 600; }

/* ---------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------- */
@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-photo-wrap { order: -1; }
  .post-showcase { grid-template-columns: 1fr; }
  .post-showcase.reverse .post-showcase-media { order: 0; }
  .sobre-inner { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 560px) {
  .topbar-inner { flex-wrap: wrap; gap: 0.6rem; padding: 0.65rem 1.1rem; }
  .topbar-brand img { height: 34px; }
  .topbar-brand-text strong { font-size: 0.78rem; white-space: nowrap; }
  .topbar-brand-text span { font-size: 0.6rem; white-space: nowrap; }
  .btn-cta { padding: 0.55rem 1rem; font-size: 0.78rem; }
  .btn-cta svg { width: 15px; height: 15px; }
}
