/* =========================================================
   ESTÚDIO FILME — Design System (art-directed / premium)
   Base clara (creme + oliva + dourado) com seções
   cinematográficas escuras. Detalhes técnicos e editoriais.
   Mobile-first. Media queries ao final.
   ========================================================= */

:root {
  --cream: #F4EFE4;
  --cream-2: #EBE3D2;
  --paper: #FFFFFF;
  --ink: #1B1D0E;          /* quase-preto oliva (seções escuras) */
  --ink-2: #262913;
  --oliva: #33361A;
  --musgo: #565A2E;
  --sage: #97A07A;
  --gold: #B78E22;
  --gold-2: #C6A02E;
  --gold-soft: #E4CE86;
  --gold-bright: #F0C030;
  --text: #3A3C2C;
  --muted: #6D6E56;
  --muted-light: rgba(244, 239, 228, .62);
  --line: rgba(51, 54, 26, .16);
  --line-2: rgba(51, 54, 26, .3);
  --line-light: rgba(244, 239, 228, .16);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;

  --container: 1280px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 80px rgba(27, 29, 14, .18);
  --shadow-soft: 0 18px 44px rgba(27, 29, 14, .12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-weight: 300; background: var(--cream); color: var(--text);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--oliva); font-weight: 500; line-height: 1.08; }
::selection { background: var(--gold-soft); color: var(--oliva); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---- Rótulos técnicos ---- */
.eyebrow {
  font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .3em;
  font-size: .68rem; color: var(--gold); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.eyebrow.on-dark { color: var(--gold-soft); }
.gold { color: var(--gold); }
.serif-it { font-family: var(--serif); font-style: italic; }

/* ---- Botões ---- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans); font-weight: 500; font-size: .76rem; text-transform: uppercase; letter-spacing: .18em;
  padding: 17px 34px; border-radius: 1px; cursor: pointer; overflow: hidden; isolation: isolate;
  border: 1px solid var(--oliva); color: var(--oliva); background: transparent; min-height: 54px;
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--oliva); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
.btn:hover, .btn:focus-visible { color: var(--cream); }
.btn-solid { background: var(--oliva); color: var(--cream); }
.btn-solid::before { background: var(--musgo); transform: scaleY(1); transform-origin: top; opacity: 0; transition: opacity .4s var(--ease); }
.btn-solid:hover::before { opacity: 1; transform: scaleY(1); }
.btn-solid:hover { color: var(--cream); }
.btn-gold { border-color: var(--gold-bright); background: var(--gold-bright); color: #3a2c04; }
.btn-gold::before { background: var(--gold-soft); }
.btn-gold:hover { color: #3a2c04; }
.on-dark .btn, .cta .btn, .filmband .btn, .subhero .btn { border-color: rgba(244, 239, 228, .5); color: var(--cream); }
.on-dark .btn::before, .cta .btn::before, .filmband .btn::before, .subhero .btn::before { background: var(--cream); }
.on-dark .btn:hover, .cta .btn:hover, .filmband .btn:hover, .subhero .btn:hover { color: var(--oliva); }
.subhero .btn-solid { background: var(--gold-bright); border-color: var(--gold-bright); color: #3a2c04; }
.subhero .btn-solid::before { background: var(--gold-soft); }
.subhero .btn-solid:hover { color: #3a2c04; }
.btn-lg { padding: 19px 42px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ---- Link com underline animado ---- */
.link {
  position: relative; font-family: var(--sans); text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--oliva); padding-bottom: 3px;
}
.link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.link:hover::after { transform: scaleX(1); }
.link .arw { display: inline-block; transition: transform .4s var(--ease); }
.link:hover .arw { transform: translateX(6px); }

/* =========================================================
   PRELOADER · PROGRESSO · GRÃO
   ========================================================= */
#preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--cream);
  display: grid; place-items: center; transition: opacity .7s var(--ease), visibility .7s;
}
#preloader img { height: 54px; opacity: 0; animation: preIn 1s var(--ease) forwards; }
#preloader .pre-line { position: absolute; bottom: 34%; left: 50%; transform: translateX(-50%); width: 0; height: 1px; background: var(--gold); animation: preLine 1.1s var(--ease) .2s forwards; }
@keyframes preIn { to { opacity: 1; } }
@keyframes preLine { to { width: 140px; } }
body.loaded #preloader { opacity: 0; visibility: hidden; }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); z-index: 150; transition: width .1s linear; }

