/* =========================================================
   Casarão Decor — recriação em HTML/CSS/JS puro a partir do
   site Framer. Tokens de cor, tipografia, breakpoints e
   animações seguem o levantamento em framer-animacoes.md.
   Imagens são placeholders em gradiente (ver README).
   ========================================================= */

:root{
  --cream:        #EFF0EA; /* fundo claro das seções e do loader */
  --off-white:    #F1F1F1; /* fundo do body */
  --olive:        #52513E; /* títulos e texto escuro */
  --olive-70:     rgba(82,81,62,.72);
  --tan:          #D6A178; /* itálico dos títulos em seções claras */
  --tan-light:    #F1DFC2; /* realce secundário */
  --cream-strong: #CDB9A1; /* itálico dos títulos sobre imagem/fundo escuro */
  --cream-text:   #EFF0EA; /* texto claro sobre imagem */
  --dark:         #2b271c;

  --font-body: "Inter", "Inter Placeholder", sans-serif;
  --font-logo: Georgia, "Times New Roman", serif; /* logo CASARÃO/decor: serifada; nome real não identificado */

  --container: 1200px;
  --gutter: 24px;
  --radius: 2px;
  --header-h: 88px;

  /* Appear do Framer: Spring stiffness 275 / damping 64 / mass 1.
     É superamortecido (sem bounce), então um ease-out suave reproduz bem. */
  --spring-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --appear-duration: .8s;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--olive);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.has-loader,
body.is-overlay-open{ overflow: hidden; }
html:not(.js) body.has-loader{ overflow: auto; }

img{ max-width: 100%; display: block; }

.container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

em{
  font-style: italic;
  color: var(--tan);
  font-weight: 500;
}

