/* ============================================================
   3 PINHEIROS RESORT FAZENDA — MOCKUP v1.1
   Direção: editorial contemporâneo · herança histórica
   KV: Oliva Pinheiro / Bege Claro / Preto Orgânico
   Tipografia: títulos e corpo em Hanken Grotesk (grotesca,
   substituta de Roc Grotesk); Cormorant Garamond entra como
   acento clássico serifado (itálicos, citações, números).
   ============================================================ */

/* === TOKENS ================================================= */
:root {
  --c-pinheiro: #2F463E;
  --c-pinheiro-dark: #1F2E29;
  --c-pinheiro-soft: #3D5A50;
  --c-bege: #CFB56F;
  --c-bege-light: #F5F0E1;
  --c-bege-soft: #E8DEC4;
  --c-preto: #0A0A0A;
  --c-branco: #FAF8F2;
  --c-cinza: #888;

  --f-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-display: var(--f-sans);   /* títulos agora em grotesk */
  --f-body: var(--f-sans);
  --f-mono: 'JetBrains Mono', monospace;

  --tr: cubic-bezier(0.65, 0, 0.35, 1);
  --tr-soft: cubic-bezier(0.25, 0.1, 0.25, 1);

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);

  --header-h: 96px;
}

/* === RESET ================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
/* Compensa o header fixo ao pular para âncoras (#linha-tempo, #gastronomia, etc.) */
:target { scroll-margin-top: var(--header-h, 96px); }
[id] { scroll-margin-top: var(--header-h, 96px); }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  color: var(--c-preto);
  background: var(--c-branco);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* === TIPOGRAFIA ============================================ */
.eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.display {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.035em;
}
h1, .h1 { font-family: var(--f-display); font-weight: 800; line-height: 1.03; letter-spacing: -0.035em; font-size: clamp(40px, 6vw, 92px); }
h2, .h2 { font-family: var(--f-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; font-size: clamp(32px, 4.5vw, 68px); }
h3, .h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; font-size: clamp(22px, 2.6vw, 34px); }
h4, .h4 { font-family: var(--f-body); font-weight: 600; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; }
p.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; max-width: 60ch; }
/* Acento clássico — serif itálica dentro de títulos e destaques */
em {
  font-style: italic;
  font-family: var(--f-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: 1.06em;
}

/* === LAYOUT ================================================ */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(80px, 10vw, 160px) 0; position: relative; }
.section--dark { background: var(--c-pinheiro); color: var(--c-bege-light); }
.section--cream { background: var(--c-bege-light); color: var(--c-pinheiro); }
.section--paper { background: var(--c-branco); color: var(--c-pinheiro); }
.section--black { background: var(--c-preto); color: var(--c-bege-light); }

