/* ── Reset & Tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #F4F1EC;
  --forest:  #2B3A2E;
  --gold:    #C4A882;
  --sage:    #5C6B5C;
  --sage-soft: #7A9080;
  --white:   #FFFFFF;
  --ink:     #1E2B21;
  --border:  #DDD9D0;

  --font-serif: 'Gloock', Georgia, serif;
  --font-sans:  'Epilogue', system-ui, sans-serif;

  --max: 1160px;
  --pad: 2rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Foco visível para navegação por teclado */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 1px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 300;
  background: var(--forest);
  color: var(--cream);
  padding: .7rem 1.2rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

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

/* ── Reveal ── */
/* Content visible by default — JS adds .will-animate before observing */
.reveal.will-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(0.16,1,0.3,1), transform .6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.will-animate { transition: opacity .3s ease; transform: none; }
}

/* ── Section tags ── */
.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--forest);
}
.section-title em { font-style: italic; }
.section-lead {
  font-size: 1rem;
  font-weight: 300;
  color: var(--sage);
  line-height: 1.75;
  max-width: 520px;
  margin-top: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .2s, color .2s;
}
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--ink); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: #d4b899; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(244,241,236,.35);
}
.btn-outline-light:hover {
  background: rgba(244,241,236,.1);
  border-color: rgba(244,241,236,.6);
}

/* WhatsApp icon buttons — padrão de agendamento */
.btn-wa { display: inline-flex; align-items: center; gap: .55rem; }
.btn-wa::before {
  content: '';
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background .3s ease, box-shadow .3s ease;
}
nav.scrolled {
  background: rgba(244,241,236,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .9rem 0;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--forest);
  line-height: 1.2;
}
.nav-logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: .15rem;
}
nav.on-dark .nav-logo { color: var(--cream); }
nav.on-dark .nav-logo span { color: var(--gold); }
nav.scrolled .nav-logo { color: var(--forest); }
nav.scrolled .nav-logo span { color: var(--sage); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--forest);
  transition: color .2s;
}
nav.on-dark .nav-links a { color: rgba(244,241,236,.75); }
nav.on-dark .nav-links a:hover { color: var(--cream); }
nav.scrolled .nav-links a { color: var(--forest); }
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

.nav-cta {
  background: var(--forest) !important;
  color: var(--cream) !important;
  padding: .55rem 1.3rem !important;
  font-size: .75rem !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  transition: background .2s !important;
}
nav.on-dark .nav-cta { background: var(--gold) !important; color: var(--forest) !important; }
nav.scrolled .nav-cta { background: var(--forest) !important; color: var(--cream) !important; }
.nav-cta:hover { background: var(--gold) !important; color: var(--forest) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--forest);
  transition: all .3s ease;
}
nav.on-dark .hamburger span { background: var(--cream); }
nav.scrolled .hamburger span { background: var(--forest); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 99;
  padding: 6rem 2rem 3rem;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--forest);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.mobile-menu-cta {
  margin-top: 2rem;
  background: var(--forest);
  color: var(--cream) !important;
  padding: 1rem 2rem;
  font-family: var(--font-sans) !important;
  font-size: .82rem !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  font-style: normal !important;
}

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  transition: transform .25s, box-shadow .25s;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(0,0,0,.25); }
.wa-float svg { width: 26px; height: 26px; fill: white; }