main > section{ scroll-margin-top: var(--header-h); }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 20px;
  color: var(--cream-text);
  background: linear-gradient(to bottom, rgba(0,0,0,.35), transparent);
  transition: background .3s ease, color .3s ease;
}
.site-header.is-scrolled{
  background: linear-gradient(to bottom, rgba(20,18,10,.7), rgba(20,18,10,.2));
}
/* Variante "Dark" do Framer: texto escuro para páginas que começam em fundo claro */
.site-header--dark,
body.is-overlay-open .site-header{
  color: var(--olive);
  background: none;
}
.site-header--dark.is-scrolled{
  background: rgba(241,241,241,.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
body.is-overlay-open .site-header{ background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  letter-spacing: .04em;
}
.logo-mark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
}
.logo-mark--icon{ border-radius: 4px; }

.main-nav{
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.main-nav a{
  color: inherit;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: -0.32px;
  opacity: .92;
  transition: opacity .2s ease;
}
.main-nav a:hover{ opacity: .5; }           /* Framer: hover só reduz a opacidade */
.main-nav a.is-active{ opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* Hambúrguer: visível em todos os breakpoints (abre o painel de contato/equipe) */
.menu-toggle{
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: inherit;
}
.menu-toggle span{
  display: block;
  width: 26px;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s ease;
}
.menu-toggle.is-x span:first-child{ transform: translateY(3.25px) rotate(45deg); }
.menu-toggle.is-x span:last-child{  transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Painel do hambúrguer (overlay com equipe, contatos e endereço) ---------- */
.info-overlay{
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream);
  color: var(--olive);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.info-overlay.is-open{
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease;
}
.info-overlay__inner{
  padding-block: calc(var(--header-h) + 32px) 64px;
  min-height: 100%;
}
.info-overlay__nav{
  display: none;               /* só no layout Phone (< 1200px) */
  flex-direction: column;
  gap: 14px;
  margin-bottom: 48px;
}
.info-overlay__nav a{
  color: var(--olive);
  text-decoration: none;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  transition: opacity .2s ease;
}
.info-overlay__nav a:hover{ opacity: .5; }
.info-overlay__nav a.is-active{ text-decoration: underline; text-underline-offset: 8px; }

.info-overlay__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.info-overlay__photo{
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #b9a583, #6b5636);
}
.info-overlay__blocks{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.info-overlay__blocks a,
.info-overlay__blocks span{
  display: block;
  color: var(--olive);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.7;
  transition: opacity .2s ease;
}
.info-overlay__blocks a:hover{ opacity: .5; }
.info-overlay__invite{
  margin: 40px 0 16px;
  font-size: 16px;
  color: var(--olive-70);
  max-width: 46ch;
}

/* ---------- Loader (só na Home) ---------- */
.loader{
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.loader__quadrant{
  position: absolute;
  width: 50%;
  height: 50%;
  background: var(--cream);
  transition: transform .9s cubic-bezier(.65, 0, .35, 1);
}
.loader__quadrant--tl{ top: 0;    left: 0;  transform-origin: top left; }
.loader__quadrant--tr{ top: 0;    right: 0; transform-origin: top right; }
.loader__quadrant--bl{ bottom: 0; left: 0;  transform-origin: bottom left; }
.loader__quadrant--br{ bottom: 0; right: 0; transform-origin: bottom right; }
.loader__logo{
  position: relative;
  text-align: center;
  font-family: var(--font-logo);
  color: var(--olive);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--spring-ease), transform .7s var(--spring-ease);
}
.loader__logo-main{
  display: block;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: .14em;
  line-height: 1;
}
.loader__logo-sub{
  display: block;
  font-size: 16px;
  letter-spacing: .38em;
  margin-top: 10px;
  text-transform: lowercase;
}
.loader.is-logo .loader__logo{ opacity: 1; transform: none; }
.loader.is-opening .loader__logo{ opacity: 0; transition: opacity .3s ease; }
.loader.is-opening .loader__quadrant{ transform: scale(0); } /* os 4 blocos se afastam do centro */
.loader.is-done{ display: none; }
html:not(.js) .loader{ display: none; }

/* ---------- Type scale ---------- */
.eyebrow{
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .12em;
  font-weight: 300;
  color: var(--olive);
  margin: 0 0 16px;
}
.eyebrow--light{ color: var(--cream-text); opacity: .85; }

.display{
  font-size: clamp(40px, 6vw, 63px);
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 20px;
  color: var(--olive);
}
.display em{ color: var(--tan); }          /* seção clara: itálico terracota */
.display--md{ font-size: clamp(34px, 5vw, 48px); }
.display--sm{ font-size: clamp(30px, 4vw, 42px); text-align: center; }

/* Sobre imagem / fundo escuro: título creme, itálico bege */
.hero .display,
.feature--dark .display{ color: var(--cream-text); }
.hero .display em,
.feature--dark .display em{ color: var(--cream-strong); }

.subheading{
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  margin: 0 0 20px;
  color: var(--olive);
}
.subheading--light{ color: var(--cream-text); }

.lede{
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--olive);
  max-width: 46ch;
  margin: 0 0 32px;
}
.lede--light{ color: var(--cream-text); opacity: .88; }
.lede--center{ max-width: 60ch; margin-inline: auto; text-align: center; }

.btn-link{
  display: inline-block;
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 6px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity .2s ease;
}
.btn-link:hover{ opacity: .5; }
.btn-link--light{ color: var(--cream-text); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}
.hero__media{
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 0%, #6b5636 0%, #2b271c 70%);
}
.hero__scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,18,10,.78) 0%, rgba(20,18,10,.45) 45%, rgba(20,18,10,.2) 100%);
}
.hero__content{
  position: relative;
  padding-block: 120px 96px;
  max-width: 720px;
}

/* ---------- Feature sections (fundo em foto) ---------- */
.feature{
  position: relative;
  background: var(--cream);
}
.feature--dark{ color: var(--cream-text); }

.feature__media{
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #7a6a4a, #3a3324);
  z-index: 0;
}
.feature__media--tall{ position: relative; height: 60vh; min-height: 480px; }

.feature__scrim{
  position: absolute;
  inset: 0;
  background: rgba(20,18,10,.5);
  z-index: 0;
}
.feature__scrim--bottom{
  position: relative;
  inset: auto;
  height: 0;
}

.feature__content{
  position: relative;
  z-index: 1;
  padding-block: 96px 64px;
  max-width: 640px;
}

.cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.feature__cards{
  position: relative;
  z-index: 1;
  padding-block: 64px 96px;
}
.feature__cards--overlay{
  margin-top: -1px;
  background: rgba(20,18,10,.55);
}

.card h3{
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 12px;
  color: inherit;
}
.card p{
  font-size: 15px;
  font-weight: 400;
  opacity: .85;
  margin: 0;
}
.card--dark{ color: var(--cream-text); }
.card__links{ display: flex; gap: 20px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- CTA ---------- */
.cta{
  background: var(--cream);
  text-align: center;
  padding-block: 120px;
}
.cta .btn-link{ display: inline-block; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--cream);
  padding-block: 64px 40px;
  border-top: 1px solid rgba(82,81,62,.12);
}
.footer-inner{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 32px;
}
.footer-brand{
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--font-logo);
}
.footer-logo{
  display: block;
  font-size: 40px;
  letter-spacing: .1em;
  color: var(--olive);
}
.footer-logo-sub{
  display: block;
  font-size: 16px;
  letter-spacing: .3em;
  color: var(--olive-70);
  margin-top: -4px;
}
.footer-nav{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a{
  color: var(--olive);
  text-decoration: none;
  font-size: 16px;
  transition: opacity .2s ease;
}
.footer-nav a:hover{ opacity: .5; }
.footer-contact{
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  margin-left: auto;
  font-size: 15px;
  color: var(--olive);
}
.footer-contact a{ color: inherit; text-decoration: none; transition: opacity .2s ease; }
.footer-contact a:hover{ opacity: .5; }

/* ---------- WhatsApp flutuante (adição da recriação; não existe no Framer) ---------- */
.whatsapp-fab{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  background: #25D366;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

/* ---------- Seções de conteúdo ---------- */
.section{ padding-block: 96px; }
.section--top{ padding-block: 160px 80px; }
.section--cream{ background: var(--cream); }
.narrow{ max-width: 760px; }
.center{ text-align: center; margin-inline: auto; }
.center .eyebrow, .center .lede{ margin-inline: auto; }

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.fineprint{
  font-size: 13px;
  color: var(--olive-70);
  margin-top: 12px;
}

.plain-list{
  list-style: disc;
  padding-left: 20px;
  color: var(--olive-70);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.plain-list strong{ color: var(--olive); }

/* Sumário com âncoras da página Serviços */
.subnav{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px 28px;
  margin-top: 8px;
}
.subnav .eyebrow{ margin: 0; width: 100%; text-align: center; margin-bottom: 8px; }
.subnav a{
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 6px;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity .2s ease;
}
.subnav a:hover{ opacity: .5; }

/* Cards em fundo claro */
.cards-grid--light .card,
.cards-grid--light{ color: var(--olive); }
.cards-grid--light .card p{ opacity: 1; color: var(--olive-70); }
.cards-grid--3{ grid-template-columns: repeat(3, 1fr); }
.cards-grid--4{ grid-template-columns: repeat(4, 1fr); }
.cards-grid--2{ grid-template-columns: repeat(2, 1fr); }

/* Team cards */
.team-grid{
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.team-grid .team-card{ flex: 1 1 200px; max-width: 280px; }
.two-col .team-card{ max-width: 440px; }
.team-card__photo{
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #b9a583, #6b5636);
  margin-bottom: 16px;
}
.team-card__name{
  font-weight: 500;
  font-size: 17px;
  margin: 0 0 2px;
  color: var(--olive);
}
.team-card__role{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--olive-70);
  margin: 0;
}

/* Lista de categorias */
.category-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 48px;
  max-width: 900px;
  margin-inline: auto;
}
.category-list--full{ grid-template-columns: 1fr 1fr; max-width: 1000px; }
.category-list li{ border-bottom: 1px solid rgba(82,81,62,.12); }
.category-list a{
  display: block;
  padding-block: 18px;
  color: var(--olive);
  text-decoration: none;
  font-size: 17px;
  transition: opacity .2s ease;
}
.category-list a:hover{ opacity: .5; }

/* Stats */
.stats-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  text-align: center;
}
.stat__number{
  font-size: 32px;
  font-weight: 500;
  color: var(--olive);
  margin: 0 0 6px;
}
.stat__label{
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--olive-70);
  margin: 0;
}