/* === HEADER ================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  transition: background 0.4s var(--tr-soft), backdrop-filter 0.4s var(--tr-soft);
}
.header--solid { background: rgba(47, 70, 62, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header__inner { width: 100%; max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.header__logo { display: flex; align-items: center; gap: 14px; color: var(--c-bege-light); }
.header__logo svg { width: 36px; height: auto; }
.header__logo-img { height: 76px; width: auto; display: block; }
.header__logo-text {
  font-family: var(--f-serif);
  font-size: 25px;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.header__logo-tag {
  font-family: var(--f-body);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 2px;
  display: block;
}

.nav { display: flex; gap: 36px; align-items: center; }
.nav a {
  color: var(--c-bege-light);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--tr);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--c-bege);
  transition: width 0.4s var(--tr);
}
.nav a:hover { color: var(--c-bege); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--c-bege); }

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--c-bege);
  color: var(--c-pinheiro);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s var(--tr), transform 0.3s var(--tr);
  border-radius: 2px;
}
.header__cta:hover { background: var(--c-bege-light); transform: translateY(-1px); }

.menu-toggle { display: none; color: var(--c-bege-light); }

/* Mobile menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-pinheiro-dark);
  color: var(--c-bege-light);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.5s var(--tr);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-bege-light);
}
.mobile-nav a:hover { color: var(--c-bege); }
.mobile-nav__close {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--c-bege-light);
  font-size: 28px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}

/* === BUTTONS =============================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s var(--tr);
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
}
.btn--primary {
  background: var(--c-bege);
  color: var(--c-pinheiro);
}
.btn--primary:hover {
  background: var(--c-bege-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.btn--ghost {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn--ghost:hover {
  background: var(--c-bege);
  color: var(--c-pinheiro);
  border-color: var(--c-bege);
}
.btn--text {
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: currentColor;
  position: relative;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
}
.btn--text:hover { gap: 18px; }
.btn .arrow { transition: transform 0.3s var(--tr); }
.btn:hover .arrow { transform: translateX(4px); }

/* === HERO ================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: flex-end;
  color: var(--c-bege-light);
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(31, 46, 41, 0.62) 0%,
    rgba(31, 46, 41, 0.42) 38%,
    rgba(31, 46, 41, 0.9) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(80px, 12vh, 140px);
}
.hero__inner { max-width: var(--max); margin: 0 auto; }
.hero__eyebrow {
  margin-bottom: 32px;
  color: var(--c-bege);
}
.hero__title {
  font-size: clamp(34px, 5vw, 72px);
  margin-bottom: 28px;
  max-width: 18ch;
}
.hero__title em { color: var(--c-bege); }
.hero__sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.4;
  max-width: 52ch;
  margin-bottom: 48px;
  opacity: 0.94;
}
.hero__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.hero__scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-bege-light);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0.7;
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--c-bege));
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(0.3); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

/* === RESERVATION BAR ====================================== */
.reservation {
  position: relative;
  z-index: 5;
  margin-top: 0;
  padding: 0 var(--gutter);
}
.reservation__inner {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--c-branco);
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.82fr 0.82fr 0.82fr auto;
  gap: 0;
  box-shadow: 0 24px 60px rgba(31, 46, 41, 0.18);
  border-top: 3px solid var(--c-bege);
}
.reservation__field {
  padding: 20px 26px;
  border-right: 1px solid var(--c-bege-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.reservation__field:last-of-type { border-right: 0; }
.reservation__label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-cinza);
  font-weight: 600;
}
.reservation__value {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--c-pinheiro);
  font-weight: 500;
}
.reservation__date {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--c-pinheiro);
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  padding: 0;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}
.reservation__date::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.2s var(--tr);
}
.reservation__date:hover::-webkit-calendar-picker-indicator { opacity: 0.8; }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper__btn {
  width: 30px; height: 30px;
  border: 1px solid var(--c-bege-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--c-pinheiro);
  flex-shrink: 0;
  transition: background 0.25s var(--tr), color 0.25s var(--tr), border-color 0.25s var(--tr);
}
.stepper__btn:hover {
  background: var(--c-pinheiro);
  color: var(--c-bege-light);
  border-color: var(--c-pinheiro);
}
.stepper__btn:disabled { opacity: 0.3; cursor: default; }
.stepper__btn:disabled:hover { background: none; color: var(--c-pinheiro); border-color: var(--c-bege-soft); }
.stepper__val {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--c-pinheiro);
  min-width: 22px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.reservation__btn {
  background: var(--c-pinheiro);
  color: var(--c-bege-light);
  padding: 22px 36px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.3s var(--tr);
}
.reservation__btn:hover { background: var(--c-pinheiro-dark); }

/* === SECTION HEADER ======================================== */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: clamp(60px, 8vw, 100px);
  align-items: end;
}
.sec-head__num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 24px;
}
.sec-head__title { max-width: 14ch; }
.sec-head__title--wide { max-width: none; }
.sec-head__title--wide .nowrap { white-space: nowrap; }
.sec-head__text { max-width: 52ch; }