.grain { position: fixed; inset: 0; z-index: 4; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease); border-bottom: 1px solid transparent; }
.navbar.scrolled { background: rgba(244, 239, 228, .92); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo img { height: 46px; width: auto; transition: filter .4s var(--ease); }
/* logo invertida (clara) sobre hero escuro */
.navbar.over-hero .nav-logo img { filter: brightness(0) invert(1) sepia(.3) saturate(2) hue-rotate(5deg) brightness(1.05); }
.navbar.over-hero.scrolled .nav-logo img { filter: none; }

.nav-toggle { width: 46px; height: 46px; background: none; border: none; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; z-index: 110; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--oliva); transition: transform .3s var(--ease), opacity .3s var(--ease), background .4s; }
.navbar.over-hero:not(.scrolled) .nav-toggle span { background: var(--cream); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-menu { position: fixed; inset: 0 0 0 auto; width: min(86vw, 380px); background: var(--ink); border-left: 1px solid var(--line-light);
  padding: calc(var(--nav-h) + 34px) 38px 40px; transform: translateX(100%); transition: transform .5s var(--ease); display: flex; box-shadow: var(--shadow); }
.nav-menu.open { transform: translateX(0); }
.nav-menu ul { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.nav-menu a { display: flex; align-items: baseline; gap: 12px; padding: 15px 4px; font-family: var(--serif); font-size: 1.5rem; color: var(--cream); border-bottom: 1px solid var(--line-light); transition: color .3s, padding-left .3s var(--ease); }
.nav-menu a .idx { font-family: var(--sans); font-size: .62rem; letter-spacing: .1em; color: var(--gold-soft); }
.nav-menu a:hover { color: var(--gold-bright); padding-left: 12px; }
.nav-menu a.nav-cta { margin-top: 22px; border: 1px solid var(--gold-soft); justify-content: center; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; padding: 15px; color: var(--gold-soft); }
.nav-menu a.nav-cta:hover { background: var(--gold-bright); color: var(--ink); padding-left: 15px; }

/* menu horizontal (desktop) — cor adapta sobre hero */
.nav-desk a { color: var(--oliva); }
.navbar.over-hero:not(.scrolled) .nav-desk a:not(.nav-cta) { color: var(--cream); }

.nav-backdrop { position: fixed; inset: 0; background: rgba(27, 29, 14, .5); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .5s; }
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* =========================================================
   HERO (editorial)
   ========================================================= */
.hero { position: relative; background: var(--ink); color: var(--cream); overflow: hidden; padding: calc(var(--nav-h) + 56px) 0 40px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; transform: scale(1.08); filter: saturate(.9); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,29,14,.7) 0%, rgba(27,29,14,.55) 40%, rgba(27,29,14,.92) 100%); }
.hero-inner { position: relative; z-index: 2; }
.hero-kicker { display: flex; justify-content: space-between; align-items: center; padding-bottom: 46px; border-bottom: 1px solid var(--line-light); }
.hero-kicker .tag { font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: .66rem; color: var(--muted-light); }
.hero-kicker .rec { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: .66rem; color: var(--cream); }
.hero-kicker .rec i { width: 9px; height: 9px; border-radius: 50%; background: #d64b3f; animation: blink 1.6s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.hero-title { margin: 44px 0 0; font-size: clamp(2.9rem, 11vw, 7rem); font-weight: 500; line-height: .98; letter-spacing: -.015em; color: var(--cream); }
.hero-title em { font-style: italic; color: var(--gold-soft); }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero-title .word span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); }
.hero.lit .hero-title .word span { transform: none; }
.hero-foot { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 48px; align-items: end; }
.hero-foot p { max-width: 460px; color: var(--muted-light); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: .6rem; color: var(--muted-light); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--gold-soft), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---- Marquee ---- */
.marquee { background: var(--gold-bright); color: var(--ink); overflow: hidden; padding: 16px 0; }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marq 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: 1.5rem; padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; }
.marquee span::after { content: "✦"; font-size: .8rem; font-style: normal; }
@keyframes marq { to { transform: translateX(-50%); } }

/* =========================================================
   SEÇÕES GENÉRICAS
   ========================================================= */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--cream-2); }
.section.dark { background: var(--ink); color: var(--cream); }
.sol-link { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; color: var(--gold); transition: color .3s; }
.sol-link::after { content: " →"; }
.related-card:hover .sol-link { color: var(--musgo); }
.section.dark h2, .section.dark h3 { color: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); font-weight: 500; letter-spacing: -.01em; }
.section-head h2 em { font-style: italic; color: var(--gold); }
.section-head .lead { margin-top: 20px; color: var(--muted); font-size: 1.06rem; }
.section.dark .section-head .lead { color: var(--muted-light); }