/* Ecossistema */
.ecosystem-list{
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}
.ecosystem-list li{
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
  border-bottom: 1px solid rgba(82,81,62,.12);
  font-size: 16px;
}
.ecosystem-list__name{ font-weight: 500; color: var(--olive); }
.ecosystem-list__desc{ color: var(--olive-70); text-align: right; }

/* Aviso (privacy.html) */
.notice-box{
  background: var(--tan-light);
  border: 1px solid rgba(82,81,62,.15);
  border-radius: 4px;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--olive);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* 404 */
.not-found{ text-align: center; }
.display--huge{ font-size: clamp(80px, 14vw, 160px); }

/* ---------- Appear (Spring 275/64/1 do Framer, toca uma vez) ----------
   O JS marca os elementos com data-appear e adiciona .is-visible ao
   entrarem na tela, com stagger por seção via --appear-delay. */
.js [data-appear]{
  opacity: 0;
  transform: translateY(var(--appear-offset, 16px));
  transition: opacity var(--appear-duration) var(--spring-ease),
              transform var(--appear-duration) var(--spring-ease);
  transition-delay: var(--appear-delay, 0s);
}
.js [data-appear].is-visible{
  opacity: 1;
  transform: none;
}
.display[data-appear]{ --appear-offset: 60px; }      /* títulos grandes: ~61px no Framer */
.subheading[data-appear]{ --appear-offset: 40px; }
.lede[data-appear],
.card[data-appear],
.team-card[data-appear],
.team-grid[data-appear],
.stat[data-appear]{ --appear-offset: 24px; }
.eyebrow[data-appear],
.btn-link[data-appear],
.card__links[data-appear],
.subnav[data-appear],
.fineprint[data-appear],
li[data-appear]{ --appear-offset: 10px; }           /* eyebrow: 10px no Framer */