/* === GRID DE CARDS ========================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.card {
  background: var(--c-branco);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--tr);
}
.card:hover { transform: translateY(-6px); }
.card__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--tr);
}
.card:hover .card__img img { transform: scale(1.06); }
.card__num {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-bege-light);
  z-index: 2;
  background: rgba(31,46,41,0.7);
  padding: 6px 10px;
  backdrop-filter: blur(8px);
}
.card__body { padding: 28px 20px; }
.card__cat {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-bege);
  margin-bottom: 12px;
  font-weight: 600;
}
.section--dark .card__cat { color: var(--c-bege); }
.card__title {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 12px;
}
.card__desc {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.85;
  margin-bottom: 16px;
}
.card__link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.3s var(--tr);
}
.card__link:hover { gap: 16px; }

/* === SPLIT (image + text) ================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__content {
  padding: 0 clamp(0px, 3vw, 40px);
}
.split__num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
  opacity: 0.7;
}
.split__title {
  margin-bottom: 28px;
}
.split__text {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 52ch;
  opacity: 0.92;
}
.split__features {
  margin-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}
.split__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.split__features li::before {
  content: '';
  width: 24px; height: 13px;
  background: url(../img/simbolo-ouro.svg) no-repeat center / contain;
  flex-shrink: 0;
  margin-top: 5px;
}

/* === PATTERN BG ============================================ */
.pattern-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url(../img/pattern-bege.svg);
  background-size: 280px auto;
  background-repeat: repeat;
  pointer-events: none;
}

/* === MARQUEE / TICKER ===================================== */
.ticker {
  background: var(--c-pinheiro);
  color: var(--c-bege);
  border-top: 1px solid var(--c-pinheiro-soft);
  border-bottom: 1px solid var(--c-pinheiro-soft);
  padding: 28px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex;
  gap: 60px;
  animation: tick 40s linear infinite;
  align-items: center;
}
.ticker__item {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.01em;
}
.ticker__sep {
  width: 8px; height: 8px;
  background: var(--c-bege);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === STATS / NUMBERS ====================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.stats__item {
  padding: 48px 28px;
  border-right: 1px solid currentColor;
  text-align: center;
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 1;
  margin-bottom: 16px;
  color: var(--c-bege);
}
.stats__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* === FOOTER ================================================ */
.footer {
  background: var(--c-preto);
  color: var(--c-bege-light);
  padding: clamp(80px, 10vw, 140px) 0 32px;
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(245, 240, 225, 0.12);
}
.footer__brand-mark { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.footer__brand-mark svg { width: 44px; height: auto; }
.footer__logo-img { height: 92px; width: auto; display: block; }
.footer__brand-text {
  font-family: var(--f-serif);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.08em;
}
.footer__tagline {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  max-width: 38ch;
  margin-bottom: 32px;
  opacity: 0.9;
}
.footer__col h5 {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-bege);
  margin-bottom: 24px;
}
.footer__col ul li { margin-bottom: 12px; }
.footer__col a {
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s var(--tr);
}
.footer__col a:hover { opacity: 1; color: var(--c-bege); }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
}
.footer__bottom a { transition: opacity 0.3s var(--tr); }
.footer__bottom a:hover { opacity: 1; color: var(--c-bege); }

/* === PAGE HERO (subpáginas) =============================== */
.page-hero {
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  color: var(--c-bege-light);
  padding: var(--header-h) 0 80px;
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,46,41,0.55) 0%, rgba(31,46,41,0.85) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding: 0 var(--gutter); width: 100%; }
.page-hero__inner { max-width: var(--max); margin: 0 auto; }
.page-hero__eyebrow { color: var(--c-bege); margin-bottom: 24px; }
.page-hero__title { max-width: 18ch; margin-bottom: 24px; }
.page-hero__sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.4;
  max-width: 58ch;
  opacity: 0.92;
}

/* === BREADCRUMB =========================================== */
.crumb {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.75;
}
.crumb a { transition: color 0.3s var(--tr); }
.crumb a:hover { color: var(--c-bege); }
.crumb span { margin: 0 10px; opacity: 0.6; }

/* === TIMELINE (HISTÓRIA) =================================== */
.timeline {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid var(--c-bege-soft);
  align-items: start;
}
.timeline__year {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(60px, 7.5vw, 104px);
  line-height: 1;
  color: var(--c-bege);
  position: sticky;
  top: 120px;
}
.timeline__body { max-width: 60ch; }
.timeline__title {
  font-family: var(--f-display);
  font-size: 32px;
  margin-bottom: 24px;
  line-height: 1.1;
}
.timeline__text {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.92;
}
.timeline__img {
  margin-top: 32px;
  aspect-ratio: 16/9;
  overflow: hidden;
  filter: sepia(0.2) contrast(0.95);
}
.timeline__img img { width: 100%; height: 100%; object-fit: cover; }