/* cantos técnicos */
.corners { position: absolute; inset: -9px; pointer-events: none; }
.corners i { position: absolute; width: 16px; height: 16px; border: 1px solid var(--gold); }
.corners i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.corners i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.corners i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.corners i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* =========================================================
   MANIFESTO + ÍNDICE NUMÉRICO
   ========================================================= */
.manifesto p { font-family: var(--serif); font-size: clamp(1.5rem, 4.5vw, 2.5rem); line-height: 1.32; color: var(--oliva); font-weight: 500; max-width: 940px; }
.manifesto p .dropcap { float: left; font-size: 4.6em; line-height: .7; padding: 8px 14px 0 0; color: var(--gold); font-style: italic; }
.index-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 64px; }
.index-cell { background: var(--cream); padding: 30px 24px; }
.index-cell .n { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--oliva); line-height: 1; }
.index-cell .n em { font-style: italic; color: var(--gold); }
.index-cell .l { display: block; margin-top: 8px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; color: var(--muted); }

/* =========================================================
   AMBIENTES (linhas editoriais alternadas)
   ========================================================= */
.amb { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; }
.amb-row { display: grid; grid-template-columns: 1fr; align-items: center; gap: 30px; padding: 46px 0; border-top: 1px solid var(--line); }
.amb-row:last-child { border-bottom: 1px solid var(--line); }
.amb-media { position: relative; overflow: hidden; }
.amb-media .ph { overflow: hidden; }
.amb-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.1s var(--ease); }
.amb-row:hover .amb-media img { transform: scale(1.05); }
.amb-media .cap { position: absolute; left: 14px; bottom: 14px; z-index: 3; background: rgba(27, 29, 14, .72); color: var(--cream); backdrop-filter: blur(4px); padding: 8px 15px; font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; }
.amb-body { position: relative; }
.amb-index { font-family: var(--serif); font-size: clamp(3rem, 9vw, 5.4rem); font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); letter-spacing: -.02em; }
.amb-body h3 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 500; margin-top: 6px; }
.amb-body p { margin-top: 14px; color: var(--muted); max-width: 460px; }
.amb-meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.amb-tag { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; color: var(--musgo); padding: 6px 13px; border: 1px solid var(--line); border-radius: 40px; }

/* =========================================================
   BANDA CINEMATOGRÁFICA (full-bleed + parallax)
   ========================================================= */
.filmband { position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center; color: var(--cream); overflow: hidden; }
.filmband .bg { position: absolute; inset: -12% 0; z-index: 0; }
.filmband .bg img { width: 100%; height: 124%; object-fit: cover; }
.filmband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,29,14,.6), rgba(27,29,14,.82)); z-index: 1; }
.filmband .inner { position: relative; z-index: 2; max-width: 960px; padding: 100px 24px; }
.filmband blockquote { font-family: var(--serif); font-size: clamp(1.8rem, 5.5vw, 3.4rem); font-style: italic; font-weight: 500; line-height: 1.28; }
.filmband cite { display: block; margin-top: 30px; font-family: var(--sans); font-style: normal; text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; color: var(--gold-soft); }

/* =========================================================
   SOLUÇÕES
   ========================================================= */
.sol-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sol-card { position: relative; background: var(--cream); padding: 40px 30px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; transition: background .5s var(--ease); overflow: hidden; }
.sol-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.sol-card:hover { background: var(--paper); }
.sol-card:hover::after { transform: scaleX(1); }
.sol-num { font-family: var(--sans); font-size: .66rem; letter-spacing: .2em; color: var(--gold); }
.sol-card h3 { font-size: 1.9rem; font-weight: 500; }
.sol-card p { color: var(--muted); font-size: .96rem; flex: 1; }

/* =========================================================
   PROCESSO
   ========================================================= */
.proc-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.proc-item { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line-light); }
.proc-item:last-child { border-bottom: 1px solid var(--line-light); }
.proc-n { font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--gold-soft); line-height: 1; }
.proc-item h3 { font-size: 1.5rem; font-weight: 500; }
.proc-item p { margin-top: 6px; color: var(--muted-light); max-width: 520px; }

/* =========================================================
   GALERIA (bastidores)
   ========================================================= */