/* ---------- Imagens reais (assets/) ---------- */
.logo__img{ width: 40px; height: 40px; display: block; }
.logo__img--escuro{ display: none; }
.site-header--dark .logo__img--claro,
body.is-overlay-open .logo__img--claro{ display: none; }
.site-header--dark .logo__img--escuro,
body.is-overlay-open .logo__img--escuro{ display: block; }

img.hero__media,
img.feature__media{ width: 100%; height: 100%; object-fit: cover; display: block; }
img.feature__media--tall{ height: 60vh; min-height: 480px; }
img.info-overlay__photo,
img.team-card__photo{ object-fit: cover; display: block; }

.feature--solid{ background: var(--dark); }
.feature__illustration{
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(44%, 620px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
.illustration{ display: block; margin: 0 auto 32px; width: min(320px, 70%); height: auto; }
.essence{
  position: relative;
  overflow: hidden;
  /* altura do desenho (proporção 320x246) + respiro, para o telhado não cortar */
  min-height: calc(min(1152px, 80vw) * 0.769 + 64px);
  display: flex;
  align-items: center;
}
.essence__bg{
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  width: min(1152px, 80vw);
  max-width: none;
  height: auto;
  opacity: .12;
  pointer-events: none;
  z-index: 0;
}
.essence__content{ position: relative; z-index: 1; width: 100%; }

.card__media{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: block;
}

.story{ align-items: center; }
.story__sub{ margin: 16px 0 24px; color: var(--olive-70); }
.story-photo{ margin: 0; }
.story-photo img{ width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: var(--radius); display: block; }
.story-photo figcaption{
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--olive-70);
}
.story-photo strong{ display: block; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--olive); }