/* === GALERIA =============================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery__item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--tr);
}
.gallery__item:hover img { transform: scale(1.06); }
.g-tall { grid-column: span 4; aspect-ratio: 3/4; }
.g-wide { grid-column: span 8; aspect-ratio: 16/9; }
.g-square { grid-column: span 4; aspect-ratio: 1/1; }
.g-half { grid-column: span 6; aspect-ratio: 4/3; }
.g-full { grid-column: span 12; aspect-ratio: 21/9; }

/* === FORM ================================================= */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-pinheiro);
}
.field input,
.field select,
.field textarea {
  font-family: var(--f-body);
  font-size: 16px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--c-bege);
  padding: 12px 0;
  color: var(--c-pinheiro);
  outline: none;
  transition: border-color 0.3s var(--tr);
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--c-pinheiro); }
.field textarea { resize: vertical; min-height: 100px; }

/* === CTA BANNER =========================================== */
.cta-banner {
  background: var(--c-pinheiro);
  color: var(--c-bege-light);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner__inner {
  position: relative; z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.cta-banner__title {
  margin-bottom: 24px;
}
.cta-banner__sub {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  margin-bottom: 48px;
  opacity: 0.9;
}

/* === NEWSLETTER BAR ======================================= */
.newsletter {
  background: var(--c-pinheiro-dark);
  color: var(--c-bege-light);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.newsletter .pattern-bg { opacity: 0.03; }
.newsletter__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.newsletter__text { flex-shrink: 0; }
.newsletter__eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-bege);
  font-weight: 600;
  margin-bottom: 8px;
}
.newsletter__title {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
}
.newsletter__form {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex: 1;
  max-width: 480px;
  border-bottom: 1px solid var(--c-bege);
}
.newsletter__input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--c-bege-light);
  font-family: var(--f-body);
  font-size: 15px;
  padding: 14px 4px;
}
.newsletter__input::placeholder { color: rgba(245, 240, 225, 0.45); }
.newsletter__btn {
  background: var(--c-bege);
  color: var(--c-pinheiro);
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s var(--tr);
  border-radius: 2px;
  margin-left: 16px;
  margin-bottom: -1px;
}
.newsletter__btn:hover { background: var(--c-bege-light); }

/* === WHATSAPP FLOATING BUTTON ============================= */
.wa-fab {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--c-pinheiro);
  color: var(--c-bege-light);
  border-radius: 100px;
  padding: 0;
  height: 60px;
  box-shadow: 0 8px 28px rgba(31, 46, 41, 0.4);
  overflow: hidden;
  transition: gap 0.4s var(--tr), padding 0.4s var(--tr), background 0.3s var(--tr);
}
.wa-fab:hover { background: var(--c-pinheiro-dark); }
.wa-fab__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-fab__icon svg { width: 28px; height: 28px; }
.wa-fab__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.4s var(--tr), padding 0.4s var(--tr);
}
.wa-fab:hover .wa-fab__label {
  max-width: 200px;
  padding-right: 26px;
}
.wa-fab::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 1px solid var(--c-bege);
  opacity: 0;
  animation: waPulse 3s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { opacity: 0.5; transform: scale(0.92); }
  70% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1.15); }
}

/* === VIDEO BLOCK ========================================== */
.video-block {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
}
.video-block__poster {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--tr);
}
.video-block:hover .video-block__poster { transform: scale(1.04); }
.video-block::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(rgba(31,46,41,0.35), rgba(31,46,41,0.6));
}
.video-block__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--c-bege);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--tr), background 0.3s var(--tr);
}
.video-block__play svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--c-pinheiro); }
.video-block:hover .video-block__play { transform: translate(-50%,-50%) scale(1.1); background: var(--c-bege-light); }
.video-block__play::before {
  content: '';
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--c-bege);
  opacity: 0;
  animation: waPulse 3s ease-out infinite;
}
.video-block__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-bege-light);
  font-weight: 600;
  background: rgba(31,46,41,0.72);
  padding: 10px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* === HORIZONTAL TIMELINE ================================== */