/* ── Cookie Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--forest);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 28px rgba(0,0,0,.12);
  transition: transform .4s ease;
}
#cookie-banner.hidden { transform: translateY(110%); }
.cookie-text {
  font-size: .82rem;
  font-weight: 300;
  color: rgba(244,241,236,.75);
  max-width: 580px;
  line-height: 1.6;
}
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: .75rem; flex-shrink: 0; }
.btn-cookie {
  padding: .55rem 1.3rem;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  transition: background .2s;
}
.btn-cookie-ok { background: var(--gold); color: var(--forest); }
.btn-cookie-ok:hover { background: #d4b899; }
.btn-cookie-no { background: transparent; color: rgba(244,241,236,.4); border: 1px solid rgba(244,241,236,.2); }
.btn-cookie-no:hover { color: rgba(244,241,236,.7); }

/* ── Footer ── */
footer {
  background: var(--forest);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(244,241,236,.1);
  margin-bottom: 2rem;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream);
}
.footer-logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .2rem;
  margin-bottom: 1rem;
}
.footer-desc {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(244,241,236,.5);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(244,241,236,.55);
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--cream); }
.footer-contato-list a { display: flex; align-items: center; gap: .55rem; }
.footer-contato-list a svg { width: 15px; height: 15px; flex: none; opacity: .8; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: .75rem;
  color: rgba(244,241,236,.3);
  font-weight: 300;
}

/* ── Form shared ── */
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sage);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  padding: .8rem 1rem;
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  transition: border-color .2s;
  border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 9.5rem 0 7rem;
  background: var(--forest);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 52px;
  background: var(--cream);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero .tag { color: var(--gold); }
.page-hero .section-title { color: var(--cream); }
.page-hero .section-lead { color: rgba(244,241,236,.6); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .container > * {
  opacity: 0;
  transform: translateY(16px);
  animation: pageRise .8s cubic-bezier(.16,1,.3,1) forwards;
}
.page-hero .container > *:nth-child(1) { animation-delay: .08s; }
.page-hero .container > *:nth-child(2) { animation-delay: .2s; }
.page-hero .container > *:nth-child(3) { animation-delay: .32s; }
@keyframes pageRise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .page-hero .container > * { animation: none; opacity: 1; transform: none; }
}

/* ── Blog: índice e cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem 2rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(30,43,33,.1); }
.post-card-img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.post-card-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.post-card-cat {
  font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .7rem;
}
.post-card-title {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 400;
  color: var(--forest); line-height: 1.25; margin-bottom: .6rem;
}
.post-card-excerpt { font-size: .9rem; font-weight: 300; color: var(--sage); line-height: 1.65; flex: 1; }
.post-card-more {
  margin-top: 1.2rem; font-size: .72rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--forest); display: inline-flex; align-items: center; gap: .4rem;
}
.post-card:hover .post-card-more { color: var(--gold); }

/* ── Blog: artigo ── */
.article { background: var(--cream); padding: 3.5rem 0 5rem; }
.article-wrap { max-width: 720px; margin: 0 auto; }
.article-cat {
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.article-body h2 {
  font-family: var(--font-serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 400;
  color: var(--forest); line-height: 1.3; margin: 2.6rem 0 .9rem;
}
.article-body p { font-size: 1.02rem; font-weight: 300; color: var(--ink); line-height: 1.85; margin-bottom: 1.1rem; }
.article-body ul { margin: 0 0 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.article-body li { font-size: 1.02rem; font-weight: 300; color: var(--ink); line-height: 1.7; }
.article-body strong { font-weight: 500; color: var(--forest); }
.article-lead { font-size: 1.15rem; font-weight: 300; color: var(--sage); line-height: 1.7; margin-bottom: 2rem; }
.article-cta {
  margin-top: 3rem; padding: 2.2rem 2.4rem; background: var(--forest);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.article-cta p { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 300; color: var(--cream); line-height: 1.3; }
.article-disc { margin-top: 2.5rem; font-size: .82rem; font-weight: 300; color: var(--sage); font-style: italic; line-height: 1.6; }

.article-back {
  display: flex; width: fit-content; align-items: center; gap: .55rem;
  margin-bottom: 1.4rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; opacity: .85;
  transition: opacity .3s ease, gap .3s ease;
}
.article-back:hover { opacity: 1; gap: .85rem; }
.article-back svg { width: 16px; height: 16px; flex: none; }
.article-back-foot {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 3rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--forest); text-decoration: none;
  transition: gap .3s ease, color .3s ease;
}
.article-back-foot:hover { gap: .85rem; color: var(--gold); }
.article-back-foot svg { width: 16px; height: 16px; flex: none; }

/* ── Responsive Nav ── */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