.gallery { columns: 1; column-gap: 16px; }
.g-item { position: relative; break-inside: avoid; margin-bottom: 16px; overflow: hidden; }
.g-item img { width: 100%; display: block; transition: transform 1s var(--ease), filter .6s var(--ease); filter: saturate(.9); }
.g-item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.g-item figcaption { position: absolute; left: 12px; bottom: 12px; color: var(--cream); font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .62rem; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.g-item:hover figcaption { opacity: 1; transform: none; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 26px 44px 26px 40px; position: relative; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--oliva); transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: counter(faq, decimal-leading-zero); counter-increment: faq; position: absolute; left: 0; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-size: .66rem; letter-spacing: .1em; color: var(--gold); }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--gold); transition: transform .35s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--musgo); }
.faq-item p { padding: 0 40px 26px; color: var(--muted); font-size: 1rem; }
.faq-list { counter-reset: faq; }

/* =========================================================
   LOCALIZAÇÃO
   ========================================================= */
.location-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.location-info { font-style: normal; background: var(--paper); border: 1px solid var(--line); padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.loc-item { display: flex; flex-direction: column; }
.loc-item strong { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .18em; font-size: .64rem; color: var(--gold); margin-bottom: 6px; }
.loc-item a:hover { color: var(--gold); }
.map-wrap { position: relative; border: 1px solid var(--line); overflow: hidden; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.4) sepia(.15) contrast(1.02); }

/* =========================================================
   CTA
   ========================================================= */
.cta { position: relative; padding: 120px 0; text-align: center; background: var(--ink); color: var(--cream); overflow: hidden; }
.cta .bg { position: absolute; inset: 0; z-index: 0; opacity: .16; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta .inner { position: relative; z-index: 2; }
.cta h2 { color: var(--cream); font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 500; }
.cta h2 em { font-style: italic; color: var(--gold-soft); }
.cta p { max-width: 540px; margin: 22px auto 36px; color: var(--muted-light); }

/* =========================================================
   SUBPÁGINAS (subhero / breadcrumb / related)
   ========================================================= */
.subhero { position: relative; background: var(--ink); color: var(--cream); padding: calc(var(--nav-h) + 70px) 0 66px; overflow: hidden; }
.subhero .bg { position: absolute; inset: 0; z-index: 0; }
.subhero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; transform: scale(1.05); }
.subhero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,29,14,.7), rgba(27,29,14,.92)); }
.subhero .container { position: relative; z-index: 2; }
.subhero .eyebrow { margin-bottom: 22px; color: var(--gold-soft); }
.subhero h1 { color: var(--cream); font-size: clamp(2.4rem, 8vw, 4.4rem); font-weight: 500; max-width: 800px; letter-spacing: -.01em; }
.subhero h1 em { font-style: italic; color: var(--gold-soft); }
.subhero p.lead { margin-top: 22px; font-size: 1.08rem; color: var(--muted-light); max-width: 640px; }
.subhero .hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 9px; font-family: var(--sans); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted-light); }
.breadcrumb li { display: flex; gap: 9px; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--gold-soft); }
.breadcrumb a:hover { color: var(--gold-soft); }

.exp-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.exp-item { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid var(--line); align-items: start; }
.exp-item:last-child { border-bottom: 1px solid var(--line); }
.exp-num { font-family: var(--serif); font-style: italic; font-size: 1.9rem; color: var(--gold); line-height: 1; }
.exp-item h3 { font-size: 1.4rem; font-weight: 500; }
.exp-item p { margin-top: 6px; color: var(--muted); }

.studio-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.studio-card { position: relative; background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.studio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.studio-img { overflow: hidden; aspect-ratio: 3 / 2; }
.studio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); filter: saturate(.92); }
.studio-card:hover .studio-img img { transform: scale(1.05); }
.studio-body { padding: 24px 24px 28px; }
.studio-body h3 { font-size: 1.5rem; font-weight: 500; }
.studio-body p { margin-top: 8px; color: var(--muted); font-size: .95rem; }
.studio-tag { display: inline-block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; color: var(--musgo); }