.htl { position: relative; }
.htl__track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  margin-bottom: 64px;
  padding-top: 8px;
}
.htl__line, .htl__progress {
  position: absolute;
  top: 40px;
  height: 2px;
}
.htl__line {
  left: 8.333%; right: 8.333%;
  background: rgba(47,70,62,0.16);
}
.htl__progress {
  left: 8.333%;
  width: 0;
  background: var(--c-bege);
  transition: width 0.55s var(--tr);
}
.htl__node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: none;
  padding: 0;
}
.htl__dot {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--c-bege-soft);
  filter: grayscale(1);
  opacity: 0.55;
  transition: transform 0.4s var(--tr), filter 0.4s var(--tr), opacity 0.4s var(--tr), border-color 0.4s var(--tr), box-shadow 0.4s var(--tr);
}
.htl__dot img { width: 100%; height: 100%; object-fit: cover; }
.htl__year-label {
  font-family: var(--f-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--c-pinheiro);
  opacity: 0.45;
  transition: opacity 0.4s var(--tr), transform 0.4s var(--tr);
}
.htl__node:hover .htl__dot { opacity: 0.85; }
.htl__node--active .htl__dot {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--c-bege);
  transform: scale(1.28);
  box-shadow: 0 10px 26px rgba(47,70,62,0.28);
}
.htl__node--active .htl__year-label {
  opacity: 1;
  transform: scale(1.12);
}

.htl__panels { position: relative; min-height: 360px; }
.htl__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.htl__panel--active { display: grid; animation: htlFade 0.55s var(--tr-soft); }
@keyframes htlFade {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.htl__panel-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.htl__panel-img img { width: 100%; height: 100%; object-fit: cover; }
.htl__panel-year {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(60px, 8vw, 116px);
  line-height: 0.9;
  color: var(--c-bege);
  margin-bottom: 18px;
}
.htl__panel-title {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.htl__panel-text { font-size: 16px; line-height: 1.7; opacity: 0.9; }
.htl__nav {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  align-items: center;
}
.htl__nav button {
  width: 52px; height: 52px;
  border: 1px solid var(--c-bege);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-pinheiro);
  font-size: 18px;
  transition: background 0.3s var(--tr), color 0.3s var(--tr), opacity 0.3s var(--tr);
}
.htl__nav button:hover { background: var(--c-bege); }
.htl__nav button:disabled { opacity: 0.3; cursor: default; }
.htl__nav button:disabled:hover { background: none; }
.htl__counter {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--c-pinheiro);
  opacity: 0.6;
  margin-left: 8px;
}

/* === SLIDER DE FOTOS ====================================== */
.slider { position: relative; }
.slider__slides { position: absolute; inset: 0; }
.slider__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s var(--tr-soft);
}
.slider__slide.is-active { opacity: 1; }
.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.92);
  color: var(--c-pinheiro);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.3s var(--tr), background 0.3s var(--tr);
}
.slider:hover .slider__arrow { opacity: 1; }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }
.slider__arrow:hover { background: var(--c-bege); }
.slider__count {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-bege-light);
  background: rgba(31, 46, 41, 0.7);
  padding: 6px 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.slider__dots {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.5);
  transition: background 0.3s var(--tr), width 0.3s var(--tr), border-radius 0.3s var(--tr);
}
.slider__dot.is-active {
  background: var(--c-bege-light);
  width: 24px;
  border-radius: 4px;
}