.category-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
}
.category-grid a{ display: block; color: var(--olive); text-decoration: none; transition: opacity .2s ease; }
.category-grid a:hover{ opacity: .6; }
.category-grid img{
  width: 100%;
  height: auto;              /* vence o atributo height= do <img> */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cream);
  margin-bottom: 12px;
}
.category-grid span{ display: block; font-size: 16px; }

.gallery{ position: relative; margin-top: 8px; }
.gallery__track{
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gallery__track::-webkit-scrollbar{ display: none; }
.gallery__track img{
  flex: 0 0 auto;
  height: 460px;
  width: auto;
  scroll-snap-align: start;
  border-radius: var(--radius);
  object-fit: cover;
}
.gallery__nav{ display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.gallery__btn{
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(82,81,62,.3);
  background: #fff;
  color: var(--olive);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity .2s ease;
}
.gallery__btn:hover{ opacity: .6; }
.gallery__btn svg{ width: 18px; height: 18px; }

.portrait{ width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 999px; display: block; margin: 0 auto 16px; }
.portrait--tall{ width: 200px; aspect-ratio: 464 / 808; border-radius: var(--radius); margin-bottom: 32px; }
.brand-logo{ width: 140px; height: auto; display: block; margin: 40px auto 0; }
.wide-photo{
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin: 48px auto 0;
}

.section--slim{ padding-block: 48px 0; }
/* Clube na Home: introdução clara com desenho + painéis em foto */
.club-intro{
  position: relative;
  overflow: hidden;
  background: var(--off-white);
  min-height: min(80vh, 640px);
  display: flex;
  align-items: center;
}
.club-intro__bg{
  position: absolute;
  right: -8%;
  top: -12%;
  width: min(900px, 75%);
  max-width: none;
  height: auto;
  opacity: .1;
  pointer-events: none;
  z-index: 0;
}
.club-intro__content{ position: relative; z-index: 1; width: 100%; }
.club-intro__content > *{ max-width: 560px; }

.club-panel{ overflow: hidden; background: var(--dark); }
.club-panel__bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.club-panel::after{
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(20,18,10,.15) 0%, rgba(20,18,10,.15) 45%, rgba(20,18,10,.6) 55%, rgba(20,18,10,.65) 100%);
  pointer-events: none;
}
.club-panel--left::after{
  background: linear-gradient(270deg, rgba(20,18,10,.15) 0%, rgba(20,18,10,.15) 45%, rgba(20,18,10,.6) 55%, rgba(20,18,10,.65) 100%);
}
.club-panel__grid{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  min-height: clamp(640px, 100vh, 1000px);
}
.club-panel__text{
  grid-column: 2;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: 72px;
  max-width: 520px;
}
.club-panel--left .club-panel__text{ grid-column: 1; }
@media (max-width: 899px){
  .club-intro__bg{ width: 140%; right: -40%; top: -5%; }
  .club-panel::after,
  .club-panel--left::after{ background: rgba(20,18,10,.55); }
  .club-panel__grid{ grid-template-columns: 1fr; min-height: 640px; }
  .club-panel__text,
  .club-panel--left .club-panel__text{ grid-column: 1; }
}

.section--paper{
  background-color: #EDEEE9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .31 0 0 0 0 .24 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}
/* Home: faixas ajustadas à referência do Framer */
.club-intro__content .display{ max-width: 720px; }
.club-panel--banner{ margin-block: 300px; }
/* linha fina vertical sobre a foto, como no Framer: 80px fora do centro */
.club-panel::before{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(50% - 80px);
  width: 1px;
  background: rgba(255,255,255,.28);
  z-index: 1;
  pointer-events: none;
}
.club-panel--left::before{ left: calc(50% + 80px); }
.club-panel--banner::after{
  background: linear-gradient(90deg, rgba(20,18,10,.55) 0%, rgba(20,18,10,.35) 50%, rgba(20,18,10,.1) 100%);
}
.club-panel--banner .club-panel__text{ padding-block: 48px; }

.category-grid img{ aspect-ratio: 3 / 2; }
.category-grid span{ font-size: 16px; color: var(--olive-70); line-height: 1.5; }

.space-head{ margin-bottom: 40px; }
.space-head .display{ margin-bottom: 12px; }
.space-head .lede{ max-width: 520px; }
.space-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.space-grid__col{ display: grid; grid-template-rows: 1fr 1.42fr; gap: 12px; aspect-ratio: 3 / 5.1; }
.space-grid__col--tall-first{ grid-template-rows: 1.42fr 1fr; }
.space-grid img{ width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); display: block; min-height: 0; }

.split{ align-items: stretch; }
.split__photo{ width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: var(--radius); display: block; }
.split__text{ display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.split__text .btn-link{ align-self: flex-start; }
.split__name{ font-size: 24px; font-weight: 500; color: var(--olive); margin: 0 0 8px; }
.split__figure{ position: relative; margin: 0; }
.split__badge{ position: absolute; left: 14px; bottom: 14px; width: 48px; height: auto; background: #fff; padding: 4px; border-radius: 2px; }

.stats-row--lined{
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(82,81,62,.18);
  border-bottom: 1px solid rgba(82,81,62,.18);
}
.stats-row--lined .stat{ padding-block: 28px; }
.stats-row--lined .stat + .stat{ border-left: 1px solid rgba(82,81,62,.18); }
.stats-row--lined .stat__number{ font-size: 26px; font-weight: 400; }
.stats-row--lined .stat__label{ font-size: 10px; letter-spacing: .16em; }

.cta{ padding-block: 200px; }

@media (max-width: 899px){
  .club-panel--banner{ margin-block: 120px; }
  .club-panel::before{ display: none; }
  .space-grid{ grid-template-columns: 1fr 1fr; }
  .split .split__figure,
  .split > .split__photo{ order: -1; }
  .stats-row--lined .stat + .stat{ border-left: 0; border-top: 1px solid rgba(82,81,62,.18); }
  .cta{ padding-block: 120px; }
}

.footer-contact{ grid-column: 3; font-size: 13px; }
.footer-legal{
  display: flex; justify-content: center; gap: 24px;
  margin-top: 40px; font-size: 12px;
}
.footer-legal a{ color: var(--olive-70); text-decoration: none; }
.footer-legal a:hover{ opacity: .5; }
.split > .split__photo{ align-self: start; }
@media (max-width: 899px){
  .footer-contact{ grid-column: 1; }
}

/* Painel de serviços da Home: foto em largura total com 3 colunas */
.services-jump{
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  width: max-content; margin: 72px auto 0;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--olive); text-decoration: none;
}
.services-jump:hover{ opacity: .5; }
.services-panel{
  position: relative;
  min-height: min(100vh, 820px);
  overflow: hidden;
  background: var(--dark);
  color: var(--cream-text);
}
.services-panel__bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .8s var(--spring-ease), transform 1.2s var(--spring-ease);
}
.services-panel__bg.is-active{ opacity: 1; transform: scale(1); }
.services-panel::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,12,.35) 0%, rgba(20,18,12,.45) 100%);
  pointer-events: none;
}
.services-panel__grid{
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  min-height: inherit;
}
.services-panel__item{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 32px;
  text-align: center;
  border-left: 1px solid rgba(239,240,234,.18);
  cursor: pointer;
  outline: none;
}
.services-panel__item:first-child{ border-left: 0; }
.services-panel__item h3{
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  color: rgba(239,240,234,.5);
  transition: color .4s ease;
}
.services-panel__item.is-active h3{ color: var(--cream-text); }
.services-panel__body{
  max-width: 320px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s var(--spring-ease), opacity .5s ease;
}
.services-panel__item.is-active .services-panel__body{ max-height: 320px; opacity: 1; }
.services-panel__body p{ margin: 16px 0 24px; font-size: 14px; line-height: 1.6; }
.services-panel__link{
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream-text); text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.services-panel__link:hover{ opacity: .6; }
@media (max-width: 899px){
  .services-panel__grid{ grid-template-columns: 1fr; }
  .services-panel__item{ border-left: 0; border-top: 1px solid rgba(239,240,234,.18); padding: 56px 24px; }
  .services-panel__item:first-child{ border-top: 0; }
  .services-panel__item h3{ color: var(--cream-text); }
  .services-panel__body{ max-height: none; opacity: 1; }
}