.related-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.related-card { position: relative; background: var(--cream); border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; transition: background .5s var(--ease); overflow: hidden; }
.related-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.related-card:hover { background: var(--paper); }
.related-card:hover::after { transform: scaleX(1); }
.related-card h3 { font-size: 1.5rem; font-weight: 500; }
.related-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--cream); padding-top: 84px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 54px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1) sepia(.25) saturate(2.5) hue-rotate(5deg) brightness(1.05); }
.footer-brand p { color: var(--muted-light); max-width: 340px; font-size: .96rem; }
.footer h4 { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .2em; font-size: .66rem; color: var(--gold-soft); margin-bottom: 20px; }
.footer-nav ul { display: grid; gap: 12px; }
.footer-nav a, .footer-contact a { color: var(--muted-light); transition: color .3s; font-size: .98rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold-bright); }
.footer-address { font-style: normal; }
.footer-address p { margin-bottom: 10px; color: var(--muted-light); font-size: .95rem; }
.footer-contact .btn { margin-top: 10px; }
.footer-bottom { padding: 26px 0; }
.footer-bottom .fb-inner { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.footer-bottom p { color: var(--muted-light); font-size: .78rem; letter-spacing: .05em; }

/* =========================================================
   FLUTUANTES
   ========================================================= */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 95; display: inline-flex; align-items: center; gap: 10px; background: var(--oliva); color: var(--cream);
  padding: 14px 20px; border-radius: 40px; box-shadow: var(--shadow-soft); font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; transition: background .3s var(--ease), transform .3s var(--ease); }
.whatsapp-float:hover { background: var(--musgo); transform: translateY(-2px); }
.whatsapp-float svg { width: 19px; height: 19px; fill: currentColor; }
.whatsapp-float .wf-label { display: none; }
.to-top { position: fixed; left: 22px; bottom: 22px; z-index: 95; width: 46px; height: 46px; border: 1px solid var(--line-2); background: var(--cream); color: var(--oliva); display: grid; place-items: center; border-radius: 50%; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .4s var(--ease); cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--oliva); color: var(--cream); }

/* =========================================================
   ANIMAÇÕES
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out); }
.reveal-img.in-view { clip-path: inset(0 0 0 0); }
.reveal-img img { transform: scale(1.14); transition: transform 1.4s var(--ease-out); }
.reveal-img.in-view img { transform: scale(1); }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .reveal-img img { transform: none; }
  .hero-title .word span { transform: none; }
}

/* =========================================================
   MEDIA QUERIES
   ========================================================= */
@media (min-width: 620px) {
  .index-row { grid-template-columns: repeat(4, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .studio-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { columns: 2; }
  .whatsapp-float .wf-label { display: inline; }
  .hero-foot { grid-template-columns: 1fr auto; }
}

@media (min-width: 700px) {
  .exp-grid { grid-template-columns: 1fr 1fr; column-gap: 46px; }
  .exp-item { border-top: 1px solid var(--line); }
}

@media (min-width: 960px) {
  :root { --nav-h: 88px; }
  .nav-toggle { display: none; }
  .nav-menu { position: static; width: auto; transform: none; background: none; border: none; padding: 0; box-shadow: none; }
  .nav-menu ul { flex-direction: row; align-items: center; gap: 4px; }
  .nav-menu a { border: none; font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; padding: 10px 15px; color: var(--oliva); }
  .navbar.over-hero:not(.scrolled) .nav-menu a:not(.nav-cta) { color: var(--cream); }
  .nav-menu a .idx { display: none; }
  .nav-menu a:hover { padding-left: 15px; color: var(--gold); }
  .nav-menu a.nav-cta { margin-top: 0; margin-left: 12px; border: 1px solid var(--oliva); color: var(--oliva); padding: 12px 24px; border-radius: 1px; }
  .navbar.over-hero:not(.scrolled) .nav-menu a.nav-cta { border-color: var(--gold-soft); color: var(--gold-soft); }
  .nav-menu a.nav-cta:hover { background: var(--oliva); color: var(--cream); }
  .navbar.over-hero:not(.scrolled) .nav-menu a.nav-cta:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--ink); }
  .nav-logo img { height: 50px; }

  .section { padding: 130px 0; }
  .hero { min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); }
  .amb-row { grid-template-columns: 1.05fr .95fr; gap: 60px; padding: 66px 0; }
  .amb-row.rev .amb-media { order: 2; }
  .amb-media img { aspect-ratio: 4 / 3; }
  .index-row { grid-template-columns: repeat(4, 1fr); }
  .sol-grid { grid-template-columns: repeat(4, 1fr); }
  .studio-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { columns: 3; }
  .location-grid { grid-template-columns: .82fr 1.18fr; gap: 34px; }
  .map-wrap iframe { height: 100%; min-height: 440px; }
  .footer-top { grid-template-columns: 1.7fr 1fr 1.3fr; gap: 54px; }
  .footer-bottom .fb-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .to-top { width: 50px; height: 50px; }
}

@media (min-width: 1200px) {
  .hero-title { font-size: 7.4rem; }
}