/* === AQUARELA BG ========================================== */
.aquarela-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/aquarela-bg.png) no-repeat bottom center / 100% auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}
.heranca-glass {
  background: rgba(250, 248, 242, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 60px clamp(24px, 4vw, 60px) !important;
  border-radius: 2px;
}
.heranca-icon {
  width: 52px;
  height: auto;
  opacity: 0.3;
  display: block;
  margin-bottom: 28px;
}

/* === REVEAL ANIMATIONS ==================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--tr-soft), transform 1s var(--tr-soft);
}
.reveal.in { opacity: 1; transform: none; }

/* === RESPONSIVE =========================================== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .reservation__inner { grid-template-columns: 1fr 1fr 1fr; }
  .reservation__field { border-right: 1px solid var(--c-bege-soft); border-bottom: 1px solid var(--c-bege-soft); }
  .reservation__btn { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(1),
  .stats__item:nth-child(2) { border-bottom: 1px solid currentColor; }
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }
  .nav, .header__cta { display: none; }
  .hero__scroll { display: none; }
  .reservation { display: none; }
  .aquarela-bg { opacity: 0.15; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
  .header__logo-img { height: 56px; }
  .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .timeline { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .timeline__year { position: relative; top: auto; font-size: 64px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats__item { border-right: 0; border-bottom: 1px solid currentColor; }
  .stats__item:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .g-tall, .g-square { grid-column: span 3; }
  .g-wide, .g-half, .g-full { grid-column: span 6; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .reservation { margin-top: -30px; }
  .reservation__inner { grid-template-columns: 1fr; }
  .reservation__field { border-right: 0; border-bottom: 1px solid var(--c-bege-soft); }
  .newsletter__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .newsletter__form { max-width: 100%; width: 100%; }
  .wa-fab { height: 54px; }
  .wa-fab__icon { width: 54px; height: 54px; }
  .wa-fab:hover .wa-fab__label { max-width: 0; padding-right: 0; }
  .htl__track {
    overflow-x: auto;
    grid-auto-columns: 96px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
  }
  .htl__line, .htl__progress { display: none; }
  .htl__dot { width: 52px; height: 52px; }
  .htl__year-label { font-size: 17px; }
  .htl__panel { grid-template-columns: 1fr; gap: 28px; }
  .htl__panels { min-height: 0; }
  .htl__panel-img { aspect-ratio: 16/10; }
  .video-block__play { width: 68px; height: 68px; }
  .video-block__play svg { width: 22px; height: 22px; }

  /* === MOBILE FIXES — hero, contato, eventos === */
  .hero { min-height: 100vh; min-height: 100dvh; min-height: calc(var(--vh, 1vh) * 100); }
  .hero__bg img { object-position: center 30%; }
  .hero__bg::after {
    background: linear-gradient(180deg,
      rgba(31, 46, 41, 0.30) 0%,
      rgba(31, 46, 41, 0.20) 42%,
      rgba(31, 46, 41, 0.92) 100%);
  }
  .hero__content { padding-bottom: clamp(48px, 8vh, 80px); }
  .hero__cta-row { flex-direction: column; gap: 12px; }
  .hero__cta-row .btn { width: 100%; text-align: center; justify-content: center; }
  .hero__sub { font-size: 16px !important; }
  .hero__eyebrow { font-size: 10px; }

  /* Contato: cards de contato empilham */
  .contact-cards, .contact__cards { 
    grid-template-columns: 1fr !important; 
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .contact-grid, .grid-4 { 
    grid-template-columns: 1fr 1fr !important; 
  }
  /* Contato: formulário empilha */
  .contact-form, .split--form, .form-split {
    grid-template-columns: 1fr !important;
  }
  .form-split > *, .contact-form > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  input, textarea, select {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Eventos: formulário e grids */
  .evento-form, .event-form {
    grid-template-columns: 1fr !important;
  }

}

/* === IDADE DAS CRIANÇAS (barra de reserva) ================= */
.reservation__idades {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.reservation__idades[hidden] { display: none; }
.reservation__field--idade { min-width: 92px; }
.reservation__idade {
  width: 100%;
  padding: 9px 10px;
  border: none;
  border-bottom: 1px solid rgba(31,46,41,0.18);
  background: transparent;
  font-family: var(--f-sans);
  font-size: 14px;
  color: var(--c-pinheiro);
  cursor: pointer;
}
.reservation__idade:focus { outline: none; border-bottom-color: var(--c-bege); }
@media (max-width: 768px) {
  .reservation__idades { width: 100%; }
  .reservation__field--idade { flex: 1; min-width: 78px; }
}

/* === AVISO DOS ITENS EXTRAS (Experiências) ================= */
.disclaimer-extras {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--c-bege-soft);
  font-size: 14px;
  color: var(--c-cinza);
  font-style: italic;
}
.disclaimer-extras span {
  color: var(--c-bege);
  font-size: 16px;
  font-style: normal;
  flex-shrink: 0;
}

/* === REGRAS PET-FRIENDLY ==================================== */
.pet-doc { max-width: 900px; }

.pet-bloco {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 40px;
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--c-bege-soft);
}
.pet-bloco:last-of-type { border-bottom: none; padding-bottom: 20px; margin-bottom: 0; }

.pet-bloco__num {
  font-family: var(--f-serif);
  font-size: clamp(64px, 8vw, 96px);
  line-height: 0.85;
  color: var(--c-bege);
  font-weight: 500;
  letter-spacing: -0.03em;
  opacity: 0.85;
}

.pet-bloco__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--c-pinheiro);
  margin-bottom: 28px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.pet-texto {
  font-size: 17px;
  line-height: 1.85;
  color: var(--c-cinza);
  margin-bottom: 20px;
}
.pet-texto:last-child { margin-bottom: 0; }