.service-intro{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.service-intro__photo{ width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.service-intro .lede{ max-width: none; }

.ticker{ overflow: hidden; margin-top: 48px; }
.ticker__track{
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ticker 45s linear infinite;
}
.ticker:hover .ticker__track{ animation-play-state: paused; }
.ticker__track img{ height: 360px; width: auto; border-radius: var(--radius); object-fit: cover; flex: 0 0 auto; }
@keyframes ticker{ to{ transform: translateX(calc(-50% - 8px)); } }

.map{ display: block; width: 100%; height: 420px; border: 0; border-radius: var(--radius); margin-top: 40px; }

.event-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.event-card{ display: block; color: var(--olive); text-decoration: none; transition: opacity .2s ease; }
.event-card:hover{ opacity: .7; }
.event-card img{ width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.event-card h3{ font-size: 22px; font-weight: 500; margin: 0 0 8px; }
.event-card p{ margin: 0; color: var(--olive-70); font-size: 15px; }

.feature__cards--overlay{
  background-size: cover;
  background-position: center;
  background-color: rgba(20,18,10,.72);
  background-blend-mode: multiply;
}

/* ---------- Responsivo ----------
   Breakpoints do Framer: Desktop ≥1400, Desktop 2 1200–1399, Phone <1200. */
@media (max-width: 1399px){
  .cards-grid{ gap: 40px; }
  .two-col{ gap: 48px; }
}

@media (max-width: 1199px){
  .main-nav{ display: none; }
  .info-overlay__nav{ display: flex; }
  .info-overlay__grid,
  .info-overlay__blocks{ grid-template-columns: 1fr; }
  .info-overlay__grid{ gap: 40px; }

  .cards-grid,
  .cards-grid--3,
  .cards-grid--4,
  .cards-grid--2{ grid-template-columns: 1fr; gap: 32px; }
  .footer-inner{ grid-template-columns: 1fr; text-align: center; }
  .footer-contact{ align-items: center; text-align: center; margin-left: 0; }
  .two-col{ grid-template-columns: 1fr; gap: 40px; }
  .category-list,
  .category-list--full{ grid-template-columns: 1fr; }
  .stats-row{ grid-template-columns: 1fr; gap: 24px; }
  .ecosystem-list li{ flex-direction: column; gap: 4px; }
  .ecosystem-list__desc{ text-align: left; }

  .category-grid,
  .event-grid,
  .service-intro{ grid-template-columns: 1fr; }
  .gallery__track img{ height: 300px; }
  .ticker__track img{ height: 240px; }
  .feature__illustration{ width: 70%; opacity: .2; }
  .essence{ min-height: calc(100vw * 0.769 + 120px); }
  .essence__bg{ width: 100vw; top: 50%; transform: translate(-50%, -50%); }
  .map{ height: 320px; }

  .hero__content{ padding-block: 140px 64px; }
  .feature__content{ padding-block: 100px 56px; }
  .section{ padding-block: 72px; }
  .section--top{ padding-block: 140px 64px; }
  .cta{ padding-block: 96px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .js [data-appear]{ opacity: 1; transform: none; transition: none; }
  .loader{ display: none; }
  body.has-loader{ overflow: auto; }
  .ticker__track{ animation: none; }
  .info-overlay,
  .menu-toggle span,
  .main-nav a,
  .btn-link{ transition: none; }
}