.pet-lista { list-style: none; padding: 0; margin: 0; }
.pet-lista li {
  position: relative;
  padding-left: 30px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(207,181,111,0.18);
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--c-cinza);
}
.pet-lista li:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.pet-lista li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-bege);
}
.pet-lista strong, .pet-texto strong { color: var(--c-pinheiro); font-weight: 600; }

/* Valor da taxa */
.pet-valor {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 34px;
  padding: 30px 34px;
  background: var(--c-creme);
  border-left: 4px solid var(--c-bege);
  flex-wrap: wrap;
}
.pet-valor__num {
  font-family: var(--f-serif);
  font-size: clamp(46px, 5.5vw, 60px);
  line-height: 1;
  color: var(--c-pinheiro);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.pet-valor__unid {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-cinza);
  font-weight: 600;
}

/* Indicação externa */
.pet-indicacao {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 26px 32px;
  background: var(--c-creme);
  border-radius: 2px;
}
.pet-indicacao__label {
  display: block;
  width: 100%;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-bege);
  font-weight: 700;
  margin-bottom: 6px;
}
.pet-indicacao strong { color: var(--c-pinheiro); font-size: 19px; }
.pet-indicacao a {
  color: var(--c-pinheiro);
  border-bottom: 1px solid var(--c-bege);
  padding-bottom: 2px;
  font-weight: 600;
  font-size: 17px;
}
.pet-indicacao a:hover { color: var(--c-bege); }
.pet-indicacao__obs { font-size: 13.5px; color: var(--c-cinza); font-style: italic; }

/* Alerta */
.pet-alerta {
  margin-top: 34px;
  padding: 26px 32px;
  background: #FBF3E8;
  border-left: 4px solid #C9873A;
  font-size: 16px;
  line-height: 1.8;
  color: #6B4A1F;
  border-radius: 2px;
}
.pet-alerta strong { color: #5A3A12; font-weight: 700; }

/* CTA final */
.pet-cta {
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid var(--c-bege-soft);
  text-align: center;
}
.pet-cta p { font-size: 18px; color: var(--c-cinza); margin-bottom: 34px; }
.pet-cta__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 820px) {
  .pet-bloco {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 56px;
    margin-bottom: 56px;
  }
  .pet-bloco__num {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 10px;
  }
  .pet-bloco__title { margin-bottom: 22px; }
  .pet-valor { flex-direction: column; gap: 6px; align-items: flex-start; padding: 24px 26px; }
  .pet-indicacao { padding: 22px 24px; }
  .pet-alerta { padding: 22px 24px; }
  .pet-cta { margin-top: 60px; padding-top: 44px; }
  .pet-cta__btns .btn { width: 100%; justify-content: center; text-align: center; }
}
}

/* === LINHA DO TEMPO — nota de IA e botão do blog =========== */
.htl__panel-img { position: relative; }
.htl__panel-nota {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(31,46,41,0.82);
  color: var(--c-bege-light);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.htl__panel-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-pinheiro);
  border-bottom: 1px solid var(--c-bege);
  padding-bottom: 4px;
  transition: gap 0.3s;
}
.htl__panel-link:hover { gap: 15px; }
.htl__panel-link span { transition: transform 0.3s; }

/* === REDES SOCIAIS NO RODAPÉ =============================== */
.footer__social-icons {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}
.footer__social-icons a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(245,240,225,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-bege-light);
  transition: all 0.28s var(--tr);
}
.footer__social-icons a:hover {
  background: var(--c-bege);
  border-color: var(--c-bege);
  color: var(--c-pinheiro);
  transform: translateY(-3px);
}
.footer__social-icons svg {
  width: 19px;
  height: 19px;
}
@media (max-width: 900px) {
  .footer__social-icons { gap: 12px; }
  .footer__social-icons a { width: 44px; height: 44px; }
}

/* === CASAMENTOS — Exclusividade com foto de fundo ========== */
.casamento-exclusivo {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.casamento-exclusivo__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.casamento-exclusivo__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.casamento-exclusivo__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(rgba(31,46,41,0.82), rgba(31,46,41,0.88));
}

/* Conteúdo centralizado com flexbox — à prova de heranças */
.casamento-exclusivo__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;      /* centraliza horizontalmente cada filho */
  justify-content: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.casamento-exclusivo__eyebrow {
  display: block;
  width: 100%;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-bege);
  margin-bottom: 20px;
  text-align: center;
}
.casamento-exclusivo__title {
  display: block;
  width: 100%;
  max-width: none;
  font-family: var(--f-display);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 32px;
  text-align: center;
}
.casamento-exclusivo__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--c-bege);
}
.casamento-exclusivo__text {
  width: 100%;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,0.92);
  margin: 0 auto 22px;
  text-align: center;
}
.casamento-exclusivo__text:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .casamento-exclusivo { padding: 80px 0; }
}

/* === CASAMENTOS — galeria ================================== */
.cas-galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 4px;
}
.cas-galeria__item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.cas-galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.cas-galeria__item:hover img { transform: scale(1.05); }
.cas-galeria__item--big { grid-column: span 2; grid-row: span 2; }
.cas-galeria__item--wide { grid-column: span 2; }
@media (max-width: 768px) {
  .cas-galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .cas-galeria__item--big { grid-column: span 2; grid-row: span 2; }
  .cas-galeria__item--wide { grid-column: span 2; }
}

/* Placeholder quando ainda não há fotos */
.cas-galeria-vazia {
  border: 1px dashed var(--c-bege);
  border-radius: 4px;
  padding: 64px 32px;
  text-align: center;
  color: var(--c-cinza);
  background: var(--c-creme);
}
.cas-galeria-vazia svg { width: 40px; height: 40px; color: var(--c-bege); margin-bottom: 16px; }

/* Lightbox */
.cas-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20,28,24,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.cas-lightbox.is-open { display: flex; }
.cas-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.cas-lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.8;
}
.cas-lightbox__close:hover { opacity: 1; }

/* === EVENTOS CORPORATIVOS — faixa de números horizontal ==== */
.corp-stats {
  display: flex;
  margin-top: 56px;
  border: 1px solid var(--c-bege-soft);
  border-radius: 4px;
  overflow: hidden;
}
.corp-stats__item {
  flex: 1;
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--c-bege-soft);
}
.corp-stats__item:last-child { border-right: none; }
.corp-stats__num {
  font-family: var(--f-serif);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  color: var(--c-bege);
  font-weight: 500;
}
.corp-stats__label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-cinza);
  font-weight: 600;
  margin-top: 12px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .corp-stats { flex-wrap: wrap; }
  .corp-stats__item {
    flex: 1 1 50%;
    border-bottom: 1px solid var(--c-bege-soft);
  }
  .corp-stats__item:nth-child(2) { border-right: none; }
  .corp-stats__item:nth-child(3), .corp-stats__item:nth-child(4) { border-bottom: none; }
}
